kanzi::StandardMaterial Class Reference

Contains property types of Standard material. More...

#include <kanzi/core.ui/graphics3d/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 ResourceSharedPtr getTexture (const Object &object)
 Gets the value of Texture property of object. More...
 
static void setTexture (Object &object, ResourceSharedPtr 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< ResourceSharedPtrTextureProperty
 Texture property. More...
 
static PropertyType< ResourceSharedPtrMaskTextureProperty
 MaskTexture property. More...
 
static PropertyType< Vector2TextureTilingProperty
 TextureTiling property. More...
 
static PropertyType< Vector2TextureOffsetProperty
 TextureOffset property. More...
 
static PropertyType< Vector2MaskTextureTilingProperty
 MaskTextureTiling property. More...
 
static PropertyType< Vector2MaskTextureOffsetProperty
 MaskTextureOffset property. More...
 
static PropertyType< float > BlendIntensityProperty
 BlendIntensity property. More...
 
static PropertyType< GraphicsBlendModeBlendModeProperty
 BlendMode property. More...
 
static PropertyType< ResourceSharedPtrGlyphTextureProperty
 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 ResourceSharedPtr 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,
ResourceSharedPtr  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<ResourceSharedPtr> kanzi::StandardMaterial::TextureProperty
static

Texture property.

The default value is ResourceSharedPtr().

See also
setTexture(), getTexture()
PropertyType<ResourceSharedPtr> kanzi::StandardMaterial::MaskTextureProperty
static

MaskTexture property.

The default value is ResourceSharedPtr().

See also
setMaskTexture(), getMaskTexture()
PropertyType<Vector2> kanzi::StandardMaterial::TextureTilingProperty
static

TextureTiling property.

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

See also
setTextureTiling(), getTextureTiling()
PropertyType<Vector2> kanzi::StandardMaterial::TextureOffsetProperty
static

TextureOffset property.

The default value is Vector2(0.0f, 0.0f).

See also
setTextureOffset(), getTextureOffset()
PropertyType<Vector2> kanzi::StandardMaterial::MaskTextureTilingProperty
static

MaskTextureTiling property.

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

See also
setMaskTextureTiling(), getMaskTextureTiling()
PropertyType<Vector2> kanzi::StandardMaterial::MaskTextureOffsetProperty
static

MaskTextureOffset property.

The default value is Vector2(0.0f, 0.0f).

See also
setMaskTextureOffset(), getMaskTextureOffset()
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<ResourceSharedPtr> kanzi::StandardMaterial::GlyphTextureProperty
static

GlyphTexture property.

The default value is ResourceSharedPtr().

See also
setGlyphTexture(), getGlyphTexture()

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