docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method scaleMul

    scaleMul(float3, float3x3)

    Matrix rows multiplied by scale components m.c0.x * s.x | m.c1.x * s.x | m.c2.x * s.x m.c0.y * s.y | m.c1.y * s.y | m.c2.y * s.y m.c0.z * s.z | m.c1.z * s.z | m.c2.z * s.z

    Declaration
    public static float3x3 scaleMul(float3 s, float3x3 m)
    Parameters
    Type Name Description
    float3 s

    Scaling coefficients for each row.

    float3x3 m

    Matrix to scale.

    Returns
    Type Description
    float3x3

    The scaled matrix.

    In This Article
    Back to top
    Copyright © 2024 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)