Navigation
API > API/Plugins > API/Plugins/ChaosCloth
Accessory mesh used as an input to a simulation. They are expected to share topology (e.g., Indices, PatternIndices) with their associated FClothingSimulationMesh.
| Name | FClothingSimulationAccessoryMesh |
| Type | class |
| Header File | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Public/ChaosCloth/ChaosClothingSimulationAccessoryMesh.h |
| Include Path | #include "ChaosCloth/ChaosClothingSimulationAccessoryMesh.h" |
Syntax
class FClothingSimulationAccessoryMesh
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FClothingSimulationAccessoryMesh
(
const FClothingSimulationMesh& InMesh, |
ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | ||
| ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |||
| ChaosCloth/ChaosClothingSimulationAccessoryMesh.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FClothingSimulationAccessoryMesh() |
ChaosCloth/ChaosClothingSimulationAccessoryMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyMorphTarget
(
int32 ActiveMorphTargetIndex, |
ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | ||
virtual int32 FindMorphTargetByName
(
const FString& Name |
Return the MorphTargetIndex for a given Morph Target Name, if it exists. | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
const FName & GetAccessoryMeshName() |
ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | ||
virtual TConstArrayView< FString > GetAllMorphTargetNames() |
Get a list of all MorphTargets. (Index matches FindMorphTargetByName) | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
TConstArrayView< FClothVertBoneData > GetBoneData() |
Return the bone data containing bone weights and influences. | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
virtual TConstArrayView< int32 > GetMorphTargetIndices
(
int32 MorphTargetIndex |
Get all Morph Target indices for a given MorphTargetIndex (e.g., index returned by FindMorphTargetByName). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
virtual TConstArrayView< FVector3f > GetMorphTargetPositionDeltas
(
int32 MorphTargetIndex |
Get all Morph Target position deltas for a given MorphTargetIndex (e.g., index returned by FindMorphTargetByName). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
virtual TConstArrayView< FVector3f > GetMorphTargetTangentZDeltas
(
int32 MorphTargetIndex |
Get all Morph Target tangent z (normal) deltas for a given MorphTargetIndex (e.g., index returned by FindMorphTargetByName). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
TConstArrayView< FVector3f > GetNormals() |
Return the source mesh normals (pre-skinning). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
int32 GetNumPatternPoints() |
Return the number of pattern points (2d, unwelded). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
int32 GetNumPoints() |
Return the number of points. | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
TConstArrayView< FVector2f > GetPatternPositions() |
Return the source mesh 2d pattern positions. | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
TConstArrayView< FVector3f > GetPositions() |
Return the source mesh positions (pre-skinning). | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |
void Update
(
const FClothingSimulationSolver* Solver, |
Update the mesh for the next solver step, doing skinning and matching the shapes during LOD changes. | ChaosCloth/ChaosClothingSimulationAccessoryMesh.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosCloth/ChaosClothingSimulationAccessoryMesh.h | |||
| ChaosCloth/ChaosClothingSimulationAccessoryMesh.h |