docs.unity.cn
    Show / Hide Table of Contents

    Method RandomPointsInUnitSphere

    RandomPointsInUnitSphere(NativeArray<float3>)

    A function that generates random points inside of a unit sphere. Schedules and completes jobs, before returning to its caller.

    Declaration
    public static void RandomPointsInUnitSphere(NativeArray<float3> points)
    Parameters
    Type Name Description
    NativeArray<float3> points

    A NativeArray in which to store the randomly generated points

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023