docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ColliderAspect.Enumerator

    Enumerable and Enumerator of the enclosing aspect.

    Implements
    IEnumerator<ColliderAspect>
    IEnumerator
    IDisposable
    IEnumerable<ColliderAspect>
    IEnumerable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.Aspects
    Assembly: Unity.Physics.dll
    Syntax
    public struct ColliderAspect.Enumerator : IEnumerator<ColliderAspect>, IEnumerator, IDisposable, IEnumerable<ColliderAspect>, IEnumerable

    Properties

    Current

    Get current entity aspect.

    Declaration
    public ColliderAspect Current { get; }
    Property Value
    Type Description
    ColliderAspect

    Methods

    Dispose()

    Dispose of this enumerator.

    Declaration
    public void Dispose()

    GetEnumerator()

    Get the Enumerator from itself as a Enumerable.

    Declaration
    public ColliderAspect.Enumerator GetEnumerator()
    Returns
    Type Description
    ColliderAspect.Enumerator

    An Enumerator of the enclosing aspect.

    MoveNext()

    Move to next entity.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

    if this enumerator has not reach the end of the enumeration yet. Current is valid.

    Implements

    IEnumerator<T>
    IEnumerator
    IDisposable
    IEnumerable<T>
    IEnumerable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)