docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ScheduleUpdateDynamicTree

    ScheduleUpdateDynamicTree(ref PhysicsWorld, float, float3, JobHandle, bool)

    Schedule a set of jobs to synchronize the collision world with the dynamics world.

    Declaration
    public JobHandle ScheduleUpdateDynamicTree(ref PhysicsWorld world, float timeStep, float3 gravity, JobHandle inputDeps, bool multiThreaded = true)
    Parameters
    Type Name Description
    PhysicsWorld world

    [in,out] The world.

    float timeStep

    The time step.

    float3 gravity

    The gravity.

    JobHandle inputDeps

    The input deps.

    bool multiThreaded

    (Optional) True if multi threaded.

    Returns
    Type Description
    JobHandle

    A JobHandle.

    In This Article
    Back to top
    Copyright © 2023 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)