docs.unity3d.com
    Show / Hide Table of Contents

    Struct SimulationContext

    Holds temporary data in a storage that lives as long as simulation lives and is only re- allocated if necessary.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Havok.Physics
    Syntax
    public struct SimulationContext : IDisposable

    Constructors

    SimulationContext(HavokConfiguration)

    Constructor.

    Declaration
    public SimulationContext(HavokConfiguration config)
    Parameters
    Type Name Description
    HavokConfiguration config

    The HavokConfiguration.

    Methods

    Dispose()

    Disposes internal memory.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Reset(ref PhysicsWorld)

    Resets the simulation context.

    Declaration
    public void Reset(ref PhysicsWorld world)
    Parameters
    Type Name Description
    PhysicsWorld world

    [in,out] The PhysicsWorld.

    Back to top
    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