![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Physics/Experimental/ChaosInterfaceWrapper.h"#include "SQAccelerator.h"#include "SQVisitor.h"#include "PhysTestSerializer.h"#include "PBDRigidsSolver.h"#include "Physics/Experimental/PhysScene_Chaos.h"#include "PhysicsEngine/ExternalSpatialAccelerationPayload.h"| void LowLevelOverlapImpl | ( | const TAccelContainer & | Container, |
| const FPhysicsGeometry & | QueryGeom, | ||
| const FTransform & | GeomPose, | ||
| FPhysicsHitCallback< THitOverlap > & | HitBuffer, | ||
| FQueryFlags | QueryFlags, | ||
| const FCollisionFilterData & | Filter, | ||
| const ChaosInterface::FQueryFilterData & | QueryFilterData, | ||
| ICollisionQueryFilterCallbackBase * | QueryCallback, | ||
| const ChaosInterface::FQueryDebugParams & | DebugParams | ||
| ) |
| void LowLevelRaycastImpl | ( | const TAccelContainer & | Container, |
| const FVector & | Start, | ||
| const FVector & | Dir, | ||
| float | DeltaMag, | ||
| FPhysicsHitCallback< THitRaycast > & | HitBuffer, | ||
| EHitFlags | OutputFlags, | ||
| FQueryFlags | QueryFlags, | ||
| const FCollisionFilterData & | Filter, | ||
| const ChaosInterface::FQueryFilterData & | QueryFilterData, | ||
| ICollisionQueryFilterCallbackBase * | QueryCallback, | ||
| const ChaosInterface::FQueryDebugParams & | DebugParams | ||
| ) |
| void LowLevelSweepImpl | ( | const TAccelContainer & | Container, |
| const FPhysicsGeometry & | QueryGeom, | ||
| const FTransform & | StartTM, | ||
| const FVector & | Dir, | ||
| float | DeltaMag, | ||
| FPhysicsHitCallback< THitSweep > & | HitBuffer, | ||
| EHitFlags | OutputFlags, | ||
| FQueryFlags | QueryFlags, | ||
| const FCollisionFilterData & | Filter, | ||
| const ChaosInterface::FQueryFilterData & | QueryFilterData, | ||
| ICollisionQueryFilterCallbackBase * | QueryCallback, | ||
| const ChaosInterface::FQueryDebugParams & | DebugParams | ||
| ) |
| FAutoConsoleVariableRef CVarForceStandardSQ(TEXT("p.ForceStandardSQ"), ForceStandardSQ, TEXT("If enabled, we force the standard scene query even if custom SQ structure is enabled")) | ( | TEXT("p.ForceStandardSQ") | , |
| ForceStandardSQ | , | ||
| TEXT("If enabled, we force the standard scene query even if custom SQ structure is enabled") | |||
| ) |
| FAutoConsoleVariableRef CVarReplaySweeps(TEXT("p.ReplaySQs"), ReplaySQs, TEXT("If enabled, we rerun the sq against chaos")) | ( | TEXT("p.ReplaySQs") | , |
| ReplaySQs | , | ||
| TEXT("If enabled, we rerun the sq against chaos") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeBadSweeps(TEXT("p.SerializeBadSQs"), SerializeBadSQs, TEXT("If enabled, we create a sq capture whenever chaos and physx diverge")) | ( | TEXT("p.SerializeBadSQs") | , |
| SerializeBadSQs | , | ||
| TEXT("If enabled, we create a sq capture whenever chaos and physx diverge") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeSQs(TEXT("p.SerializeSQs"), SerializeSQs, TEXT("If enabled, we create a sq capture per sq that takes more than provided value in microseconds. This can be very expensive as the entire scene is saved out")) | ( | TEXT("p.SerializeSQs") | , |
| SerializeSQs | , | ||
| TEXT("If enabled, we create a sq capture per sq that takes more than provided value in microseconds. This can be very expensive as the entire scene is saved out") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeSQSamples(TEXT("p.SerializeSQSampleCount"), SerializeSQSamples, TEXT("If Query exceeds duration threshold, we will re-measure SQ this many times before serializing. Larger values cause hitching.")) | ( | TEXT("p.SerializeSQSampleCount") | , |
| SerializeSQSamples | , | ||
| TEXT("If Query exceeds duration threshold, we will re-measure SQ this many times before serializing. Larger values cause hitching.") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeSQsOverlapEnabled(TEXT("p.SerializeSQsOverlapEnabled"), EnableOverlapSQCapture, TEXT("If disabled, p.SerializeSQs will not consider overlaps")) | ( | TEXT("p.SerializeSQsOverlapEnabled") | , |
| EnableOverlapSQCapture | , | ||
| TEXT("If disabled, p.SerializeSQs will not consider overlaps") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeSQsRaycastEnabled(TEXT("p.SerializeSQsRaycastEnabled"), EnableRaycastSQCapture, TEXT("If disabled, p.SerializeSQs will not consider raycasts")) | ( | TEXT("p.SerializeSQsRaycastEnabled") | , |
| EnableRaycastSQCapture | , | ||
| TEXT("If disabled, p.SerializeSQs will not consider raycasts") | |||
| ) |
| FAutoConsoleVariableRef CVarSerializeSQsSweepEnabled(TEXT("p.SerializeSQsSweepEnabled"), EnableSweepSQCapture, TEXT("If disabled, p.SerializeSQs will not consider sweeps")) | ( | TEXT("p.SerializeSQsSweepEnabled") | , |
| EnableSweepSQCapture | , | ||
| TEXT("If disabled, p.SerializeSQs will not consider sweeps") | |||
| ) |
| int32 EnableOverlapSQCapture = 1 |
| int32 EnableRaycastSQCapture = 1 |
| int32 EnableSweepSQCapture = 1 |
| int32 ForceStandardSQ = 0 |
| int32 ReplaySQs = 0 |
| int32 SerializeBadSQs = 0 |
| int32 SerializeSQs = 0 |
| int32 SerializeSQSamples = 100 |