Matrix4x4::CreateTranslation Method (Single, Single, Single)
Creates a translation matrix from the specified X, Y, and Z components.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
public: static Matrix4x4 CreateTranslation( float xPosition, float yPosition, float zPosition )
Parameters
- xPosition
- Type: System::Single
The amount to translate on the X axis.
- yPosition
- Type: System::Single
The amount to translate on the Y axis.
- zPosition
- Type: System::Single
The amount to translate on the Z axis.
Show: