Castle Game Engine: X3DNodes: Class TX3DMaterialInfo

# Class TX3DMaterialInfo
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DNodes ## Declaration `type TX3DMaterialInfo = class(TX3DMaterialInfoAbstract)` ## Description no description available, TX3DMaterialInfoAbstract description follows Material information, usable for all VRML/X3D versions. VRML 1.0 and VRML/X3D >= 2.0 materials work a little differently: VRML 1.0 has arrays of values, e.g. an array of diffuse color, while VRML/X3D >= 2.0 is really a single material, e.g. one diffuse color. This class is designed to hide these differences as much as possible: it provides a simple common interface for getting material properties. Note that it doesn't try to abstract all material properties — there are some features that are simply fundamentally different in how VRML 1.0 and >= 2.0 materials should be treated, and they cannot be abstracted under a common interface here. ## Hierarchy TObject TX3DMaterialInfoAbstract TX3DMaterialInfo ## Overview ### Methods
| `constructor Create(Node: TMaterialNode);`
| `function DiffuseColor: TVector3Single; override;`
| `function Mirror: Single; override;`
| `function Transparency: Single; override;`
| `function ReflSpecular: TVector3Single; override;`
| `function ReflDiffuse: TVector3Single; override;`
| `function TransSpecular: TVector3Single; override;`
| `function TransDiffuse: TVector3Single; override;`
| `function ReflSpecularExp: Single; override;`
| `function TransSpecularExp: Single; override;`
## Description ### Methods
| `constructor Create(Node: TMaterialNode);`
| `function DiffuseColor: TVector3Single; override;`
| `function Mirror: Single; override;`
| `function Transparency: Single; override;`
| `function ReflSpecular: TVector3Single; override;`
| `function ReflDiffuse: TVector3Single; override;`
| `function TransSpecular: TVector3Single; override;`
| `function TransDiffuse: TVector3Single; override;`
| `function ReflSpecularExp: Single; override;`
| `function TransSpecularExp: Single; override;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:14