Table of Contents

Class ISimulationUpdate.SimUpdateProcessor

Namespace
Stride.BepuPhysics.Components
Assembly
Stride.BepuPhysics.dll
public class ISimulationUpdate.SimUpdateProcessor : IComponent<ISimulationUpdate.SimUpdateProcessor, ISimulationUpdate>.IProcessor, IProcessorBase
Inheritance
ISimulationUpdate.SimUpdateProcessor
Implements

Methods

OnComponentAdded(ISimulationUpdate)

Occurs right after a component is added to the scene

public void OnComponentAdded(ISimulationUpdate item)

Parameters

item ISimulationUpdate

OnComponentRemoved(ISimulationUpdate)

Occurs right after a component is removed from the scene

public void OnComponentRemoved(ISimulationUpdate item)

Parameters

item ISimulationUpdate

RebindSimulation(ISimulationUpdate)

public void RebindSimulation(ISimulationUpdate item)

Parameters

item ISimulationUpdate

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

registryParam IServiceRegistry

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

item ISimulationUpdate
sim BepuSimulation

Returns

bool