Struct GeneratePoints | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct GeneratePoints

    Namespace: Unity.Mathematics
    Syntax
    public struct GeneratePoints

    Methods

    RandomPointsInSphere(float3, Single, NativeArray<float3>)

    Declaration
    public static void RandomPointsInSphere(float3 center, float radius, NativeArray<float3> points)
    Parameters
    Type Name Description
    float3 center
    System.Single radius
    NativeArray<float3> points

    RandomPointsInSphere(float3, Single, NativeArray<float3>, JobHandle)

    Declaration
    public static JobHandle RandomPointsInSphere(float3 center, float radius, NativeArray<float3> points, JobHandle inputDeps)
    Parameters
    Type Name Description
    float3 center
    System.Single radius
    NativeArray<float3> points
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle

    RandomPointsInUnitSphere(NativeArray<float3>)

    Declaration
    public static void RandomPointsInUnitSphere(NativeArray<float3> points)
    Parameters
    Type Name Description
    NativeArray<float3> points
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX