Class TMaterialNode_1
Unit
Declaration
type TMaterialNode_1 = class(TAbstractChildNode)
Description
This item has no description. Showing description inherited from TAbstractChildNode.
Abstract node type that indicates that the node may be used as a child of a grouping node, e.g. inside TAbstractGroupingNode.FdChildren.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TMaterialNode_1
Overview
Methods
destructor Destroy; override; |
|
function PureEmissive: boolean; |
|
procedure ForcePureEmissive; deprecated 'use X3D with TUnlitMaterialNode'; |
|
function MaterialInfo(const AIndex: Integer = 0): TPhongMaterialInfo; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
class function ForVRMLVersion(const Version: TX3DVersion): Boolean; override; |
|
procedure SetAmbientColor(const Value: array of TCastleColorRGB); overload; |
|
procedure SetAmbientColor(const Value: TVector3List); overload; |
|
procedure SetDiffuseColor(const Value: array of TCastleColorRGB); overload; |
|
procedure SetDiffuseColor(const Value: TVector3List); overload; |
|
procedure SetSpecularColor(const Value: array of TCastleColorRGB); overload; |
|
procedure SetSpecularColor(const Value: TVector3List); overload; |
|
procedure SetEmissiveColor(const Value: array of TCastleColorRGB); overload; |
|
procedure SetEmissiveColor(const Value: TVector3List); overload; |
|
procedure SetShininess(const Value: array of Single); overload; |
|
procedure SetShininess(const Value: TSingleList); overload; |
|
procedure SetTransparency(const Value: array of Single); overload; |
|
procedure SetTransparency(const Value: TSingleList); overload; |
|
procedure SetMirror(const Value: array of Single); overload; |
|
procedure SetMirror(const Value: TSingleList); overload; |
|
procedure SetReflSpecular(const Value: array of TCastleColorRGB); overload; |
|
procedure SetReflSpecular(const Value: TVector3List); overload; |
|
procedure SetReflDiffuse(const Value: array of TCastleColorRGB); overload; |
|
procedure SetReflDiffuse(const Value: TVector3List); overload; |
|
procedure SetTransSpecular(const Value: array of TCastleColorRGB); overload; |
|
procedure SetTransSpecular(const Value: TVector3List); overload; |
|
procedure SetTransDiffuse(const Value: array of TCastleColorRGB); overload; |
|
procedure SetTransDiffuse(const Value: TVector3List); overload; |
|
procedure SetReflSpecularExp(const Value: array of Single); overload; |
|
procedure SetReflSpecularExp(const Value: TSingleList); overload; |
|
procedure SetTransSpecularExp(const Value: array of Single); overload; |
|
procedure SetTransSpecularExp(const Value: TSingleList); overload; |
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; |
|
property FogImmune: Boolean read GetFogImmune write SetFogImmune; |
Description
Methods
destructor Destroy; override; |
|
This item has no description. |
procedure ForcePureEmissive; deprecated 'use X3D with TUnlitMaterialNode'; |
|
Warning: this symbol is deprecated: use X3D with TUnlitMaterialNode Force the material pure emissive (see PureEmissive) by setting other colors to black. |
function MaterialInfo(const AIndex: Integer = 0): TPhongMaterialInfo; |
|
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. |
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
class function ForVRMLVersion(const Version: TX3DVersion): Boolean; override; |
|
This item has no description. Showing description inherited from TX3DNode.ForVRMLVersion. Some nodes are present only in specific VRML/X3D version. This functions decides it. For example some nodes can only work in VRML < 2.0, some others only in VRML >= 2.0. There are even some pairs of nodes: for example TConeNode_1 works with VRML < 2.0, TConeNode works with VRML >= 2.0. NodesManager will use this. Default implementation of this function returns always In practice I only use this function when various VRML/X3D versions specify the same node name but
|
procedure SetAmbientColor(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetAmbientColor(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetDiffuseColor(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetDiffuseColor(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetSpecularColor(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetSpecularColor(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetEmissiveColor(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetEmissiveColor(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetShininess(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetShininess(const Value: TSingleList); overload; |
|
This item has no description. |
procedure SetTransparency(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetTransparency(const Value: TSingleList); overload; |
|
This item has no description. |
procedure SetMirror(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetMirror(const Value: TSingleList); overload; |
|
This item has no description. |
procedure SetReflSpecular(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetReflSpecular(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetReflDiffuse(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetReflDiffuse(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetTransSpecular(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetTransSpecular(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetTransDiffuse(const Value: array of TCastleColorRGB); overload; |
|
This item has no description. |
procedure SetTransDiffuse(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetReflSpecularExp(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetReflSpecularExp(const Value: TSingleList); overload; |
|
This item has no description. |
procedure SetTransSpecularExp(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetTransSpecularExp(const Value: TSingleList); overload; |
|
This item has no description. |
Properties
property FdAmbientColor: TMFColor read FFdAmbientColor; |
|
Internal wrapper for property |
property FdDiffuseColor: TMFColor read FFdDiffuseColor; |
|
Internal wrapper for property |
property FdSpecularColor: TMFColor read FFdSpecularColor; |
|
Internal wrapper for property |
property FdEmissiveColor: TMFColor read FFdEmissiveColor; |
|
Internal wrapper for property |
property FdShininess: TMFFloat read FFdShininess; |
|
Internal wrapper for property |
property FdTransparency: TMFFloat read FFdTransparency; |
|
Internal wrapper for property |
property FdMirror: TMFFloat read FFdMirror; |
|
Internal wrapper for property |
property FdReflSpecular: TMFColor read FFdReflSpecular; |
|
Internal wrapper for property |
property FdReflDiffuse: TMFColor read FFdReflDiffuse; |
|
Internal wrapper for property |
property FdTransSpecular: TMFColor read FFdTransSpecular; |
|
Internal wrapper for property |
property FdTransDiffuse: TMFColor read FFdTransDiffuse; |
|
Internal wrapper for property |
property FdReflSpecularExp: TMFFloat read FFdReflSpecularExp; |
|
Internal wrapper for property |
property FdTransSpecularExp: TMFFloat read FFdTransSpecularExp; |
|
Internal wrapper for property |
property FdFogImmune: TSFBool read FFdFogImmune; |
|
Internal wrapper for property |
property FogImmune: Boolean read GetFogImmune write SetFogImmune; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.