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

#include <PhysicalMaterials.h>

Public Member Functions

CHAOS_API FChaosPhysicsMaterialGet () const
 
CHAOS_API FChaosPhysicsMaterialGetInternal (const THandleArray< FChaosPhysicsMaterial > *const SimMaterials) const
 
bool IsValid () const
 
bool IsValidInternal (const THandleArray< FChaosPhysicsMaterial > *const SimMaterials) const
 
void Reset ()
 

Public Attributes

FChaosMaterialHandle InnerHandle
 

Friends

bool operator== (const FMaterialHandle &A, const FMaterialHandle &B)
 
FArchiveoperator<< (FArchive &Ar, FMaterialHandle &Value)
 

Detailed Description

Helper wrapper to encapsulate the access through the material manager Handles returned from the material manager are only designed to be used (resolved) on the game thread by the physics interface.

Member Function Documentation

◆ Get()

FChaosPhysicsMaterial * Chaos::FMaterialHandle::Get ( ) const

◆ GetInternal()

FChaosPhysicsMaterial * Chaos::FMaterialHandle::GetInternal ( const THandleArray< FChaosPhysicsMaterial > *const  SimMaterials) const

◆ IsValid()

bool Chaos::FMaterialHandle::IsValid ( ) const
inline

◆ IsValidInternal()

bool Chaos::FMaterialHandle::IsValidInternal ( const THandleArray< FChaosPhysicsMaterial > *const  SimMaterials) const
inline

◆ Reset()

void Chaos::FMaterialHandle::Reset ( )
inline

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FMaterialHandle Value 
)
friend

◆ operator==

bool operator== ( const FMaterialHandle A,
const FMaterialHandle B 
)
friend

Member Data Documentation

◆ InnerHandle

FChaosMaterialHandle Chaos::FMaterialHandle::InnerHandle

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