Matrix.SetToAlignCoordinateSystems Method
Parent Object: MatrixDescription
Sets this matrix to be the matrix that maps from the 'from' coordinate system to the 'to' coordinate system.
Syntax
Matrix.SetToAlignCoordinateSystems( FromOrigin As Point, FromXAxis As Vector, FromYAxis As Vector, FromZAxis As Vector, ToOrigin As Point, ToXAxis As Vector, ToYAxis As Vector, ToZAxis As Vector )Parameters
Name | Type | Description |
FromOrigin | Point | Input Point object that defines the origin to map the coordinate system from. |
FromXAxis | Vector | Input Vector object that defines the X-axis to map the coordinate system from. |
FromYAxis | Vector | Input Vector object that defines the Y-axis to map the coordinate system from. |
FromZAxis | Vector | Input Vector object that defines the Z-axis to map the coordinate system from. |
ToOrigin | Point | Input Point object that defines the origin to map the coordinate system to. |
ToXAxis | Vector | Input Vector object that defines the X-axis to map the coordinate system to. |
ToYAxis | Vector | Input Vector object that defines the Y-axis to map the coordinate system to. |
ToZAxis | Vector | Input Vector object that defines the Z-axis to map the coordinate system to. |