UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosVDSQTraceHelper.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4#if WITH_CHAOS_VISUAL_DEBUGGER
5
7#include "HAL/Platform.h"
8#include "Math/Transform.h"
10
11class UWorld;
12
14enum class EChaosVDSceneQueryType;
15enum class EChaosVDSceneQueryMode;
16
20
22#ifndef CVD_TRACE_SCOPED_SCENE_QUERY_HELPER
23 #define CVD_TRACE_SCOPED_SCENE_QUERY_HELPER(World, Geom, StartGeomPose, EndLocation, TraceChannel, Params, ResponseParams, ObjectParams, Type, Mode, bIsRetry) \
24 CVD_SCOPE_CONTEXT(Chaos::VisualDebugger::TraceHelpers::CreateSceneQueryContextHelper());\
25 Chaos::VisualDebugger::TraceHelpers::TraceCVDSceneQueryStartHelper(World, Geom, StartGeomPose, EndLocation, TraceChannel, Params, ResponseParams, ObjectParams, Type, Mode, bIsRetry);
26#endif
27
28namespace Chaos::VisualDebugger::TraceHelpers
29{
31
34
36 void TraceCVDSceneQueryStartHelper(const UWorld* World, const FPhysicsGeometry* Geom, const FTransform& StartGeomPose, const FVector& EndLocation, ECollisionChannel TraceChannel, const FCollisionQueryParams& Params, const FCollisionResponseParams& ResponseParams, const FCollisionObjectQueryParams& ObjectParams, EChaosVDSceneQueryType Type, EChaosVDSceneQueryMode Mode, bool bIsRetry);
37}
38
39#else // WITH_CHAOS_VISUAL_DEBUGGER
40 #ifndef CVD_TRACE_SCOPED_SCENE_QUERY_HELPER
41 #define CVD_TRACE_SCOPED_SCENE_QUERY_HELPER(World, Geom, StartGeomPose, EndLocation, TraceChannel, Params, ResponseParams, ObjectParams, Type, Mode, bIsRetry)
42 #endif
43#endif // WITH_CHAOS_VISUAL_DEBUGGER
EChaosVDSceneQueryMode
Definition ChaosVDQueryDataWrappers.h:20
EChaosVDSceneQueryType
Definition ChaosVDQueryDataWrappers.h:11
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ECollisionChannel
Definition EngineTypes.h:1088
Definition ImplicitObject.h:111
Definition World.h:918
int
Definition TestServer.py:515
Definition CollisionQueryParams.h:430
Definition CollisionQueryParams.h:43
Definition CollisionQueryParams.h:324