docs.unity3d.com
    Show / Hide Table of Contents

    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
    In This Article
    • Constructors
      • MTransform(float3x3, float3)
      • MTransform(quaternion, float3)
      • MTransform(RigidTransform)
    • Fields
      • Rotation
      • Translation
    • Properties
      • Identity
      • InverseRotation
    • Methods
      • Equals(Math.MTransform)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023