UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FChaosVDQueryHitData Struct Reference

#include <ChaosVDQueryDataWrappers.h>

+ Inheritance diagram for FChaosVDQueryHitData:

Public Member Functions

CHAOSVDRUNTIME_API bool Serialize (FArchive &Ar)
 
- Public Member Functions inherited from FChaosVDWrapperDataBase
virtual ~FChaosVDWrapperDataBase ()=default
 
virtual bool HasValidData () const
 
void MarkAsValid ()
 

Public Attributes

float Distance = 0.0f
 
int32 FaceIdx = INDEX_NONE
 
uint16 Flags = 0
 
FVector WorldPosition = FVector::ZeroVector
 
FVector WorldNormal = FVector::ZeroVector
 
FVector FaceNormal = FVector::ZeroVector
 

Additional Inherited Members

- Protected Attributes inherited from FChaosVDWrapperDataBase
bool bHasValidData = false
 

Member Function Documentation

◆ Serialize()

bool FChaosVDQueryHitData::Serialize ( FArchive Ar)

Member Data Documentation

◆ Distance

float FChaosVDQueryHitData::Distance = 0.0f

◆ FaceIdx

int32 FChaosVDQueryHitData::FaceIdx = INDEX_NONE

◆ FaceNormal

FVector FChaosVDQueryHitData::FaceNormal = FVector::ZeroVector

This is not used for Line Traces

◆ Flags

uint16 FChaosVDQueryHitData::Flags = 0

◆ WorldNormal

FVector FChaosVDQueryHitData::WorldNormal = FVector::ZeroVector

◆ WorldPosition

FVector FChaosVDQueryHitData::WorldPosition = FVector::ZeroVector

The documentation for this struct was generated from the following files: