Class MatrixUtils | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class MatrixUtils

    Inheritance
    Object
    MatrixUtils
    Namespace: Unity.UIWidgets.painting
    Syntax
    public static class MatrixUtils

    Methods

    debugDescribeTransform(Matrix3)

    Declaration
    public static List<string> debugDescribeTransform(Matrix3 transform)
    Parameters
    Type Name Description
    Matrix3 transform
    Returns
    Type Description
    List<String>

    getAsTranslation(Matrix3)

    Declaration
    public static Offset getAsTranslation(this Matrix3 matrix3)
    Parameters
    Type Name Description
    Matrix3 matrix3
    Returns
    Type Description
    Offset

    perspectiveTransform(Matrix4x4, Vector3)

    Declaration
    public static Vector3 perspectiveTransform(this Matrix4x4 m4, Vector3 arg)
    Parameters
    Type Name Description
    Matrix4x4 m4
    Vector3 arg
    Returns
    Type Description
    Vector3

    toMatrix4x4(Matrix3)

    Declaration
    public static Matrix4x4 toMatrix4x4(this Matrix3 matrix3)
    Parameters
    Type Name Description
    Matrix3 matrix3
    Returns
    Type Description
    Matrix4x4

    transformPoint(Matrix4x4, Offset)

    Declaration
    public static Offset transformPoint(Matrix4x4 transform, Offset point)
    Parameters
    Type Name Description
    Matrix4x4 transform
    Offset point
    Returns
    Type Description
    Offset

    transformRect(Matrix4x4, Rect)

    Declaration
    public static Rect transformRect(Matrix4x4 transform, Rect rect)
    Parameters
    Type Name Description
    Matrix4x4 transform
    Rect rect
    Returns
    Type Description
    Rect
    Back to top
    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