Table of Contents

Class TransformProcessor

Namespace
Stride.Engine.Processors
Assembly
Stride.Engine.dll

Handle Children and updates WorldMatrix of entities.

public class TransformProcessor : EntityProcessor<TransformComponent>
Inheritance
TransformProcessor
Inherited Members

Constructors

TransformProcessor()

Initializes a new instance of the TransformProcessor class.

public TransformProcessor()

Methods

Draw(RenderContext)

Updates all the WorldMatrix.

public override void Draw(RenderContext context)

Parameters

context RenderContext

The render context.

OnEntityComponentAdding(Entity, TransformComponent, TransformComponent)

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

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

Parameters

entity Entity

The entity.

component TransformComponent
data TransformComponent

The associated data.

OnEntityComponentRemoved(Entity, TransformComponent, TransformComponent)

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

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

Parameters

entity Entity

The entity.

component TransformComponent
data TransformComponent

The associated data.

OnSystemAdd()

Run when this EntityProcessor is added to an EntityManager.

protected override void OnSystemAdd()

OnSystemRemove()

Run when this EntityProcessor is removed from an EntityManager.

protected override void OnSystemRemove()