|
Transformation Class |
Transformation defines the Matrix that is used to transform the SceneNode.
Transformation is optimized for cases where the Matrix is identity (no transformation).
Inheritance Hierarchy SystemObject
Ab3d.DirectXTransformation
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public class Transformation
The Transformation type exposes the following members.
Constructors Properties | Name | Description |
---|
| IsIdentity |
Gets a Boolean that specifies if the Matrix is identity (there is no transformation).
|
| Value |
Gets or sets a Matrix of this transformation
|
TopMethods | Name | Description |
---|
| LeftMultiply(Matrix) |
Returns a Matrix that is created by multiplying this matrix with rightMatrix: result = this.Matrix * rightMatrix
|
| LeftMultiply(Transformation) |
Returns a Matrix that is created by multiplying this matrix with rightTransform: result = this.Matrix * rightTransform
|
| RightMultiply(Matrix) |
Returns a Matrix that is created by multiplying leftMatrix with this matrix: result = leftMatrix * this.Matrix
|
| RightMultiply(Transformation) |
Returns a Matrix that is created by multiplying leftTransform with this matrix: result = leftTransform * this.Matrix
|
| SetIdentity |
Sets this transformation as identity (no transformation).
|
| SetMatrix(Matrix) |
Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
|
| SetMatrix(Matrix) |
Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
|
| SetMatrix(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
|
| SetMatrixAndCheckForIdentity(Matrix) |
Checks the matrix if it is identity and sets the matrix
|
| SetMatrixAndCheckForIdentity(Matrix) |
Checks the matrix if it is identity and sets the matrix
|
| Transform(Vector3, Vector3) |
Transforms the source Vector3 with the current matrix and creates the destination as Vector3
|
| Transform(Vector3, Vector4) |
Transforms the source Vector3 with the current matrix and creates the destination as Vector4
|
| TransformWithoutTranslation |
Transforms the source Vector3 with the current matrix but without using the 4th row of the matrix and creates the destination as Vector3 that is only rotated and scaled but not translated.
|
TopExtension Methods | Name | Description |
---|
| Update |
Updates the DXEngine's Transformation to the value of WPF Transform3D
(Defined by Extensions) |
TopSee Also