Class ISimulationUpdate.SimUpdateProcessor
- Namespace
- Stride.BepuPhysics.Components
- Assembly
- Stride.BepuPhysics.dll
public class ISimulationUpdate.SimUpdateProcessor : IComponent<ISimulationUpdate.SimUpdateProcessor, ISimulationUpdate>.IProcessor, IProcessorBase
- Inheritance
-
objectISimulationUpdate.SimUpdateProcessor
- Implements
Methods
OnComponentAdded(ISimulationUpdate)
Occurs right after a component is added to the scene
public void OnComponentAdded(ISimulationUpdate item)
Parameters
itemISimulationUpdate
OnComponentRemoved(ISimulationUpdate)
Occurs right after a component is removed from the scene
public void OnComponentRemoved(ISimulationUpdate item)
Parameters
itemISimulationUpdate
RebindSimulation(ISimulationUpdate)
public void RebindSimulation(ISimulationUpdate item)
Parameters
itemISimulationUpdate
SystemAdded(IServiceRegistry)
Occurs right after the first component handled by this processor is added to the scene, but before OnComponentAdded(IMarkedComponent)
public void SystemAdded(IServiceRegistry registryParam)
Parameters
registryParamIServiceRegistry
SystemRemoved()
Occurs right after the last component handled by this processor is removed from the scene, after the call to OnComponentRemoved(IMarkedComponent)
public void SystemRemoved()
TryGetSimulationOf(ISimulationUpdate, out BepuSimulation)
public bool TryGetSimulationOf(ISimulationUpdate item, out BepuSimulation sim)
Parameters
itemISimulationUpdatesimBepuSimulation