Description | Hierarchy | Fields | Methods | Properties |
type TAd2dMaterial = record
A record which represents a mesh material.
Diffuse: TAndorraColor; |
Ambient: TAndorraColor; |
Specular: TAndorraColor; |
Emissive: TAndorraColor; |
Power: single; |
Diffuse: TAndorraColor; |
The diffuse color of the material. This is the color that is reflected by the object when light shines on it. For example a object that has a red diffuse color would be black if only blue light shines on it. If white light hits the object, it would appear red. |
Ambient: TAndorraColor; |
The ambient color of the material. The ambient light defines the color that is reflecten when ambient light shines on it. Normally the diffuse and the ambient color are always the same. |
Specular: TAndorraColor; |
Adds a shine effect to the object when light shines on it. Use the power parameter to influence the strength of this effect. |
Emissive: TAndorraColor; |
The emissive color is the color of the object that is emitted if no light shines on the object. |
Power: single; |
The internsity of the specular effect. |