Class TMaterialNode_1
Unit
X3DNodes
Declaration
type TMaterialNode_1 = class(TAbstractChildNode)
Description
No description available, ancestor TAbstractChildNode description follows
Abstract node type that indicates that the node may be used as a child of a grouping node, e.g. inside TAbstractX3DGroupingNode.FdChildren.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure CreateNode; override; |
|
 |
destructor Destroy; override; |
|
 |
class function ClassX3DType: string; override; |
|
 |
function PureEmissive: boolean; |
Only the emissive color is not black (zero). This detects a special case described in VRML 1.0 specification: when ambient, diffuse and specular are all empty (no values), then emissiveColor should be used at the final color and shape should be unlit.
You should use the EmissiveColor4Single in this case.
|
 |
procedure ForcePureEmissive; |
Force the material pure emissive (see PureEmissive) by setting other colors to black.
|
 |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
 |
function MaterialInfo(const AIndex: Integer = 0): TMaterialInfo; |
Material information based on this node. It is automatically updated when properties of this material change. Do not free it yourself, it will be automatically freed when this node is freed.
|
Properties
 |
property FdAmbientColor: TMFColor read FFdAmbientColor; |
|
 |
property FdDiffuseColor: TMFColor read FFdDiffuseColor; |
|
 |
property FdSpecularColor: TMFColor read FFdSpecularColor; |
|
 |
property FdEmissiveColor: TMFColor read FFdEmissiveColor; |
|
 |
property FdShininess: TMFFloat read FFdShininess; |
|
 |
property FdTransparency: TMFFloat read FFdTransparency; |
|
 |
property FdMirror: TMFFloat read FFdMirror; |
|
 |
property FdReflSpecular: TMFColor read FFdReflSpecular; |
|
 |
property FdReflDiffuse: TMFColor read FFdReflDiffuse; |
|
 |
property FdTransSpecular: TMFColor read FFdTransSpecular; |
|
 |
property FdTransDiffuse: TMFColor read FFdTransDiffuse; |
|
 |
property FdReflSpecularExp: TMFFloat read FFdReflSpecularExp; |
|
 |
property FdTransSpecularExp: TMFFloat read FFdTransSpecularExp; |
|
 |
property FdFogImmune: TSFBool read FFdFogImmune; |
|
Generated by PasDoc 0.15.0.
|