本文整理汇总了C#中MATRIX类的典型用法代码示例。如果您正苦于以下问题:C# MATRIX类的具体用法?C# MATRIX怎么用?C# MATRIX使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MATRIX类属于命名空间,在下文中一共展示了MATRIX类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: dx_CreateInverseMatrix_x64
extern static int dx_CreateInverseMatrix_x64( out MATRIX Out, out MATRIX In);
示例2: dx_MV1SetFrameTextureAddressTransformMatrix_x64
extern static int dx_MV1SetFrameTextureAddressTransformMatrix_x64( int MHandle, int FrameIndex, MATRIX Matrix);
示例3: dx_MV1SetFrameUserLocalWorldMatrix_x64
extern static int dx_MV1SetFrameUserLocalWorldMatrix_x64( int MHandle, int FrameIndex, MATRIX Matrix);
示例4: dx_MV1SetMatrix_x64
extern static int dx_MV1SetMatrix_x64( int MHandle, MATRIX Matrix);
示例5: MGetSize
public static VECTOR MGetSize( MATRIX InM)
{
if( System.IntPtr.Size == 4 )
{
return dx_MGetSize_x86( InM );
}
else
{
return dx_MGetSize_x64( InM );
}
}
示例6: MInverse
public static MATRIX MInverse( MATRIX InM)
{
if( System.IntPtr.Size == 4 )
{
return dx_MInverse_x86( InM );
}
else
{
return dx_MInverse_x64( InM );
}
}
示例7: dx_MTranspose_x64
extern static MATRIX dx_MTranspose_x64( MATRIX InM);
示例8: dx_GetMatrixZYXRotation_x64
extern static int dx_GetMatrixZYXRotation_x64( out MATRIX In, out float OutXRot, out float OutYRot, out float OutZRot);
示例9: CreateRotationZYXMatrix
public static int CreateRotationZYXMatrix( out MATRIX Out, float XRot, float YRot, float ZRot)
{
if( System.IntPtr.Size == 4 )
{
return dx_CreateRotationZYXMatrix_x86( out Out , XRot , YRot , ZRot );
}
else
{
return dx_CreateRotationZYXMatrix_x64( out Out , XRot , YRot , ZRot );
}
}
示例10: dx_CreateRotationZYXMatrix_x64
extern static int dx_CreateRotationZYXMatrix_x64( out MATRIX Out, float XRot, float YRot, float ZRot);
示例11: dx_CreateRotationYXZMatrix_x86
extern static int dx_CreateRotationYXZMatrix_x86( out MATRIX Out, float XRot, float YRot, float ZRot);
示例12: CreateViewportMatrix
public static int CreateViewportMatrix( out MATRIX Out, float CenterX, float CenterY, float Width, float Height)
{
if( System.IntPtr.Size == 4 )
{
return dx_CreateViewportMatrix_x86( out Out , CenterX , CenterY , Width , Height );
}
else
{
return dx_CreateViewportMatrix_x64( out Out , CenterX , CenterY , Width , Height );
}
}
示例13: dx_CreateViewportMatrix_x64
extern static int dx_CreateViewportMatrix_x64( out MATRIX Out, float CenterX, float CenterY, float Width, float Height);
示例14: CreateInverseMatrix
public static int CreateInverseMatrix( out MATRIX Out, out MATRIX In)
{
if( System.IntPtr.Size == 4 )
{
return dx_CreateInverseMatrix_x86( out Out , out In );
}
else
{
return dx_CreateInverseMatrix_x64( out Out , out In );
}
}
示例15: dx_MAdd_x64
extern static MATRIX dx_MAdd_x64( MATRIX In1, MATRIX In2);