docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromTRS

    FromTRS(Point3, Point3, Point3)

    Create a Matrix from translation, rotation and scaling vectors

    Declaration
    public Matrix4 FromTRS(Point3 T, Point3 R, Point3 S)
    Parameters
    Type Name Description
    Point3 T

    The translation vector

    Point3 R

    The rotations vector

    Point3 S

    The scaling vector

    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)