Class TProximitySensorInstance

Unit

Declaration

type TProximitySensorInstance = class(TShapeTree)

Description

This item has no description. Showing description inherited from TShapeTree.

Tree of shapes.

Although VRML/X3D model already provides the tree (graph of VRML/X3D nodes), it's a little too complicated to be used at each render call. It's especially true for VRML <= 1.0 (where properties may "leak out" from one node to the next), VRML/X3D >= 2.0 cleaned a lot here but still some work must be done when traversing (like accumulating transformations).

So we process VRML/X3D tree to this tree, which is much simpler with all the geometry nodes (TAbstractGeometryNode) along with their state (TX3DGraphTraverseState) as leafs (TShape).

Hierarchy

Overview

Fields

Public InverseTransform: TMatrix4;
Public IsActive: boolean;

Methods

Public function EnumerateTextures(const Enumerate: TEnumerateShapeTexturesFunction): Pointer; override;
Public function DebugInfoWithoutChildren: String; override;

Properties

Public property Node: TProximitySensorNode read FNode write FNode;

Description

Fields

Public InverseTransform: TMatrix4;

This item has no description.

Public IsActive: boolean;

This item has no description.

Methods

Public function EnumerateTextures(const Enumerate: TEnumerateShapeTexturesFunction): Pointer; override;

This item has no description. Showing description inherited from TShapeTree.EnumerateTextures.

Enumerate all single texture nodes (possibly) used by the shapes. This looks into all shapes (not only active, so e.g. it looks into all Switch/LOD children, not only the chosen one). This checks all possible ways how a texture may be used by a shape, so it looks at material fields, shaders (ComposedShader, CommonSurfaceShader) and more.

If Enumerate callbacks returns non-nil for some texture, returns it immediately, and stops further processing.

Public function DebugInfoWithoutChildren: String; override;

This item has no description. Showing description inherited from TShapeTree.DebugInfoWithoutChildren.

Describe this shape, not recursively.

Properties

Public property Node: TProximitySensorNode read FNode write FNode;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.