![AB4D logo](../icons/AB4D-logo.png) |
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 HierarchySystemObject
Ab3d.DirectXTransformation
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic class Transformation
The Transformation type exposes the following members.
Constructors
Properties | Name | Description |
---|
![Public property Public property](../icons/pubProperty.gif) | IsIdentity |
Gets a Boolean that specifies if the Matrix is identity (there is no transformation).
|
![Public property Public property](../icons/pubProperty.gif) | Value |
Gets or sets a Matrix of this transformation
|
Top
Methods | Name | Description |
---|
![Public method Public method](../icons/pubMethod.gif) | LeftMultiply(Matrix) |
Returns a Matrix that is created by multiplying this matrix with rightMatrix: result = this.Matrix * rightMatrix
|
![Public method Public method](../icons/pubMethod.gif) | LeftMultiply(Transformation) |
Returns a Matrix that is created by multiplying this matrix with rightTransform: result = this.Matrix * rightTransform
|
![Public method Public method](../icons/pubMethod.gif) | RightMultiply(Matrix) |
Returns a Matrix that is created by multiplying leftMatrix with this matrix: result = leftMatrix * this.Matrix
|
![Public method Public method](../icons/pubMethod.gif) | RightMultiply(Transformation) |
Returns a Matrix that is created by multiplying leftTransform with this matrix: result = leftTransform * this.Matrix
|
![Public method Public method](../icons/pubMethod.gif) | SetIdentity |
Sets this transformation as identity (no transformation).
|
![Public method Public method](../icons/pubMethod.gif) | SetMatrix(Matrix) |
Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
|
![Public method Public method](../icons/pubMethod.gif) | SetMatrix(Matrix) |
Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
|
![Public method Public method](../icons/pubMethod.gif) | 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)
|
![Public method Public method](../icons/pubMethod.gif) | SetMatrixAndCheckForIdentity(Matrix) |
Checks the matrix if it is identity and sets the matrix
|
![Public method Public method](../icons/pubMethod.gif) | SetMatrixAndCheckForIdentity(Matrix) |
Checks the matrix if it is identity and sets the matrix
|
![Public method Public method](../icons/pubMethod.gif) | Transform(Vector3, Vector3) |
Transforms the source Vector3 with the current matrix and creates the destination as Vector3
|
![Public method Public method](../icons/pubMethod.gif) | Transform(Vector3, Vector4) |
Transforms the source Vector3 with the current matrix and creates the destination as Vector4
|
![Public method Public method](../icons/pubMethod.gif) | 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.
|
Top
Extension Methods | Name | Description |
---|
![Public Extension Method Public Extension Method](../icons/pubExtension.gif) | Update |
Updates the DXEngine's Transformation to the value of WPF Transform3D
(Defined by Extensions) |
Top
See Also