Navigation
API > API/Plugins > API/Plugins/ChaosCloth
| Name | FClothingSimulationSkeletalMesh |
| Type | class |
| Header File | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Public/ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
| Include Path | #include "ChaosCloth/ChaosClothingSimulationSkeletalMesh.h" |
Syntax
class FClothingSimulationSkeletalMesh : public Chaos::FClothingSimulationMesh
Inheritance Hierarchy
- FClothingSimulationMesh → FClothingSimulationSkeletalMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FClothingSimulationSkeletalMesh
(
const UClothingAssetCommon* InAsset, |
ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
| ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |||
| ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FClothingSimulationSkeletalMesh() |
ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Asset | const UClothingAssetCommon * | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
| SkeletalMeshComponent | const USkeletalMeshComponent * | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UClothingAssetCommon * GetAsset() |
ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
const USkeletalMeshComponent * GetSkeletalMeshComponent() |
ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
Overridden from FClothingSimulationMesh
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TConstArrayView< FClothVertBoneData > GetBoneData
(
int32 LODIndex |
Return the bone data containing bone weights and influences. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< int32 > GetBoneMap() |
Return the bone map used to remap the used bones index into the correct skinning matrix index. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual const TArray< FTransform > & GetBoneTransforms() |
Return the bone transforms as required when updating the collider pose. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual const FTransform & GetComponentToWorldTransform() |
Return the transform of the bone treated as the root of the simulation space. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
| Return the specified LOD's face int maps. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
| Return the specified LOD's face sets. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
virtual TConstArrayView< uint32 > GetIndices
(
int32 LODIndex |
Return the specified LOD's triangle indices for this mesh. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetLODIndex () |
Return the cloth mesh LOD Index. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetLODIndexFromOwnerLODIndex
(
int32 OwnerLODIndex |
Return the cloth mesh LOD Index for a given owner LOD index. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< FVector3f > GetNormals
(
int32 LODIndex |
Return the source mesh normals (pre-skinning). | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetNumLODs() |
Return the number of LODs on this mesh. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetNumPatternPoints
(
int32 LODIndex |
Return the number of pattern points (2d, unwelded) for the specified LOD, or 0 if patterns are not supported or the LOD is empty or invalid. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetNumPoints
(
int32 LODIndex |
Return the number of points for the specified LOD, or 0 if the LOD is empty or invalid. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetOwnerLODIndex
(
int32 LODIndex |
Return the owner component LOD Index from the specified cloth mesh LOD index, or 0 if the owner LOD cannot be determined. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< uint32 > GetPatternIndices
(
int32 LODIndex |
Return the specified LOD's pattern (unwelded) triangle indices for this mesh, or empty array if patterns are not supported. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< FVector2f > GetPatternPositions
(
int32 LODIndex |
Return the source mesh 2d pattern positions. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< uint32 > GetPatternToWeldedIndices
(
int32 LODIndex |
Return the specified LOD's map from pattern (unwelded) vertices to (welded) vertices, or empty array if patterns are not supported. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< FVector3f > GetPositions
(
int32 LODIndex |
Return the source mesh positions (pre-skinning). | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual int32 GetReferenceBoneIndex() |
Return the bone to treat as the root of the simulation space. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual FTransform GetReferenceBoneTransform() |
Return the transform of the bone treated as the root of the simulation space. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual const TArray< FMatrix44f > & GetRefToLocalMatrices() |
Return the skinning matrices. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
| Return the tethers connections for the long range attachment into convenient parallel friendly batches. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
virtual TConstArrayView< FMeshToMeshVertData > GetTransitionDownSkinData
(
int32 LODIndex |
Return the transition down data (PrevLODIndex > LODIndex), for matching shapes during LOD changes. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual TConstArrayView< FMeshToMeshVertData > GetTransitionUpSkinData
(
int32 LODIndex |
Return the transition up data (PrevLODIndex < LODIndex), for matching shapes during LOD changes. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
| Return the specified LOD's vertex sets. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
| Return a map of all weight map names associated with this mesh to the index in the array returned by GetWeightMaps. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
| Return all weight maps associated with this mesh returned in the same order as GetWeightMaps. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | ||
virtual TArray< TConstArrayView< FRealSingle > > GetWeightMaps
(
int32 LODIndex |
Return the specified LOD's weight map. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |
virtual bool IsValidLODIndex
(
int32 LODIndex |
Return whether the specified LOD index is valid. | ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosCloth/ChaosClothingSimulationSkeletalMesh.h | |||
| ChaosCloth/ChaosClothingSimulationSkeletalMesh.h |