InstancingProcessor Class
Namespace: Stride.Engine.ProcessorsAssembly: Stride.Engine.dll
System.Object → EntityProcessor → EntityProcessor<InstancingComponent, InstancingProcessor.InstancingData> →
InstancingProcessor
Derived from InstancingProcessor:
public class InstancingProcessor : EntityProcessor<InstancingComponent, InstancingProcessor.InstancingData>, IEntityComponentRenderProcessor
Constructors
InstancingProcessor()
public InstancingProcessor()
Properties
VisibilityGroup
public VisibilityGroup VisibilityGroup { get; set; }
Property Value
Type | Description |
---|---|
VisibilityGroup |
Methods
Draw(RenderContext)
public override void Draw(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context |
Overrides
GenerateComponentData(Entity, InstancingComponent)
protected override InstancingProcessor.InstancingData GenerateComponentData(Entity entity, InstancingComponent component)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
InstancingComponent | component |
Returns
Type | Description |
---|---|
InstancingProcessor.InstancingData |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.GenerateComponentData(Stride.Engine.Entity, Stride.Engine.InstancingComponent)
IsAssociatedDataValid(Entity, InstancingComponent, InstancingProcessor.InstancingData)
protected override bool IsAssociatedDataValid(Entity entity, InstancingComponent component, InstancingProcessor.InstancingData associatedData)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
InstancingComponent | component | |
InstancingProcessor.InstancingData | associatedData |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.IsAssociatedDataValid(Stride.Engine.Entity, Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData)
OnEntityComponentAdding(Entity, InstancingComponent, InstancingProcessor.InstancingData)
protected override void OnEntityComponentAdding(Entity entity, InstancingComponent component, InstancingProcessor.InstancingData data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
InstancingComponent | component | |
InstancingProcessor.InstancingData | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.OnEntityComponentAdding(Stride.Engine.Entity, Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData)
OnEntityComponentRemoved(Entity, InstancingComponent, InstancingProcessor.InstancingData)
protected override void OnEntityComponentRemoved(Entity entity, InstancingComponent component, InstancingProcessor.InstancingData data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
InstancingComponent | component | |
InstancingProcessor.InstancingData | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.OnEntityComponentRemoved(Stride.Engine.Entity, Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData)
OnSystemAdd()
protected override void OnSystemAdd()
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.OnSystemAdd()
OnSystemRemove()
protected override void OnSystemRemove()
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.InstancingComponent, Stride.Engine.Processors.InstancingProcessor.InstancingData>.OnSystemRemove()