FSpatialAccelerationBroadPhase

A broad phase that iterates over particle and uses a spatial acceleration structure to output potentially overlapping SpatialAccelerationHandles.

Windows
MacOS
Linux

Inheritance Hierarchy

FBroadPhase

FSpatialAccelerationBroadPhase

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/SpatialAccelerationBroadPhase.h

Include

#include "Chaos/Collision/SpatialAccelerationBroadPhase.h"

Syntax

class FSpatialAccelerationBroadPhase : public Chaos::FBroadPhase

Remarks

A broad phase that iterates over particle and uses a spatial acceleration structure to output potentially overlapping SpatialAccelerationHandles.

Constructors

Name Description

Public function

FSpatialAccelerationBroadPhase

(
    const TPBDRigidsSOAs < FReal , 3 >& ...,
    const FReal InThickness,
    const FReal InVelocityInflation
)

Functions

Name Description

Public function

void

 

ProduceOverlaps

(
    FReal Dt,
    FNarrowPhase & NarrowPhase,
    FAsyncCollisionReceiver & Receiver,
    CollisionStats::FStatData & StatDat...
)

Generate all overlapping pairs and pass them to the narrow phase.

Public function

void

 

ProduceOverlaps

(
    FReal Dt,
    const T_SPATIALACCELERATION& InSpa...,
    FNarrowPhase & NarrowPhase,
    FAsyncCollisionReceiver & Receiver,
    CollisionStats::FStatData & StatDat...
)

Public function

void

 

SetSpatialAcceleration

(
    const FAccelerationStructure * ...
)

Typedefs

Name

Description

FAccelerationStructure

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