Class TShapeTreeGroup

Unit

Declaration

type TShapeTreeGroup = class(TShapeTree)

Description

Internal (non-leaf) node of the TShapeTree. This is practically just a list of other children (other TShapeTree items).

All children are considered "active" by this class.

This class owns it's children TShapeTree. Since TShapeTree is a simple tree structure, there are no duplicates possible, that is given TShapeTree instance may be within only one parent TShapeTree. (VRML node's parenting mechanism is more complicated than this, because of DEF/USE mechanism.)

Hierarchy

Overview

Methods

Public constructor Create(const AParentScene: TX3DEventsEngine);
Public destructor Destroy; override;
Public function EnumerateTextures(const Enumerate: TEnumerateShapeTexturesFunction): Pointer; override;
Public function DebugInfo(const Indent: string = ''): string; override;

Properties

Public property Children: TShapeTreeList read FChildren;

Description

Methods

Public constructor Create(const AParentScene: TX3DEventsEngine);

This item has no description.

Public destructor Destroy; override;

This item has no description.

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 DebugInfo(const Indent: string = ''): string; override;

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

Describe the shapes tree, recursively (with children), multi-line (ends with newline too).

Properties

Public property Children: TShapeTreeList read FChildren;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.