![]() |
Murl Engine API
Version 2018.3
|
The IFixedParameters graph node interface. More...
#include <murl_graph_i_fixed_parameters.h>
The IFixedParameters graph node interface.
The IFixedParameters interface provides an easy way to define commonly used fixed parameters such as material color or material shininess, to control the appearance of renderable objects in conjunction with a given material.
Use the Graph::IColored base interface to set or get the predefined lighting component color values, such as ambient, diffuse, specular or emissive material properties.
See the Graph::IParameters base interface for additional information.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual IParameters * | GetParametersInterface ()=0 |
Get the mutable Graph::IParameters interface. More... | |
virtual const IParameters * | GetParametersInterface () const =0 |
Get the constant Graph::IParameters interface. More... | |
virtual IFixedParametersNodeTarget * | GetParentFixedParametersNodeTarget ()=0 |
Get the mutable Graph::IFixedParameters container storing the object's parent. More... | |
virtual const IFixedParametersNodeTarget * | GetParentFixedParametersNodeTarget () const =0 |
Get the constant Graph::IFixedParameters container storing the object's parent. More... | |
virtual UInt32 | GetFixedParametersFlags () const =0 |
Get current flags. More... | |
virtual void | SetShininess (Real shininess)=0 |
Set the material shininess (specular exponent). More... | |
virtual Real | GetShininess () const =0 |
Get the material shininess (specular exponent). More... | |
virtual const Color & | GetModulatedColor (IEnums::LightingComponent component) const =0 |
Get the color value set for a given lighting component, modulated with an optional parent. More... | |
virtual Real | GetModulatedShininess () const =0 |
Get the shininess modulated with an optional parent. More... | |
![]() | |
virtual Bool | SetColor (IEnums::LightingComponent component, const Color &color)=0 |
Set the color value of a given lighting component. More... | |
virtual const Color & | GetColor (IEnums::LightingComponent component) const =0 |
Get the color value set for a given lighting component. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
|
pure virtual |
Get the mutable Graph::IParameters interface.
This method returns a mutable pointer to the node's Graph::IParameters interface, to be able to query or modify common parameter properties.
|
pure virtual |
Get the constant Graph::IParameters interface.
This method returns a constant pointer to the node's Graph::IParameters interface, to be able to query common parameter properties.
|
pure virtual |
Get the mutable Graph::IFixedParameters container storing the object's parent.
This method returns a mutable pointer to the node's Graph::IFixedParameters container that stores an optional reference to another fixed parameters object, to set or query the object's parent.
|
pure virtual |
Get the constant Graph::IFixedParameters container storing the object's parent.
This method returns a constant pointer to the node's Graph::IFixedParameters container that stores an optional reference to another fixed parameters object, to query the object's parent.
|
pure virtual |
Get current flags.
|
pure virtual |
Set the material shininess (specular exponent).
shininess | The shininess value in the range from 0.0 to 128.0 |
|
pure virtual |
Get the material shininess (specular exponent).
|
pure virtual |
Get the color value set for a given lighting component, modulated with an optional parent.
component | The lighting component. |
|
pure virtual |
Get the shininess modulated with an optional parent.