TransformProcessor Class
Namespace: Stride.Engine.ProcessorsAssembly: Stride.Engine.dll
Handle Children and updates WorldMatrix of entities.
public class TransformProcessor : EntityProcessor<TransformComponent>
Name | Description | |
---|---|---|
Constructors | ||
TransformProcessor() | Initializes a new instance of the TransformProcessor class. |
|
Methods | ||
Draw(RenderContext) | Updates all the WorldMatrix. |
|
OnEntityComponentAdding(Entity, TransformComponent, TransformComponent) | Run when a matching entity is added to this entity processor. |
|
OnEntityComponentRemoved(Entity, TransformComponent, TransformComponent) | Run when a matching entity is removed from this entity processor. |
|
OnSystemAdd() | Run when this EntityProcessor is added to an EntityManager. |
|
OnSystemRemove() | Run when this EntityProcessor is removed from an EntityManager. |
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
Type | Name | Description |
---|---|---|
RenderContext | context | The render context. |
Overrides
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
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
TransformComponent | component | |
TransformComponent | data |
Overrides
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
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
TransformComponent | component | |
TransformComponent | data |
Overrides
OnSystemAdd()
Run when this EntityProcessor is added to an EntityManager.
protected override void OnSystemAdd()
Overrides
OnSystemRemove()
Run when this EntityProcessor is removed from an EntityManager.
protected override void OnSystemRemove()