docs.unity.cn
    Show / Hide Table of Contents

    Class RTree.SpatialNode

    Inheritance
    Object
    RTree.SpatialNode
    Namespace: Unity.Reflect.Collections
    Syntax
    public sealed class SpatialNode : ISpatialObject, IDisposable

    Constructors

    SpatialNode()

    Declaration
    public SpatialNode()

    Fields

    children

    Declaration
    public readonly List<ISpatialObject> children
    Field Value
    Type Description
    List<ISpatialObject>

    parent

    Declaration
    public RTree.SpatialNode parent
    Field Value
    Type Description
    RTree.SpatialNode

    Properties

    Center

    Declaration
    public Vector3 Center { get; }
    Property Value
    Type Description
    Vector3
    Implements
    ISpatialObject.Center

    Depth

    Declaration
    public int Depth { get; }
    Property Value
    Type Description
    Int32

    Entry

    Declaration
    public EntryData Entry { get; set; }
    Property Value
    Type Description
    EntryData
    Implements
    ISpatialObject.Entry

    Id

    Declaration
    public DynamicGuid Id { get; }
    Property Value
    Type Description
    DynamicGuid
    Implements
    ISpatialObject.Id

    Ignore

    Declaration
    public bool Ignore { get; set; }
    Property Value
    Type Description
    Boolean

    isLeaf

    Declaration
    public bool isLeaf { get; }
    Property Value
    Type Description
    Boolean

    IsLoaded

    Declaration
    public bool IsLoaded { get; set; }
    Property Value
    Type Description
    Boolean

    IsVisible

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    Boolean
    Implements
    ISpatialObject.IsVisible

    LoadedObject

    Declaration
    public GameObject LoadedObject { get; set; }
    Property Value
    Type Description
    GameObject
    Implements
    ISpatialObject.LoadedObject

    Max

    Declaration
    public Vector3 Max { get; }
    Property Value
    Type Description
    Vector3
    Implements
    ISpatialObject.Max

    Min

    Declaration
    public Vector3 Min { get; }
    Property Value
    Type Description
    Vector3
    Implements
    ISpatialObject.Min

    OnAdded

    Declaration
    public static Action<ISpatialObject> OnAdded { get; set; }
    Property Value
    Type Description
    Action<ISpatialObject>

    OnChanged

    Declaration
    public static Action<ISpatialObject> OnChanged { get; set; }
    Property Value
    Type Description
    Action<ISpatialObject>

    OnRemoved

    Declaration
    public static Action<ISpatialObject> OnRemoved { get; set; }
    Property Value
    Type Description
    Action<ISpatialObject>

    Priority

    Declaration
    public float Priority { get; set; }
    Property Value
    Type Description
    Single
    Implements
    ISpatialObject.Priority

    Methods

    AdjustBounds()

    Declaration
    public void AdjustBounds()

    Dispose()

    Declaration
    public void Dispose()

    Encapsulates(ISpatialObject)

    Declaration
    public bool Encapsulates(ISpatialObject obj)
    Parameters
    Type Name Description
    ISpatialObject obj
    Returns
    Type Description
    Boolean

    FindChildLeastEnlargement(ISpatialObject)

    Declaration
    public RTree.SpatialNode FindChildLeastEnlargement(ISpatialObject obj)
    Parameters
    Type Name Description
    ISpatialObject obj
    Returns
    Type Description
    RTree.SpatialNode
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 03 February 2022
    Terms of use