IMaterial_DG Interface
Access to atributes of material.
IMaterial_DG can obtained via IEntity_DG > GetAppearance() > IMaterial_DG.
Implements also: IAppearance_DG, ITexture_DG.
See also Object Array Sample,
Interface List
Properties
- float Shininess
- bool UseForWire
- Color WireFrameColor
- bool LightingEnabled
- bool UseGlobalWireColor
- bool CastsShadows
- bool ReceivesShadows
Methods
- GetColor
- SetColor
- GetTexture
- AttachTexture
- AttachSurfaceTexture
Color GetColor(LightComponent_DG component)
void SetColor(LightComponent_DG component, Color clr)
ITexture_DG GetTexture(bool create)
void AttachTexture(ITexture_DG texture)
void AttachSurfaceTexture(IObject_DG surface, ITexture_DG texture)
|