class
Transform3
Transform3 handles homogeneous 4x4 transforms, i.e. transformations which can be represented by multiplying a 4x4 matrix with a homogeneous 3D coordinate. Transform3 can either pre-multiply a matrix onto the transformation, which will add a transform around the current transform, or it can post-multiply the matrix, which will add a transform inside the current transform. Post-multiply is the default mode.
See also: Matrix4x4
Properties
Property | Description |
---|---|
Name | The name of the Transform3 object. (Inherited from Object) |
Methods
Method | Description |
---|---|
AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
AddRotation | Concatenates a rotation transform to the current transform. |
AddScaling | Concatenates a scaling transform to the current transform. |
AddTransformation | Concatenates a generic transform to the current transform. |
AddTranslation | Concatenates a translation transform to the current transform. |
Clear | Resets the transformation to the identity transform, resets the multiplication mode to PostMultiply, and clears the matrix stack. |
GetClass | Get the name of the Transform3 class. (Inherited from Object) |
GetMatrix | The matrix that is used to specify the transform. |
GetStack | The real array that is used to store the matrix stack. |
IsA | Returns true if Transform3 is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the Transform3 object is invalid. (Inherited from Object) |
IsPostMultiply | The transform concatenation mode. |
IsPreMultiply | The transform concatenation mode. |
IsSameObjectAs | Returns true if the Transform3 object is valid. (Inherited from Object) |
NonNull | Returns true if the Transform3 object is valid. (Inherited from Object) |
Pop | Pops the topmost matrix on the the matrix stack, and replaces the current transform with the popped matrix. |
PostMultiply | The transform concatenation mode to post-multiply, any added transform will be concatenated using this mode. |
PreMultiply | The transform concatenation mode to pre-multiply, any added transform will be concatenated using this mode. |
PrintInfo | Prints the content/info of the Transform3 object to the log. (Inherited from Object) |
Push | Pushes the current transform onto the matrix stack. |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
Static methods
Method | Description |
---|---|
IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
SafeCast | SafeCast makes sure the input object is of a class that can be cast into spTransform3, and if this is the case, returns the object cast into spTransform3. (Inherited from Object) |
Properties details
Name
The name of the Transform3 object. (Inherited from Object)
Methods details
AddObserver
Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
AddRotation
Concatenates a rotation transform to the current transform.
AddScaling
Concatenates a scaling transform to the current transform.
AddTransformation
Concatenates a generic transform to the current transform.
AddTranslation
Concatenates a translation transform to the current transform.
Clear
Resets the transformation to the identity transform, resets the multiplication mode to PostMultiply, and clears the matrix stack.
GetClass
Get the name of the Transform3 class. (Inherited from Object)
GetMatrix
The matrix that is used to specify the transform.
GetStack
The real array that is used to store the matrix stack.
IsA
Returns true if Transform3 is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull
Returns true if the Transform3 object is invalid. (Inherited from Object)
IsPostMultiply
The transform concatenation mode.
IsPreMultiply
The transform concatenation mode.
IsSameObjectAs
Returns true if the Transform3 object is valid. (Inherited from Object)
NonNull
Returns true if the Transform3 object is valid. (Inherited from Object)
Pop
Pops the topmost matrix on the the matrix stack, and replaces the current transform with the popped matrix.
PostMultiply
The transform concatenation mode to post-multiply, any added transform will be concatenated using this mode.
PreMultiply
The transform concatenation mode to pre-multiply, any added transform will be concatenated using this mode.
PrintInfo
Prints the content/info of the Transform3 object to the log. (Inherited from Object)
Push
Pushes the current transform onto the matrix stack.
RemoveObserver
Removes a previously added observer object. (Inherited from Object)
Static methods details
IsClassA
Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCast
SafeCast makes sure the input object is of a class that can be cast into spTransform3, and if this is the case, returns the object cast into spTransform3. (Inherited from Object)