TAABBTree

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/AABBTree.h

Include

#include "Chaos/AABBTree.h"

Syntax

template<typename TPayloadType, typename TLeafType, typename T, bool bMutable>
class TAABBTree : public Chaos::ISpatialAcceleration< TPayloadType, T, 3 >

Constructors

Name Description

Public function

TAABBTree()

Public function

TAABBTree

(
    const TParticles & Particles,
    int32 InMaxChildrenInLeaf,
    int32 InMaxTreeDepth,
    T InMaxPayloadBounds,
    int32 InMaxNumToProcess
)

Destructors

Name Description

Public function Virtual

~TAABBTree()

Functions

Name Description

Public function Virtual Const

TArray < TPay...

 

FindAllIntersections

(
    const TAABB < T, 3 >& Box
)

Public function

bool

 

GetAsBoundsArray

(
    TArray < TAABB < T, 3 >>& AllBounds,
    int32 NodeIdx,
    int32 ParentNode,
    TAABB < T, 3 >& Bounds
)

Public function Const

const TArray ...

 

GlobalObjects()

Public function Const

int32

 

NumDirtyElements()

Public function Const

void

 

Overlap

(
    const TAABB < T, 3 >& QueryBounds,
    SQVisitor& Visitor
)

Public function Const

void

 

Overlap

(
    const TAABB < T, 3 >& QueryBounds,
    ISpatialVisitor < TPayloadType, T > ...
)

Public function Const

bool

 

OverlapFast

(
    const TAABB < T, 3 >& QueryBounds,
    SQVisitor& Visitor
)

Public function Const

void

 

Raycast

(
    const TVector < T, 3 >& Start,
    const TVector < T, 3 >& Dir,
    const T Length,
    SQVisitor& Visitor
)

Public function Virtual Const

void

 

Raycast

(
    const TVector < T, 3 >& Start,
    const TVector < T, 3 >& Dir,
    const T Length,
    ISpatialVisitor < TPayloadType, T > ...
)

Public function Const

bool

 

RaycastFast

(
    const TVector < T, 3 >& Start,
    FQueryFastData & CurData,
    SQVisitor& Visitor
)

Public function

void

 

Reinitialize

(
    const ParticleView& Particles
)

Public function Const

void

 

Sweep

(
    const TVector < T, 3 >& Start,
    const TVector < T, 3 >& Dir,
    const T Length,
    const TVector < T, 3 > QueryHalfExte...,
    ISpatialVisitor < TPayloadType, T > ...
)

Public function Const

void

 

Sweep

(
    const TVector < T, 3 >& Start,
    const TVector < T, 3 >& Dir,
    const T Length,
    const TVector < T, 3 > QueryHalfExte...,
    SQVisitor& Visitor
)

Public function Const

bool

 

SweepFast

(
    const TVector < T, 3 >& Start,
    FQueryFastData & CurData,
    const TVector < T, 3 > QueryHalfExte...,
    SQVisitor& Visitor
)

Public function Virtual

void

 

UpdateElement

(
    const TPayloadType& Payload,
    const TAABB < T, 3 >& NewBounds,
    bool bHasBounds
)

Overridden from ISpatialAcceleration

Name Description

Public function Virtual Const

TUniquePtr < ...

 

Copy()

Public function Virtual

void

 

ProgressAsyncTimeSlicing

(
    bool ForceBuildCompletion
)

Public function Virtual

void

 

RemoveElement

(
    const TPayloadType& Payload
)

Public function Virtual

void

 

Serialize

(
    FChaosArchive & Ar
)

Enums

Name

Description

Private enum

eTimeSlicePhase

Typedefs

Name

Description

FElement

FNode

PayloadType

TType

Constants

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback