All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::StandardMaterial Class Reference

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< ColorRGBAGlobalAmbientProperty
 GlobalAmbient property. More...
 
static PropertyType< ColorRGBAAmbientProperty
 Ambient property. More...
 
static PropertyType< ColorRGBADiffuseProperty
 Diffuse property. More...
 
static PropertyType< ColorRGBAEmissiveProperty
 Emissive property. More...
 
static PropertyType< ColorRGBASpecularColorProperty
 SpecularColor property. More...
 
static PropertyType< float > SpecularExponentProperty
 SpecularExponent property. More...
 
static PropertyType< ResourceIDTextureProperty
 Texture property. More...
 
static PropertyType< float > BlendIntensityProperty
 BlendIntensity property. More...
 
static PropertyType
< GraphicsBlendMode
BlendModeProperty
 BlendMode property. More...
 
static PropertyType< ResourceIDGlyphTextureProperty
 GlyphTexture property. More...
 

Detailed Description

Contains property types of Standard material.

Member Function Documentation

static PropertyTypeEditorInfoSharedPtr kanzi::StandardMaterial::makeEditorInfo ( )
static
static ColorRGBA kanzi::StandardMaterial::getGlobalAmbientColor ( const Object object)
inlinestatic

Gets the value of GlobalAmbient property of object.

Parameters
objectAn object.
Returns
Returns value of the GlobalAmbient property.
static void kanzi::StandardMaterial::setGlobalAmbientColor ( Object object,
ColorRGBA  value 
)
inlinestatic

Sets the value of GlobalAmbient property of object.

Parameters
objectAn object.
valueValue of GlobalAmbientColor property.
static ColorRGBA kanzi::StandardMaterial::getAmbientColor ( const Object object)
inlinestatic

Gets the value of Ambient property of object.

Parameters
objectAn object.
Returns
Returns value of the AmbientColor property.
static void kanzi::StandardMaterial::setAmbientColor ( Object object,
ColorRGBA  value 
)
inlinestatic

Sets the value of Ambient property of object.

Parameters
objectAn object.
valueValue of Ambient property.
static ColorRGBA kanzi::StandardMaterial::getDiffuseColor ( const Object object)
inlinestatic

Gets the value of Diffuse property of object.

Parameters
objectAn object.
Returns
Returns value of the Diffuse property.
static void kanzi::StandardMaterial::setDiffuseColor ( Object object,
ColorRGBA  value 
)
inlinestatic

Sets the value of Diffuse property of object.

Parameters
objectAn object.
valueValue of Diffuse property.
static ColorRGBA kanzi::StandardMaterial::getEmissiveColor ( const Object object)
inlinestatic

Gets the value of Emissive property of object.

Parameters
objectAn object.
Returns
Returns value of the Emissive property.
static void kanzi::StandardMaterial::setEmissiveColor ( Object object,
ColorRGBA  value 
)
inlinestatic

Sets the value of Emissive property of object.

Parameters
objectAn object.
valueValue of Emissive property.
static ColorRGBA kanzi::StandardMaterial::getSpecularColor ( const Object object)
inlinestatic

Gets the value of SpecularColor property of object.

Parameters
objectAn object.
Returns
Returns value of the SpecularColor property.
static void kanzi::StandardMaterial::setSpecularColor ( Object object,
ColorRGBA  value 
)
inlinestatic

Sets the value of SpecularColor property of object.

Parameters
objectAn object.
valueValue of SpecularColor property.
static float kanzi::StandardMaterial::getSpecularExponent ( const Object object)
inlinestatic

Gets the value of SpecularExponent property of object.

Parameters
objectAn object.
Returns
Returns value of the SpecularExponent property.
static void kanzi::StandardMaterial::setSpecularExponent ( Object object,
float  value 
)
inlinestatic

Sets the value of SpecularExponent property of object.

Parameters
objectAn object.
valueValue of SpecularExponent property.
static ResourceID kanzi::StandardMaterial::getTexture ( const Object object)
inlinestatic

Gets the value of Texture property of object.

Parameters
objectAn object.
Returns
Returns value of the Texture property.
static void kanzi::StandardMaterial::setTexture ( Object object,
ResourceID  value 
)
inlinestatic

Sets the value of Texture property of object.

Parameters
objectAn object.
valueValue of Texture property.

Member Data Documentation

PropertyType<ColorRGBA> kanzi::StandardMaterial::GlobalAmbientProperty
static

GlobalAmbient property.

The default value is ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f).

See also
setGlobalAmbient(), getGlobalAmbient()
PropertyType<ColorRGBA> kanzi::StandardMaterial::AmbientProperty
static

Ambient property.

The default value is ColorRGBA(0.2f, 0.2f, 0.2f, 1.0f).

See also
setAmbient(), getAmbient()
PropertyType<ColorRGBA> kanzi::StandardMaterial::DiffuseProperty
static

Diffuse property.

The default value is ColorRGBA(0.8f, 0.8f, 0.8f, 1.0f).

See also
setDiffuse(), getDiffuse()
PropertyType<ColorRGBA> kanzi::StandardMaterial::EmissiveProperty
static

Emissive property.

The default value is ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f).

See also
setEmissive(), getEmissive()
PropertyType<ColorRGBA> kanzi::StandardMaterial::SpecularColorProperty
static

SpecularColor property.

The default value is ColorRGBA(0.4980392f, 0.4980392f, 0.4980392f, 1.0f).

See also
setSpecularColor(), getSpecularColor()
PropertyType<float> kanzi::StandardMaterial::SpecularExponentProperty
static

SpecularExponent property.

The default value is 50.0f.

See also
setSpecularExponent(), getSpecularExponent()
PropertyType<ResourceID> kanzi::StandardMaterial::TextureProperty
static

Texture property.

The default value is ResourceID().

See also
setTextureResourceID(), getTextureResourceID()
PropertyType<float> kanzi::StandardMaterial::BlendIntensityProperty
static

BlendIntensity property.

The default value is 1.0f.

See also
setBlendIntensity(), getBlendIntensity()
PropertyType<GraphicsBlendMode> kanzi::StandardMaterial::BlendModeProperty
static

BlendMode property.

The default value is GraphicsBlendModeOpaque.

See also
setBlendMode(), getBlendMode()
PropertyType<ResourceID> kanzi::StandardMaterial::GlyphTextureProperty
static

GlyphTexture property.

The default value is ResourceID().

See also
setGlyphTextureResourceID(), getGlyphTextureResourceID()

The documentation for this class was generated from the following file: