LightProbeProcessor Class
Namespace: Stride.Rendering.LightProbesAssembly: Stride.Engine.dll
System.Object → EntityProcessor → EntityProcessor<LightProbeComponent, LightProbeComponent> → EntityProcessor<LightProbeComponent> →
LightProbeProcessor
Derived from LightProbeProcessor:
public class LightProbeProcessor : EntityProcessor<LightProbeComponent>, IEntityComponentRenderProcessor
Name | Description | |
---|---|---|
Constructors | ||
LightProbeProcessor() | ||
Properties | ||
VisibilityGroup | ||
Methods | ||
Draw(RenderContext) | ||
OnEntityComponentAdding(Entity, LightProbeComponent, LightProbeComponent) | ||
OnEntityComponentRemoved(Entity, LightProbeComponent, LightProbeComponent) | ||
UpdateLightProbeCoefficients() | Updates only the coefficients of the light probes (from Coefficients to Coefficients). |
|
UpdateLightProbePositions() | Light probe runtime data is auto-computed when lightprobes are added/removed. If you move them at runtime, please call this method. |
Constructors
LightProbeProcessor()
public LightProbeProcessor()
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
OnEntityComponentAdding(Entity, LightProbeComponent, LightProbeComponent)
protected override void OnEntityComponentAdding(Entity entity, LightProbeComponent component, LightProbeComponent data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
LightProbeComponent | component | |
LightProbeComponent | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightProbeComponent, Stride.Engine.LightProbeComponent>.OnEntityComponentAdding(Stride.Engine.Entity, Stride.Engine.LightProbeComponent, Stride.Engine.LightProbeComponent)
OnEntityComponentRemoved(Entity, LightProbeComponent, LightProbeComponent)
protected override void OnEntityComponentRemoved(Entity entity, LightProbeComponent component, LightProbeComponent data)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | |
LightProbeComponent | component | |
LightProbeComponent | data |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightProbeComponent, Stride.Engine.LightProbeComponent>.OnEntityComponentRemoved(Stride.Engine.Entity, Stride.Engine.LightProbeComponent, Stride.Engine.LightProbeComponent)
UpdateLightProbeCoefficients()
Updates only the coefficients of the light probes (from Coefficients to Coefficients).
public void UpdateLightProbeCoefficients()
UpdateLightProbePositions()
Light probe runtime data is auto-computed when lightprobes are added/removed. If you move them at runtime, please call this method.
public void UpdateLightProbePositions()
Remarks
This will also update coefficients.