docs.unity.cn
    Show / Hide Table of Contents

    Class IContactsJobExtensions

    The contacts job extensions.

    Inheritance
    Object
    IContactsJobExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Physics
    Syntax
    public static class IContactsJobExtensions

    Methods

    EarlyJobInit<T>()

    Early job initialize.

    Declaration
    public static void EarlyJobInit<T>()
        where T : struct, IContactsJobBase
    Type Parameters
    Name Description
    T

    Generic type parameter.

    Schedule<T>(T, SimulationSingleton, ref PhysicsWorld, JobHandle)

    Default Schedule() implementation for IContactsJob.

    Declaration
    public static JobHandle Schedule<T>(this T jobData, SimulationSingleton simulationSingleton, ref PhysicsWorld world, JobHandle inputDeps)
        where T : struct, IContactsJobBase
    Parameters
    Type Name Description
    T jobData

    The jobData to act on.

    SimulationSingleton simulationSingleton

    The simulation singleton.

    PhysicsWorld world

    [in,out] The world.

    JobHandle inputDeps

    The input deps.

    Returns
    Type Description
    JobHandle

    A JobHandle.

    Type Parameters
    Name Description
    T

    Generic type parameter.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023