Class TAbstractComposedGeometryNode
Unit
X3DNodes
Declaration
type TAbstractComposedGeometryNode = class(TAbstractGeometryNode)
Description
Base node type for all composed 3D geometry.
Hierarchy
Overview
Methods
Properties
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 Nil if not available.
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 Nil if not available. Various nodes may have different exact rules about what is allowed here, but everything allows TextureCoordinateGenerator and ProjectedTextureCoordinate instances.
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. Nil if given geometry node doesn't have a field to control it.
|
|
function AttribField: TMFNode; override; |
This item has no description. |
|
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 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 Attrib . This wrapper API may change, we advise to access simpler Attrib instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property FdColor: TSFNode read FFdColor; |
Internal wrapper for property Color . This wrapper API may change, we advise to access simpler Color instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property Color: TAbstractColorNode read GetColor write SetColor; |
This item has no description. |
|
property FdCoord: TSFNode read FFdCoord; |
Internal wrapper for property Coord . This wrapper API may change, we advise to access simpler Coord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property FdFogCoord: TSFNode read FFdFogCoord; |
Internal wrapper for property FogCoord . This wrapper API may change, we advise to access simpler FogCoord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord; |
This item has no description. |
|
property FdNormal: TSFNode read FFdNormal; |
Internal wrapper for property Normal . This wrapper API may change, we advise to access simpler Normal instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property Normal: TAbstractNormalNode read GetNormal write SetNormal; |
This item has no description. |
|
property FdTangent: TSFNode read FFdTangent; |
Internal wrapper for property Tangent . This wrapper API may change, we advise to access simpler Tangent instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property Tangent: TTangentNode read GetTangent write SetTangent; |
Tangent vectors describe the tangent coordinate-space, used by the bump mapping algorithm. If specified, the ordering of tangents should be the same as normals, i.e. they should follow the NormalPerVertex and such properties.
|
|
property FdTexCoord: TSFNode read FFdTexCoord; |
Internal wrapper for property TexCoord . This wrapper API may change, we advise to access simpler TexCoord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property FdCcw: TSFBool read FFdCcw; |
Internal wrapper for property Ccw . This wrapper API may change, we advise to access simpler Ccw instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property Ccw: Boolean read GetCcw write SetCcw; |
This item has no description. |
|
property FdColorPerVertex: TSFBool read FFdColorPerVertex; |
Internal wrapper for property ColorPerVertex . This wrapper API may change, we advise to access simpler ColorPerVertex instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property ColorPerVertex: Boolean read GetColorPerVertex write SetColorPerVertex; |
This item has no description. |
|
property FdNormalPerVertex: TSFBool read FFdNormalPerVertex; |
Internal wrapper for property NormalPerVertex . This wrapper API may change, we advise to access simpler NormalPerVertex instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property NormalPerVertex: Boolean read GetNormalPerVertex write SetNormalPerVertex; |
This item has no description. |
|
property FdSolid: TSFBool read FFdSolid; |
Internal wrapper for property Solid . This wrapper API may change, we advise to access simpler Solid instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
|
property FdRadianceTransfer: TMFVec3f read FFdRadianceTransfer; |
Internal wrapper for property RadianceTransfer . This wrapper API may change, we advise to access simpler RadianceTransfer instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
Generated by PasDoc 0.16.0-snapshot.