docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Translate

    | Improve this Doc View Source

    Translate(float3)

    Returns a float4x4 translation matrix given a float3 translation vector.

    Declaration
    public static float4x4 Translate(float3 vector)
    Parameters
    Type Name Description
    float3 vector

    The translation vector.

    Returns
    Type Description
    float4x4

    The float4x4 translation matrix.

    • Improve this Doc
    • View Source
    In This Article
    Back to top
    Copyright © 2026 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)