Click or drag to resize

UtilChangeCoordinateSystem Method

Converts a matrix from one coordinate system to another.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Matrix ChangeCoordinateSystem(
	Matrix m,
	CoordinateSystem from,
	CoordinateSystem to
)

Parameters

m
Type: Microsoft.DirectXMatrix
The matrix in the coordinate system of from.
from
Type: Demo3D.CommonCoordinateSystem
The coordinate system for the matrix to convert from.
to
Type: Demo3D.CommonCoordinateSystem
The coordinate system for the resulting matrix.

Return Value

Type: Matrix
The matrix in the coordinate system of to.
See Also