docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISimulation

    Namespace: Unity.Physics
    Syntax
    public interface ISimulation : IDisposable

    Properties

    FinalJobHandle

    Declaration
    JobHandle FinalJobHandle { get; }
    Property Value
    Type Description
    JobHandle

    FinalSimulationJobHandle

    Declaration
    JobHandle FinalSimulationJobHandle { get; }
    Property Value
    Type Description
    JobHandle

    Type

    Declaration
    SimulationType Type { get; }
    Property Value
    Type Description
    SimulationType

    Methods

    ScheduleStepJobs(SimulationStepInput, SimulationCallbacks, JobHandle, Boolean)

    Declaration
    SimulationJobHandles ScheduleStepJobs(SimulationStepInput input, SimulationCallbacks callbacks, JobHandle inputDeps, bool multiThreaded = true)
    Parameters
    Type Name Description
    SimulationStepInput input
    SimulationCallbacks callbacks
    JobHandle inputDeps
    Boolean multiThreaded
    Returns
    Type Description
    SimulationJobHandles

    Step(SimulationStepInput)

    Declaration
    void Step(SimulationStepInput input)
    Parameters
    Type Name Description
    SimulationStepInput input
    In This Article
    • Properties
      • FinalJobHandle
      • FinalSimulationJobHandle
      • Type
    • Methods
      • ScheduleStepJobs(SimulationStepInput, SimulationCallbacks, JobHandle, Boolean)
      • Step(SimulationStepInput)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023