docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncTree

    Inheritance
    Object
    SyncTree
    Namespace: Unity.Reflect.Collections
    Syntax
    public sealed class SyncTree

    Constructors

    SyncTree()

    Declaration
    public SyncTree()

    Properties

    Bounds

    Declaration
    public Bounds Bounds { get; }
    Property Value
    Type Description
    Bounds

    DelayMode

    Declaration
    public HlodMode DelayMode { get; set; }
    Property Value
    Type Description
    HlodMode

    Depth

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

    HasRootSyncNode

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

    IsDirty

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

    IsPreloading

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

    ObjectCount

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

    RootNode

    Declaration
    public SyncTree.Node RootNode { get; }
    Property Value
    Type Description
    SyncTree.Node

    SyncNodeCount

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

    UseHlods

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

    UsePreloading

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

    Methods

    Add(SyncNode)

    Declaration
    public void Add(SyncNode syncNode)
    Parameters
    Type Name Description
    SyncNode syncNode

    Add(SyncTree.IObject)

    Declaration
    public void Add(SyncTree.IObject obj)
    Parameters
    Type Name Description
    SyncTree.IObject obj

    Clear()

    Declaration
    public void Clear()

    Remove(SyncNode)

    Declaration
    public void Remove(SyncNode syncNode)
    Parameters
    Type Name Description
    SyncNode syncNode

    Remove(SyncTree.IObject)

    Declaration
    public void Remove(SyncTree.IObject obj)
    Parameters
    Type Name Description
    SyncTree.IObject obj

    Search(Vector3, Func<SyncTree.Node, Boolean>, Func<SyncTree.IObject, Single>, List<SyncTree.Object>, List<SyncTree.Node>, List<(DynamicGuid, HlodState)>, Int32)

    Declaration
    public void Search(Vector3 origin, Func<SyncTree.Node, bool> predicate, Func<SyncTree.IObject, float> prioritizer, List<SyncTree.Object> objectOutput, List<SyncTree.Node> nodeOutput, List<(DynamicGuid, HlodState)> hlodStateOutput, int maxResultsCount = 2147483647)
    Parameters
    Type Name Description
    Vector3 origin
    Func<SyncTree.Node, Boolean> predicate
    Func<SyncTree.IObject, Single> prioritizer
    List<SyncTree.Object> objectOutput
    List<SyncTree.Node> nodeOutput
    List<(T1, T2)<DynamicGuid, HlodState>> hlodStateOutput
    Int32 maxResultsCount

    TryCreateObject(DynamicEntry, out SyncTree.IObject)

    Declaration
    public static bool TryCreateObject(DynamicEntry dynamicEntry, out SyncTree.IObject obj)
    Parameters
    Type Name Description
    DynamicEntry dynamicEntry
    SyncTree.IObject obj
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023