Class TBillboardNode

Unit

Declaration

type TBillboardNode = class(TAbstractGroupingNode)

Description

Grouping node that transforms the coordinate system of its children so that they always turn towards the viewer. The local Z axis of the children faces the camera, rotating around AxisOfRotation (it it is non-zero) or rotating freely in 3D (when AxisOfRotation is exactly zero).

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
Public function TransformationChange: TNodeTransformationChange; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;

Properties

Public property FdAxisOfRotation: TSFVec3f read FFdAxisOfRotation;
Public property AxisOfRotation: TVector3 read GetAxisOfRotation write SetAxisOfRotation;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
 
Public function TransformationChange: TNodeTransformationChange; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 

Properties

Public property FdAxisOfRotation: TSFVec3f read FFdAxisOfRotation;

Internal wrapper for property AxisOfRotation. This wrapper API may change, we advise to access simpler AxisOfRotation instead.

Public property AxisOfRotation: TVector3 read GetAxisOfRotation write SetAxisOfRotation;

Axis around which the billboard rotates to face the camera. Can be zero to rotate freely.


Generated by PasDoc 0.16.0.