Struct Broadphase.Tree | 2D Entities | 0.22.0-preview.8
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Broadphase.Tree

    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public struct Tree : IDisposable

    Constructors

    Tree(Int32)

    Declaration
    public Tree(int bodyCount)
    Parameters
    Type Name Description
    Int32 bodyCount

    Fields

    BodyFilters

    Declaration
    public NativeArray<CollisionFilter> BodyFilters
    Field Value
    Type Description
    NativeArray<CollisionFilter>

    NodeFilters

    Declaration
    public NativeArray<CollisionFilter> NodeFilters
    Field Value
    Type Description
    NativeArray<CollisionFilter>

    Nodes

    Declaration
    public NativeArray<BoundingVolumeHierarchy.Node> Nodes
    Field Value
    Type Description
    NativeArray<BoundingVolumeHierarchy.Node>

    Properties

    BodyCount

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

    BoundingVolumeHierarchy

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

    Methods

    Clone()

    Declaration
    public Broadphase.Tree Clone()
    Returns
    Type Description
    Broadphase.Tree

    Dispose()

    Declaration
    public void Dispose()

    Reset(Int32)

    Declaration
    public void Reset(int bodyCount)
    Parameters
    Type Name Description
    Int32 bodyCount
    Back to top
    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