docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method NextFloat3Direction

    NextFloat3Direction()

    Returns a unit length float3 vector representing a uniformly random 3D direction.

    Declaration
    public float3 NextFloat3Direction()
    Returns
    Type Description
    float3

    A uniformly random unit length float3 vector.

    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)