docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ChangeOfBasisMatrix

    ChangeOfBasisMatrix(Point3, Point3, Point3, Point3)

    Construct a Change of Basis Matrix (e.g multiplying the point [0,0,0] will result to the point origin)

    Declaration
    public Matrix4 ChangeOfBasisMatrix(Point3 origin, Point3 x, Point3 y, Point3 z)
    Parameters
    Type Name Description
    Point3 origin

    Origin of the new basis

    Point3 x

    X axis of the new basis

    Point3 y

    Y axis of the new basis

    Point3 z

    Z axis of the new basis

    Returns
    Type Description
    Matrix4
    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)