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
THuiImage iSpecularImage
THuiImage iTextureImage
Private Attributes
TInt iSpare1
TInt iSpare2

Constructor & Destructor Documentation

THuiMaterial()

IMPORT_C THuiMaterial ( )

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

THuiImage iSpecularImage

Image used as the specular reflection for the surface.

THuiImage iTextureImage

THuiImage iTextureImage

Image used as the texture for the surface.