Navigation
API > API/Runtime > API/Runtime/Chaos
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.
| Name | FMaterialHandle |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PhysicalMaterials.h |
| Include Path | #include "Chaos/PhysicalMaterials.h" |
Syntax
struct FMaterialHandle
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InnerHandle | FChaosMaterialHandle | Chaos/PhysicalMaterials.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosPhysicsMaterial * Get() |
Get should be only called on the Game Thread, instead use GetInternal on Physics Thread. | Chaos/PhysicalMaterials.h | |
FChaosPhysicsMaterial * GetInternal
(
const THandleArray< FChaosPhysicsMaterial >*const SimMaterials |
Chaos/PhysicalMaterials.h | ||
bool IsValid() |
IsValid should be only called on the Game Thread, instead use IsValidInternal on Physics Thread. | Chaos/PhysicalMaterials.h | |
bool IsValidInternal
(
const THandleArray< FChaosPhysicsMaterial >*const SimMaterials |
Chaos/PhysicalMaterials.h | ||
void Reset() |
Chaos/PhysicalMaterials.h |