Table of Contents

Class CollidableProcessor

Namespace
Stride.BepuPhysics.Systems
Assembly
Stride.BepuPhysics.dll
public class CollidableProcessor : EntityProcessor<CollidableComponent>
Inheritance
CollidableProcessor
Inherited Members

Constructors

CollidableProcessor()

public CollidableProcessor()

Fields

OnPostAdd

public Action<CollidableComponent>? OnPostAdd

Field Value

Action<CollidableComponent>

OnPreRemove

public Action<CollidableComponent>? OnPreRemove

Field Value

Action<CollidableComponent>

Properties

BepuConfiguration

public BepuConfiguration BepuConfiguration { get; }

Property Value

BepuConfiguration

Methods

Draw(RenderContext)

Performs work related to this processor.

public override void Draw(RenderContext context)

Parameters

context RenderContext

OnEntityComponentAdding(Entity, CollidableComponent, CollidableComponent)

Run when a matching entity is added to this entity processor.

protected override void OnEntityComponentAdding(Entity entity, CollidableComponent component, CollidableComponent data)

Parameters

entity Entity

The entity.

component CollidableComponent
data CollidableComponent

The associated data.

OnEntityComponentRemoved(Entity, CollidableComponent, CollidableComponent)

Run when a matching entity is removed from this entity processor.

protected override void OnEntityComponentRemoved(Entity entity, CollidableComponent component, CollidableComponent data)

Parameters

entity Entity

The entity.

component CollidableComponent
data CollidableComponent

The associated data.

OnSystemAdd()

Run when this EntityProcessor is added to an EntityManager.

protected override void OnSystemAdd()