Class TAbstractComposedGeometryNode
Unit
Declaration
type TAbstractComposedGeometryNode = class(TAbstractGeometryNode)
Description
Base node type for all composed 3D geometry.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractGeometryNode
- TAbstractComposedGeometryNode
Overview
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override; |
|
function CoordField: TSFNode; override; |
|
function TexCoordField: TSFNode; override; |
|
function ColorField: TSFNode; override; |
|
function SolidField: TSFBool; override; |
|
function AttribField: TMFNode; override; |
|
function NormalField: TSFNode; override; |
|
function TangentField: TSFNode; override; |
|
function InternalFogCoord: TMFFloat; override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode); |
|
procedure SetRadianceTransfer(const Value: array of TVector3); overload; |
|
procedure SetRadianceTransfer(const Value: TVector3List); overload; |
Properties
property FdAttrib: TMFNode read FFdAttrib; |
|
property FdColor: TSFNode read FFdColor; |
|
property Color: TAbstractColorNode read GetColor write SetColor; |
|
property FdCoord: TSFNode read FFdCoord; |
|
property Coord: TAbstractCoordinateNode read GetCoord write SetCoord; |
|
property FdFogCoord: TSFNode read FFdFogCoord; |
|
property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord; |
|
property FdNormal: TSFNode read FFdNormal; |
|
property Normal: TAbstractNormalNode read GetNormal write SetNormal; |
|
property FdTangent: TSFNode read FFdTangent; |
|
property Tangent: TTangentNode read GetTangent write SetTangent; |
|
property FdTexCoord: TSFNode read FFdTexCoord; |
|
property TexCoord: TAbstractTextureCoordinateNode read GetTexCoord write SetTexCoord; |
|
property FdCcw: TSFBool read FFdCcw; |
|
property Ccw: Boolean read GetCcw write SetCcw; |
|
property FdColorPerVertex: TSFBool read FFdColorPerVertex; |
|
property ColorPerVertex: Boolean read GetColorPerVertex write SetColorPerVertex; |
|
property FdNormalPerVertex: TSFBool read FFdNormalPerVertex; |
|
property NormalPerVertex: Boolean read GetNormalPerVertex write SetNormalPerVertex; |
|
property FdSolid: TSFBool read FFdSolid; |
|
property FdRadianceTransfer: TMFVec3f read FFdRadianceTransfer; |
Description
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
This item has no description. Showing description inherited from TX3DNode.DirectEnumerateActive. Enumerate all active child nodes of given node. "Active nodes" are the ones affecting current look or collisions, e.g. from Switch node only one child will be enumerated. See Traverse for more precise definition. "Direct" means that this enumerates only direct descendants, i.e. this is not recursive. See methods like Traverse or EnumerateNodes if you want recursive behavior. This can enumerate both VRML1Children nodes and nodes within TSFNode and TMFNode fields. Default implementation in this class enumerates all Children nodes of VRML 1.0. If you need to remove some children for VRML 1.0 (e.g. for Switch or LOD nodes) or add some children for VRML 2.0 you have to override this. You do not need to call inherited when overriding this — in fact, you should not, if you want to omit some nodes. Stops and returns immediately if Func returns non-nil for some child. |
function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override; |
|
Access the coordinate node, and inside this node access it's points list. |
function CoordField: TSFNode; override; |
|
This item has no description. Showing description inherited from TAbstractGeometryNode.CoordField.
Node's "coord" field where you can place TCoordinateNode, or This gives you more possibilities than the InternalCoord and InternalCoordinates methods (as you can assign texCoord using this). However, it doesn't work for old VRML 1.0 (since they have coordinate information, but no "coord" field). |
function TexCoordField: TSFNode; override; |
|
This item has no description. Showing description inherited from TAbstractGeometryNode.TexCoordField.
Node's texCoord field, or This gives you more possibilities than the InternalTexCoord method (as you can assign texCoord using this), however it may be not available in all cases — for example VRML 1.0 nodes do not have texCoord field, but they may have a texture coordinate node (from the state). |
function ColorField: TSFNode; override; |
|
This item has no description. |
function SolidField: TSFBool; override; |
|
This item has no description. Showing description inherited from TAbstractGeometryNode.SolidField.
Is backface culling used. |
function AttribField: TMFNode; override; |
|
This item has no description. |
function NormalField: TSFNode; override; |
|
This item has no description. Showing description inherited from TAbstractGeometryNode.NormalField.
Node's "normal" field where you can place TNormalNode, or |
function TangentField: TSFNode; override; |
|
This item has no description. Showing description inherited from TAbstractGeometryNode.TangentField.
Node's "tangent" field where you can place TTangentNode, or |
function InternalFogCoord: TMFFloat; override; |
|
This item has no description. |
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. |
procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode); |
|
This item has no description. |
procedure SetRadianceTransfer(const Value: array of TVector3); overload; |
|
This item has no description. |
procedure SetRadianceTransfer(const Value: TVector3List); overload; |
|
This item has no description. |
Properties
property FdAttrib: TMFNode read FFdAttrib; |
|
Internal wrapper for property |
property FdColor: TSFNode read FFdColor; |
|
Internal wrapper for property |
property Color: TAbstractColorNode read GetColor write SetColor; |
|
This item has no description. |
property FdCoord: TSFNode read FFdCoord; |
|
Internal wrapper for property |
property Coord: TAbstractCoordinateNode read GetCoord write SetCoord; |
|
This item has no description. |
property FdFogCoord: TSFNode read FFdFogCoord; |
|
Internal wrapper for property |
property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord; |
|
This item has no description. |
property FdNormal: TSFNode read FFdNormal; |
|
Internal wrapper for property |
property Normal: TAbstractNormalNode read GetNormal write SetNormal; |
|
This item has no description. |
property FdTangent: TSFNode read FFdTangent; |
|
Internal wrapper for property |
property Tangent: TTangentNode read GetTangent write SetTangent; |
|
|
property FdTexCoord: TSFNode read FFdTexCoord; |
|
Internal wrapper for property |
property TexCoord: TAbstractTextureCoordinateNode read GetTexCoord write SetTexCoord; |
|
This item has no description. |
property FdCcw: TSFBool read FFdCcw; |
|
Internal wrapper for property |
property Ccw: Boolean read GetCcw write SetCcw; |
|
This item has no description. |
property FdColorPerVertex: TSFBool read FFdColorPerVertex; |
|
Internal wrapper for property |
property ColorPerVertex: Boolean read GetColorPerVertex write SetColorPerVertex; |
|
This item has no description. |
property FdNormalPerVertex: TSFBool read FFdNormalPerVertex; |
|
Internal wrapper for property |
property NormalPerVertex: Boolean read GetNormalPerVertex write SetNormalPerVertex; |
|
This item has no description. |
property FdSolid: TSFBool read FFdSolid; |
|
Internal wrapper for property |
property FdRadianceTransfer: TMFVec3f read FFdRadianceTransfer; |
|
Internal wrapper for property |
Generated by PasDoc 0.16.0-snapshot.