docs.unity3d.com
    Show / Hide Table of Contents

    Struct BoundingVolumeHierarchy.Node

    Namespace: Unity.Physics
    Syntax
    public struct Node

    Fields

    Bounds

    Declaration
    public FourTransposedAabbs Bounds
    Field Value
    Type Description
    FourTransposedAabbs

    Data

    Declaration
    public int4 Data
    Field Value
    Type Description
    int4

    Flags

    Declaration
    public int Flags
    Field Value
    Type Description
    Int32

    Properties

    AreInternalsValid

    Declaration
    public readonly bool4 AreInternalsValid { get; }
    Property Value
    Type Description
    bool4

    AreLeavesValid

    Declaration
    public readonly bool4 AreLeavesValid { get; }
    Property Value
    Type Description
    bool4

    Empty

    Declaration
    public static readonly BoundingVolumeHierarchy.Node Empty { get; }
    Property Value
    Type Description
    BoundingVolumeHierarchy.Node

    IsInternal

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

    IsLeaf

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

    Methods

    ClearInternalData(Int32)

    Declaration
    public void ClearInternalData(int index)
    Parameters
    Type Name Description
    Int32 index

    ClearLeafData(Int32)

    Declaration
    public void ClearLeafData(int index)
    Parameters
    Type Name Description
    Int32 index

    IsChildValid(Int32)

    Declaration
    public bool IsChildValid(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Boolean

    IsInternalValid(Int32)

    Declaration
    public bool IsInternalValid(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Boolean

    IsLeafValid(Int32)

    Declaration
    public bool IsLeafValid(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Boolean

    NumValidChildren()

    Declaration
    public int NumValidChildren()
    Returns
    Type Description
    Int32
    In This Article
    • Fields
      • Bounds
      • Data
      • Flags
    • Properties
      • AreInternalsValid
      • AreLeavesValid
      • Empty
      • IsInternal
      • IsLeaf
    • Methods
      • ClearInternalData(Int32)
      • ClearLeafData(Int32)
      • IsChildValid(Int32)
      • IsInternalValid(Int32)
      • IsLeafValid(Int32)
      • NumValidChildren()
    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