Navigation
API > API/Runtime > API/Runtime/Chaos
Volume Constraint Facade
| Name | FVolumeConstraintFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionVolumeConstraintFacade.h |
| Include Path | #include "GeometryCollection/Facades/CollectionVolumeConstraintFacade.h" |
Syntax
class FVolumeConstraintFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVolumeConstraintFacade
(
FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | ||
FVolumeConstraintFacade
(
const FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | ||
| GeometryCollection/Facades/CollectionVolumeConstraintFacade.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| GroupName | const FName | Attributes. | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h |
| Stiffness | const FName | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
| VolumeIndex | const FName | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddVolumeConstraint
(
const FIntVector4& NewVolumeIndex, |
Accessors of constraints | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
void DefineSchema() |
Create the facade attributes. | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
float GetStiffness
(
const int32 AttributeIndex |
GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | ||
FIntVector4 GetVolumeIndex
(
const int32 AttributeIndex |
GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | ||
bool IsConst() |
Is the facade defined constant. | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
bool IsValid() |
Is the Facade defined on the collection? | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
int32 NumVolumeConstraints() |
GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | ||
int32 RemoveInvalidVolumeConstraint() |
Remove volume constraint with invalid indices | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h | |
int32 RemoveVolumeConstraintBetween
(
TFunctionRef< bool(const int32 VertexIdx)> IsVertexGroup1, |
Remove volume constraint between two groups of vertices | GeometryCollection/Facades/CollectionVolumeConstraintFacade.h |