Struct SimulationContext
Holds temporary data in a storage that lives as long as simulation lives and is only re- allocated if necessary.
Inherited Members
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
Reset(ref PhysicsWorld)
Resets the simulation context.
Declaration
public void Reset(ref PhysicsWorld world)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsWorld | world | [in,out] The PhysicsWorld. |