Contains property types of Standard material. More...
#include <kanzi/rendering/standard_material.hpp>
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
static ColorRGBA | getGlobalAmbientColor (const Object &object) |
Gets the value of GlobalAmbient property of object. More... | |
static void | setGlobalAmbientColor (Object &object, ColorRGBA value) |
Sets the value of GlobalAmbient property of object. More... | |
static ColorRGBA | getAmbientColor (const Object &object) |
Gets the value of Ambient property of object. More... | |
static void | setAmbientColor (Object &object, ColorRGBA value) |
Sets the value of Ambient property of object. More... | |
static ColorRGBA | getDiffuseColor (const Object &object) |
Gets the value of Diffuse property of object. More... | |
static void | setDiffuseColor (Object &object, ColorRGBA value) |
Sets the value of Diffuse property of object. More... | |
static ColorRGBA | getEmissiveColor (const Object &object) |
Gets the value of Emissive property of object. More... | |
static void | setEmissiveColor (Object &object, ColorRGBA value) |
Sets the value of Emissive property of object. More... | |
static ColorRGBA | getSpecularColor (const Object &object) |
Gets the value of SpecularColor property of object. More... | |
static void | setSpecularColor (Object &object, ColorRGBA value) |
Sets the value of SpecularColor property of object. More... | |
static float | getSpecularExponent (const Object &object) |
Gets the value of SpecularExponent property of object. More... | |
static void | setSpecularExponent (Object &object, float value) |
Sets the value of SpecularExponent property of object. More... | |
static ResourceID | getTexture (const Object &object) |
Gets the value of Texture property of object. More... | |
static void | setTexture (Object &object, ResourceID value) |
Sets the value of Texture property of object. More... | |
Static Public Attributes | |
Properties | |
static PropertyType< ColorRGBA > | GlobalAmbientProperty |
GlobalAmbient property. More... | |
static PropertyType< ColorRGBA > | AmbientProperty |
Ambient property. More... | |
static PropertyType< ColorRGBA > | DiffuseProperty |
Diffuse property. More... | |
static PropertyType< ColorRGBA > | EmissiveProperty |
Emissive property. More... | |
static PropertyType< ColorRGBA > | SpecularColorProperty |
SpecularColor property. More... | |
static PropertyType< float > | SpecularExponentProperty |
SpecularExponent property. More... | |
static PropertyType< ResourceID > | TextureProperty |
Texture property. More... | |
static PropertyType< float > | BlendIntensityProperty |
BlendIntensity property. More... | |
static PropertyType < GraphicsBlendMode > | BlendModeProperty |
BlendMode property. More... | |
static PropertyType< ResourceID > | GlyphTextureProperty |
GlyphTexture property. More... | |
Contains property types of Standard material.
|
static |
|
inlinestatic |
Gets the value of GlobalAmbient property of object.
object | An object. |
|
inlinestatic |
Sets the value of GlobalAmbient property of object.
object | An object. |
value | Value of GlobalAmbientColor property. |
Gets the value of Ambient property of object.
object | An object. |
|
inlinestatic |
Sets the value of Ambient property of object.
object | An object. |
value | Value of Ambient property. |
Gets the value of Diffuse property of object.
object | An object. |
|
inlinestatic |
Sets the value of Diffuse property of object.
object | An object. |
value | Value of Diffuse property. |
Gets the value of Emissive property of object.
object | An object. |
|
inlinestatic |
Sets the value of Emissive property of object.
object | An object. |
value | Value of Emissive property. |
Gets the value of SpecularColor property of object.
object | An object. |
|
inlinestatic |
Sets the value of SpecularColor property of object.
object | An object. |
value | Value of SpecularColor property. |
|
inlinestatic |
Gets the value of SpecularExponent property of object.
object | An object. |
|
inlinestatic |
Sets the value of SpecularExponent property of object.
object | An object. |
value | Value of SpecularExponent property. |
|
inlinestatic |
|
inlinestatic |
|
static |
GlobalAmbient property.
The default value is ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f).
|
static |
Ambient property.
The default value is ColorRGBA(0.2f, 0.2f, 0.2f, 1.0f).
|
static |
Diffuse property.
The default value is ColorRGBA(0.8f, 0.8f, 0.8f, 1.0f).
|
static |
Emissive property.
The default value is ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f).
|
static |
SpecularColor property.
The default value is ColorRGBA(0.4980392f, 0.4980392f, 0.4980392f, 1.0f).
|
static |
SpecularExponent property.
The default value is 50.0f.
|
static |
Texture property.
The default value is ResourceID().
|
static |
BlendIntensity property.
The default value is 1.0f.
|
static |
BlendMode property.
The default value is GraphicsBlendModeOpaque.
|
static |
GlyphTexture property.
The default value is ResourceID().