{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method Mul | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Mul

    Mul(MTransform, MTransform)

    Returns cFromA = cFromB * bFromA.

    Declaration
    public static Math.MTransform Mul(Math.MTransform cFromB, Math.MTransform bFromA)
    Parameters
    Type Name Description
    Math.MTransform cFromB

    cFromB.

    Math.MTransform bFromA

    bFromA.

    Returns
    Type Description
    Math.MTransform

    A MTransform, cFromA.

    Mul(MTransform, float3)

    Multiplies the point by the transform.

    Declaration
    public static float3 Mul(Math.MTransform a, float3 x)
    Parameters
    Type Name Description
    Math.MTransform a

    A MTransform to multiply with.

    float3 x

    A point to process.

    Returns
    Type Description
    float3

    A transformed point.

    Mul(ScaledMTransform, ScaledMTransform)

    Returns cFromA = cFromB * bFromA.

    Declaration
    public static Math.ScaledMTransform Mul(Math.ScaledMTransform cFromB, Math.ScaledMTransform bFromA)
    Parameters
    Type Name Description
    Math.ScaledMTransform cFromB

    cFromB.

    Math.ScaledMTransform bFromA

    bFromA.

    Returns
    Type Description
    Math.ScaledMTransform

    A ScaledMTransform, cFromA.

    Mul(ScaledMTransform, float3)

    Multiplies the point by the transform.

    Declaration
    public static float3 Mul(Math.ScaledMTransform a, float3 x)
    Parameters
    Type Name Description
    Math.ScaledMTransform a

    A ScaledMTransform to multiply with.

    float3 x

    A point to process.

    Returns
    Type Description
    float3

    A transformed point.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)