Show / Hide Table of Contents

Class MyTransform

Inheritance
System.Object
MyTransform
Namespace: VRageMath
Assembly: VRage.Math.dll
Syntax
public sealed class MyTransform : ValueType

Constructors

MyTransform(Matrix)

Declaration
public MyTransform(Matrix matrix)
Parameters
Type Name Description
Matrix matrix

MyTransform(ref Matrix)

Declaration
public MyTransform(ref Matrix matrix)
Parameters
Type Name Description
Matrix matrix

MyTransform(Vector3)

Declaration
public MyTransform(Vector3 position)
Parameters
Type Name Description
Vector3 position

MyTransform(ref Vector3)

Declaration
public MyTransform(ref Vector3 position)
Parameters
Type Name Description
Vector3 position

Fields

Position

Declaration
public Vector3 Position
Field Value
Type Description
Vector3

Rotation

Declaration
[Serialize]
public Quaternion Rotation
Field Value
Type Description
Quaternion

Properties

TransformMatrix

Declaration
public Matrix TransformMatrix { get; }
Property Value
Type Description
Matrix

Methods

Transform(ref MyTransform, ref MyTransform)

Declaration
public static MyTransform Transform(ref MyTransform t1, ref MyTransform t2)
Parameters
Type Name Description
MyTransform t1
MyTransform t2
Returns
Type Description
MyTransform

Transform(ref MyTransform, ref MyTransform, out MyTransform)

Declaration
public static void Transform(ref MyTransform t1, ref MyTransform t2, out MyTransform result)
Parameters
Type Name Description
MyTransform t1
MyTransform t2
MyTransform result

Transform(ref Vector3, ref MyTransform)

Declaration
public static Vector3 Transform(ref Vector3 v, ref MyTransform t2)
Parameters
Type Name Description
Vector3 v
MyTransform t2
Returns
Type Description
Vector3

Transform(ref Vector3, ref MyTransform, out Vector3)

Declaration
public static void Transform(ref Vector3 v, ref MyTransform t2, out Vector3 result)
Parameters
Type Name Description
Vector3 v
MyTransform t2
Vector3 result
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾