Navigation
API > API/Runtime > API/Runtime/Chaos
Intended for use by constraint types that are allocated on the heap or in a block allocator and therefore have a persistent address (as opposed to array-based containers where the array could relocate). The constraint class should inherit this handle class. This effectively eliminates the handle, reducing cache misses and allocations.
| Name | FIntrusiveConstraintHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ConstraintHandle.h |
| Include Path | #include "Chaos/ConstraintHandle.h" |
Syntax
class FIntrusiveConstraintHandle : public Chaos::FConstraintHandle
Inheritance Hierarchy
- FConstraintHandle → FIntrusiveConstraintHandle
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIntrusiveConstraintHandle() |
Chaos/ConstraintHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetContainer
(
FPBDConstraintContainer* InContainer |
Chaos/ConstraintHandle.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FConstraintHandleTypeID & StaticType() |
Chaos/ConstraintHandle.h |