Plush

MatterFractureEvent#

PlushEngine · Type index

Namespace: PlushEngine.Matter (using PlushEngine.Matter;)

A structural break's source and the pieces newly released. The source may now be inactive; pieces may still be pending until the scene commits the step. Physics and ownership remain with Matter.

public sealed record MatterFractureEvent(RuntimeEntity Source, IReadOnlyList<RuntimeEntity> Pieces)

Record properties#

PropertyTypeAccessConstructor default
SourceRuntimeEntityget; init;required
PiecesIReadOnlyList<RuntimeEntity>get; init;required

RuntimeEntity

Source#