ModelTransformProcessor Class
Namespace: Stride.Engine.ProcessorsAssembly: Stride.Engine.dll
The processor for ModelComponent.
System.Object → EntityProcessor → EntityProcessor<ModelComponent, ModelTransformProcessor.ModelTransformationInfo> →
ModelTransformProcessor
Derived from ModelTransformProcessor:
public class ModelTransformProcessor : EntityProcessor<ModelComponent, ModelTransformProcessor.ModelTransformationInfo>
Constructors
ModelTransformProcessor()
Initializes a new instance of the ModelTransformProcessor class.
public ModelTransformProcessor()
Methods
GenerateComponentData(Entity, ModelComponent)
protected override ModelTransformProcessor.ModelTransformationInfo GenerateComponentData(Entity entity, ModelComponent component)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
ModelComponent | component |
Returns
Type | Description |
---|---|
ModelTransformProcessor.ModelTransformationInfo |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo>.GenerateComponentData(Stride.Engine.Entity, Stride.Engine.ModelComponent)
IsAssociatedDataValid(Entity, ModelComponent, ModelTransformProcessor.ModelTransformationInfo)
protected override bool IsAssociatedDataValid(Entity entity, ModelComponent component, ModelTransformProcessor.ModelTransformationInfo associatedData)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
ModelComponent | component | |
ModelTransformProcessor.ModelTransformationInfo | associatedData |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo>.IsAssociatedDataValid(Stride.Engine.Entity, Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo)
OnEntityComponentAdding(Entity, ModelComponent, ModelTransformProcessor.ModelTransformationInfo)
protected override void OnEntityComponentAdding(Entity entity, ModelComponent component, ModelTransformProcessor.ModelTransformationInfo data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
ModelComponent | component | |
ModelTransformProcessor.ModelTransformationInfo | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo>.OnEntityComponentAdding(Stride.Engine.Entity, Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo)
OnEntityComponentRemoved(Entity, ModelComponent, ModelTransformProcessor.ModelTransformationInfo)
protected override void OnEntityComponentRemoved(Entity entity, ModelComponent component, ModelTransformProcessor.ModelTransformationInfo data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
ModelComponent | component | |
ModelTransformProcessor.ModelTransformationInfo | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo>.OnEntityComponentRemoved(Stride.Engine.Entity, Stride.Engine.ModelComponent, Stride.Engine.Processors.ModelTransformProcessor.ModelTransformationInfo)