Click or drag to resize
AB4D logo

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.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class Transformation

The Transformation type exposes the following members.

Constructors
 NameDescription
Public methodTransformation Constructor that sets the Matrix to identity and IsIdentity to true.
Public methodTransformation(Matrix) Constructor
Public methodTransformation(Matrix) Constructor
Top
Properties
 NameDescription
Public propertyIsIdentity Gets a Boolean that specifies if the Matrix is identity (there is no transformation).
Public propertyValue Gets or sets a Matrix of this transformation
Top
Methods
 NameDescription
Public methodLeftMultiply(Matrix) Returns a Matrix that is created by multiplying this matrix with rightMatrix: result = this.Matrix * rightMatrix
Public methodLeftMultiply(Transformation) Returns a Matrix that is created by multiplying this matrix with rightTransform: result = this.Matrix * rightTransform
Public methodRightMultiply(Matrix) Returns a Matrix that is created by multiplying leftMatrix with this matrix: result = leftMatrix * this.Matrix
Public methodRightMultiply(Transformation) Returns a Matrix that is created by multiplying leftTransform with this matrix: result = leftTransform * this.Matrix
Public methodSetIdentity Sets this transformation as identity (no transformation).
Public methodSetMatrix(Matrix) Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
Public methodSetMatrix(Matrix) Sets the matrix and sets IsIdentity to false (matrix is not checked for identity)
Public methodSetMatrix(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 methodSetMatrixAndCheckForIdentity(Matrix) Checks the matrix if it is identity and sets the matrix
Public methodSetMatrixAndCheckForIdentity(Matrix) Checks the matrix if it is identity and sets the matrix
Public methodTransform(Vector3, Vector3) Transforms the source Vector3 with the current matrix and creates the destination as Vector3
Public methodTransform(Vector3, Vector4) Transforms the source Vector3 with the current matrix and creates the destination as Vector4
Public methodTransformWithoutTranslation 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
 NameDescription
Public Extension MethodUpdate Updates the DXEngine's Transformation to the value of WPF Transform3D
(Defined by Extensions)
Top
See Also