ISQAccelerator

An interface to the scene query accelerator that allows us to run queries against either PhysX or Chaos when compiling WITH_PHYSX.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PhysicsCore

Header

/Engine/Source/Runtime/PhysicsCore/Public/SQAccelerator.h

Include

#include "SQAccelerator.h"

Syntax

class ISQAccelerator

Remarks

An interface to the scene query accelerator that allows us to run queries against either PhysX or Chaos when compiling WITH_PHYSX. This was used in the 2019 GDC demos and is now broken. To make it work again, we would need to implement the FChaosSQAcceleratorAdapter below to use its internal SQ accelerator and convert the inputs and outputs from/to PhysX types.

Destructors

Name Description

Public function Virtual

~ISQAccelerator()

Functions

Name Description

Public function Const

void

 

Overlap

(
    const FPhysicsGeometry& QueryGeom,
    const FTransform & GeomPose,
    FPhysicsHitCallback< FHitOverlap > ...,
    const FQueryFilterData& QueryFilte...,
    ICollisionQueryFilterCallbackBase &...
)

Public function Const

void

 

Raycast

(
    const FVector & Start,
    const FVector & Dir,
    const float DeltaMagnitude,
    FPhysicsHitCallback< FHitRaycast > ...,
    EHitFlags OutputFlags,
    const FQueryFilterData& QueryFilte...,
    ICollisionQueryFilterCallbackBase &...
)

Public function Const

void

 

Sweep

(
    const FPhysicsGeometry& QueryGeom,
    const FTransform & StartTM,
    const FVector & Dir,
    const float DeltaMagnitude,
    FPhysicsHitCallback< FHitSweep >& ...,
    EHitFlags OutputFlags,
    const FQueryFilterData& QueryFilte...,
    ICollisionQueryFilterCallbackBase &...
)

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