{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method ScheduleBroadphaseBVHBuild | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ScheduleBroadphaseBVHBuild

    ScheduleBroadphaseBVHBuild(ref PhysicsWorld, ReadOnly, in JobHandle, float, bool, float3)

    Schedule jobs to build broadphase BoundingVolumeHierarchy of the specified PhysicsWorld.

    Declaration
    public static JobHandle ScheduleBroadphaseBVHBuild(ref PhysicsWorld world, NativeReference<int>.ReadOnly haveStaticBodiesChanged, in JobHandle inputDep, float timeStep, bool isBroadphaseBuildMultiThreaded, float3 gravity)
    Parameters
    Type Name Description
    PhysicsWorld world

    [in,out] The world.

    NativeReference<int>.ReadOnly haveStaticBodiesChanged

    The have static bodies changed.

    JobHandle inputDep

    The input dependency.

    float timeStep

    The time step.

    bool isBroadphaseBuildMultiThreaded

    True if is broadphase build multi threaded, false if not.

    float3 gravity

    The gravity.

    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)