Class TTransformNode
Unit
X3DNodes
Declaration
type TTransformNode = class(TAbstractX3DGroupingNode, ITransformNode)
Description
Grouping node that transforms (moves, rotates, scales) it's children.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure CreateNode; override; |
|
 |
class function ClassX3DType: string; override; |
|
 |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
Properties
 |
property FdCenter: TSFVec3f read FFdCenter; |
|
 |
property FdScale: TSFVec3f read FFdScale; |
|
 |
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
|
 |
property FdTranslation: TSFVec3f read FFdTranslation; |
|
 |
property Center: TVector3 read GetCenter write SetCenter; |
Pivot around which the Rotation and Scale are performed.
|
 |
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.