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