Class TTransformNode
Unit
Declaration
type TTransformNode = class(TAbstractX3DGroupingNode)
Description
Grouping node that transforms (moves, rotates, scales) it's children.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractGroupingNode
- TAbstractX3DGroupingNode
- TTransformNode
Overview
Methods
![]() |
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
![]() |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
![]() |
function TransformationChange: TNodeTransformationChange; override; |
Properties
![]() |
property FdCenter: TSFVec3f read FFdCenter; |
![]() |
property FdRotation: TSFRotation read FFdRotation; |
![]() |
property FdScale: TSFVec3f read FFdScale; |
![]() |
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
![]() |
property FdTranslation: TSFVec3f read FFdTranslation; |
![]() |
property Center: TVector3 read GetCenter write SetCenter; |
![]() |
property Rotation: TVector4 read GetRotation write SetRotation; |
![]() |
property Scale: TVector3 read GetScale write SetScale; |
![]() |
property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation; |
![]() |
property Translation: TVector3 read GetTranslation write SetTranslation; |
Description
Methods
![]() |
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
![]() |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
![]() |
function TransformationChange: TNodeTransformationChange; override; |
Properties
![]() |
property FdCenter: TSFVec3f read FFdCenter; |
![]() |
property FdRotation: TSFRotation read FFdRotation; |
![]() |
property FdScale: TSFVec3f read FFdScale; |
![]() |
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
![]() |
property FdTranslation: TSFVec3f read FFdTranslation; |
![]() |
property Center: TVector3 read GetCenter write SetCenter; |
![]() |
property Rotation: TVector4 read GetRotation write SetRotation; |
Rotate the children in 3D, around a given axis by a given angle. Rotation is done around Center. |
![]() |
property Scale: TVector3 read GetScale write SetScale; |
Scale in 3D. Scaling is done around Center and with orientation given by ScaleOrientation. We do the best we can to work with any scale value, even negative or zero. But usually, it's best to keep the scale positive. See the TCastleTransform.Scale documentation for some good guidelines about the scale. |
![]() |
property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation; |
Orientation in which 3D Scale is performed. |
![]() |
property Translation: TVector3 read GetTranslation write SetTranslation; |
Translate (move) the children. |
Generated by PasDoc 0.16.0.