THuiMaterial Struct Reference

struct THuiMaterial

THuiMaterial describes the appearance properties of a surface material. Used with 3D objects.

Public Member Functions
THuiMaterial()
Public Attributes
TRgb iColor
THuiMaterialPreset iPreset
THuiTimedValue iSpecular
THuiImageiSpecularImage
THuiImageiTextureImage
Private Attributes
TInt iSpare1
TInt iSpare2

Constructor & Destructor Documentation

THuiMaterial()

IMPORT_CTHuiMaterial()

Default constructor for initializing the struct.

Member Data Documentation

TRgb iColor

TRgb iColor

Color.

THuiMaterialPreset iPreset

THuiMaterialPreset iPreset

Preset type.

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]

THuiTimedValue iSpecular

THuiTimedValue iSpecular

Strength of specular reflections.

THuiImage iSpecularImage

THuiImageiSpecularImage

Image used as the specular reflection for the surface.

THuiImage iTextureImage

THuiImageiTextureImage

Image used as the texture for the surface.