Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RenderObjectCollection Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    A collection of RenderObject.

    System.Object → RenderObjectCollection
    Derived from RenderObjectCollection:

    public class RenderObjectCollection : ICollection<RenderObject>, IReadOnlyList<RenderObject>, IReadOnlyCollection<RenderObject>, IEnumerable<RenderObject>, IEnumerable
    Name Description
    Properties
    Count
    IsReadOnly
    Item[Int32]
    Methods
    Add(RenderObject)
    Clear()
    Contains(RenderObject)
    CopyTo(RenderObject[], Int32)
    GetEnumerator()
    Remove(RenderObject)
    Explicit Interface Implementations
    IEnumerable<RenderObject>.GetEnumerator()
    IEnumerable.GetEnumerator()
    | Improve this Doc View Source

    Properties


    Count

    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    IsReadOnly

    public bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean

    Item[Int32]

    public RenderObject this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    RenderObject
    | Improve this Doc View Source

    Methods


    Add(RenderObject)

    public void Add(RenderObject renderObject)
    Parameters
    Type Name Description
    RenderObject renderObject

    Clear()

    public void Clear()

    Contains(RenderObject)

    public bool Contains(RenderObject renderObject)
    Parameters
    Type Name Description
    RenderObject renderObject
    Returns
    Type Description
    System.Boolean

    CopyTo(RenderObject[], Int32)

    public void CopyTo(RenderObject[] array, int arrayIndex)
    Parameters
    Type Name Description
    RenderObject[] array
    System.Int32 arrayIndex

    GetEnumerator()

    public List<RenderObject>.Enumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.List.Enumerator<>

    Remove(RenderObject)

    public bool Remove(RenderObject renderObject)
    Parameters
    Type Name Description
    RenderObject renderObject
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Explicit Interface Implementations


    IEnumerable<RenderObject>.GetEnumerator()

    IEnumerator<RenderObject> IEnumerable<RenderObject>.GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<RenderObject>

    IEnumerable.GetEnumerator()

    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    ArrayExtensions.ComputeHash<T>(ICollection<T>, IEqualityComparer<T>)
    CollectionExtensions.IndexOf<T>(IReadOnlyList<T>, T)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    EnumerableExtensions.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.LastIndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.NotNull<T>(IEnumerable<T>)
    EnumerableExtensions.ToHashCode<T>(IEnumerable<T>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation