Class TTransformNode
Unit
X3DNodes
Declaration
type TTransformNode = class(TAbstractGroupingNode)
Description
Grouping node that transforms (moves, rotates, scales) it's children.
Hierarchy
Overview
Methods
Properties
Description
Methods
|
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
|
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
|
procedure CreateNode; override; |
|
|
class function ClassX3DType: string; override; |
|
Properties
|
property FdCenter: TSFVec3f read FFdCenter; |
Internal wrapper for property Center. This wrapper API may change, we advise to access simpler Center instead.
|
|
property Center: TVector3 read GetCenter write SetCenter; |
Center point around which the Rotation and Scale is performed.
|
|
property FdRotation: TSFRotation read FFdRotation; |
Internal wrapper for property Rotation. This wrapper API may change, we advise to access simpler Rotation instead.
|
|
property Rotation: TVector4 read GetRotation write SetRotation; |
Rotate children in 3D, around a specified axis. Rotation is expressed as a 4D vector, in which the first 3 components specify the rotation axis (does not need to be normalized, but must be non-zero) and the last component is the rotation angle in radians. Rotation is done around Center.
|
|
property FdScale: TSFVec3f read FFdScale; |
Internal wrapper for property Scale. This wrapper API may change, we advise to access simpler Scale instead.
|
|
property Scale: TVector3 read GetScale write SetScale; |
Scale in 3D. Scaling is done around Center and with orientation given by ScaleOrientation. Note about negative scale: 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 FdTranslation: TSFVec3f read FFdTranslation; |
Internal wrapper for property Translation. This wrapper API may change, we advise to access simpler Translation instead.
|
|
property Translation: TVector3 read GetTranslation write SetTranslation; |
Translation (move) the children nodes.
|
Generated by PasDoc 0.16.0.