Class SceneRendererCollection
- Namespace
- Stride.Rendering.Compositing
- Assembly
- Stride.Rendering.dll
A collection of ISceneRenderer.
public class SceneRendererCollection : SceneRendererBase, IComponent, IReferencable, ICollectorHolder, ISceneRenderer, IRenderCollector, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable, IEnumerable<ISceneRenderer>, IEnumerable
- Inheritance
-
SceneRendererCollection
- Implements
- Inherited Members
- Extension Methods
Properties
Children
[Display(null, null, Expand = ExpandRule.Always)]
public List<ISceneRenderer> Children { get; }
Property Value
Methods
Add(ISceneRenderer)
public void Add(ISceneRenderer child)
Parameters
child
ISceneRenderer
CollectCore(RenderContext)
Main collect method.
protected override void CollectCore(RenderContext context)
Parameters
context
RenderContext
DrawCore(RenderContext, RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderContext context, RenderDrawContext drawContext)
Parameters
context
RenderContextdrawContext
RenderDrawContext
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<ISceneRenderer> GetEnumerator()
Returns
- IEnumerator<ISceneRenderer>
An enumerator that can be used to iterate through the collection.