Struct Math.MTransform
Namespace: Unity.Physics
Syntax
public struct MTransform : IEquatable<Math.MTransform>
Constructors
MTransform(float3x3, float3)
Declaration
public MTransform(float3x3 rotation, float3 translation)
Parameters
Type | Name | Description |
---|---|---|
float3x3 | rotation | |
float3 | translation |
MTransform(quaternion, float3)
Declaration
public MTransform(quaternion rotation, float3 translation)
Parameters
Type | Name | Description |
---|---|---|
quaternion | rotation | |
float3 | translation |
MTransform(RigidTransform)
Declaration
public MTransform(RigidTransform transform)
Parameters
Type | Name | Description |
---|---|---|
RigidTransform | transform |
Fields
Rotation
Declaration
public float3x3 Rotation
Field Value
Type | Description |
---|---|
float3x3 |
Translation
Declaration
public float3 Translation
Field Value
Type | Description |
---|---|
float3 |
Properties
Identity
Declaration
public static readonly Math.MTransform Identity { get; }
Property Value
Type | Description |
---|---|
Math.MTransform |
InverseRotation
Declaration
public readonly float3x3 InverseRotation { get; }
Property Value
Type | Description |
---|---|
float3x3 |
Methods
Equals(Math.MTransform)
Declaration
public bool Equals(Math.MTransform other)
Parameters
Type | Name | Description |
---|---|---|
Math.MTransform | other |
Returns
Type | Description |
---|---|
Boolean |