7#include "Containers/Array.h"
38 namespace SourceGeometryPart
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition MeshElementContainer.h:367
Definition NameTypes.h:617
Definition SkeletalMeshAttributes.h:47
TMeshAttributesRef< FBoneID, FVector4f > FBoneColorAttributesRef
Definition SkeletalMeshAttributes.h:60
static SKELETALMESHDESCRIPTION_API bool IsSkinWeightAttribute(const FName InAttributeName)
Helper function that indicates whether an attribute name represents a skin weight attribute.
Definition SkeletalMeshAttributes.cpp:449
static SKELETALMESHDESCRIPTION_API FName SourceGeometryPartElementName
Definition SkeletalMeshAttributes.h:86
TMeshAttributesConstRef< FSourceGeometryPartID, FName > FSourceGeometryPartNameConstRef
Definition SkeletalMeshAttributes.h:66
SKELETALMESHDESCRIPTION_API FBoneParentIndexAttributesConstRef GetBoneParentIndices() const
Definition SkeletalMeshAttributes.cpp:591
SKELETALMESHDESCRIPTION_API bool HasMorphTargetNormalsAttribute(const FName InMorphTargetName) const
Definition SkeletalMeshAttributes.cpp:540
TMeshAttributesRef< FSourceGeometryPartID, TArrayView< int32 > > FSourceGeometryPartVertexOffsetAndCountRef
Definition SkeletalMeshAttributes.h:68
SKELETALMESHDESCRIPTION_API const FBoneArray & Bones() const
Definition SkeletalMeshAttributes.cpp:566
SKELETALMESHDESCRIPTION_API FBoneNameAttributesConstRef GetBoneNames() const
Definition SkeletalMeshAttributes.cpp:586
static SKELETALMESHDESCRIPTION_API bool IsValidSkinWeightProfileName(const FName InProfileName)
Definition SkeletalMeshAttributes.cpp:444
SKELETALMESHDESCRIPTION_API int32 GetNumBones() const
Definition SkeletalMeshAttributes.cpp:576
TMeshAttributesConstRef< FBoneID, FVector4f > FBoneColorAttributesConstRef
Definition SkeletalMeshAttributes.h:61
const FMeshElementChannels * BoneElementsShared
Definition SkeletalMeshAttributes.h:210
SKELETALMESHDESCRIPTION_API bool IsBoneValid(const FBoneID BoneID) const
Definition SkeletalMeshAttributes.cpp:581
SKELETALMESHDESCRIPTION_API FSourceGeometryPartNameConstRef GetSourceGeometryPartNames() const
Definition SkeletalMeshAttributes.cpp:640
SKELETALMESHDESCRIPTION_API TArray< FName > GetMorphTargetNames() const
Returns the list of all registered morph targets on this mesh.
Definition SkeletalMeshAttributes.cpp:495
SKELETALMESHDESCRIPTION_API bool IsSourceGeometryPartValid(const FSourceGeometryPartID InSourceGeometryPartID) const
Definition SkeletalMeshAttributes.cpp:631
SKELETALMESHDESCRIPTION_API bool HasMorphTargetPositionsAttribute(const FName InMorphTargetName) const
Definition SkeletalMeshAttributes.cpp:535
TMeshAttributesRef< FBoneID, FTransform > FBonePoseAttributesRef
Definition SkeletalMeshAttributes.h:57
TMeshElementContainer< FBoneID > FBoneArray
Definition SkeletalMeshAttributes.h:49
bool HasSourceGeometryParts() const
Definition SkeletalMeshAttributes.h:184
SKELETALMESHDESCRIPTION_API TArray< FName > GetSkinWeightProfileNames(const bool bInUserDefinedOnly=false) const
Definition SkeletalMeshAttributes.cpp:415
SKELETALMESHDESCRIPTION_API int32 GetNumSourceGeometryParts() const
Definition SkeletalMeshAttributes.cpp:626
SKELETALMESHDESCRIPTION_API FSkinWeightsVertexAttributesConstRef GetVertexSkinWeightsFromAttributeName(const FName InAttributeName=NAME_None) const
Definition SkeletalMeshAttributes.cpp:405
SKELETALMESHDESCRIPTION_API bool HasBonePoseAttribute() const
Definition SkeletalMeshAttributes.cpp:556
TMeshElementContainer< FSourceGeometryPartID > FSourceGeometryPartArray
Definition SkeletalMeshAttributes.h:63
static SKELETALMESHDESCRIPTION_API FName CreateSkinWeightAttributeName(const FName InProfileName)
Definition SkeletalMeshAttributes.cpp:473
TMeshAttributesConstRef< FSourceGeometryPartID, TArrayView< int32 > > FSourceGeometryPartVertexOffsetAndCountConstRef
Definition SkeletalMeshAttributes.h:69
SKELETALMESHDESCRIPTION_API bool HasBoneColorAttribute() const
Definition SkeletalMeshAttributes.cpp:546
SKELETALMESHDESCRIPTION_API FSourceGeometryPartVertexOffsetAndCountConstRef GetSourceGeometryPartVertexOffsetAndCounts() const
Definition SkeletalMeshAttributes.cpp:649
TMeshAttributesRef< FSourceGeometryPartID, FName > FSourceGeometryPartNameRef
Definition SkeletalMeshAttributes.h:65
SKELETALMESHDESCRIPTION_API const TAttributesSet< FBoneID > & BoneAttributes() const
Definition SkeletalMeshAttributes.cpp:571
TMeshAttributesRef< FBoneID, FName > FBoneNameAttributesRef
Definition SkeletalMeshAttributes.h:51
TMeshAttributesRef< FBoneID, int32 > FBoneParentIndexAttributesRef
Definition SkeletalMeshAttributes.h:54
bool HasBones() const
Definition SkeletalMeshAttributes.h:163
SKELETALMESHDESCRIPTION_API bool HasBoneNameAttribute() const
Definition SkeletalMeshAttributes.cpp:551
TMeshAttributesConstRef< FBoneID, int32 > FBoneParentIndexAttributesConstRef
Definition SkeletalMeshAttributes.h:55
TMeshAttributesConstRef< FBoneID, FName > FBoneNameAttributesConstRef
Definition SkeletalMeshAttributes.h:52
SKELETALMESHDESCRIPTION_API FBoneColorAttributesConstRef GetBoneColors() const
Definition SkeletalMeshAttributes.cpp:601
SKELETALMESHDESCRIPTION_API const TAttributesSet< FSourceGeometryPartID > & SourceGeometryPartAttributes() const
Definition SkeletalMeshAttributes.cpp:616
static SKELETALMESHDESCRIPTION_API bool IsMorphTargetAttribute(const FName InAttributeName)
Returns true if the given attribute name refers to a morph target attribute.
Definition SkeletalMeshAttributes.cpp:511
SKELETALMESHDESCRIPTION_API TVertexInstanceAttributesConstRef< FVector3f > GetVertexInstanceMorphNormalDelta(const FName InMorphTargetName) const
Definition SkeletalMeshAttributes.cpp:530
SKELETALMESHDESCRIPTION_API FSkinWeightsVertexAttributesConstRef GetVertexSkinWeights(const FName InProfileName=NAME_None) const
Definition SkeletalMeshAttributes.cpp:400
static SKELETALMESHDESCRIPTION_API FName GetMorphTargetNameFromAttribute(const FName InAttributeName)
Returns the name of a morph target given the attribute name. If the given attribute name is invalid,...
Definition SkeletalMeshAttributes.cpp:516
static SKELETALMESHDESCRIPTION_API FName BonesElementName
Definition SkeletalMeshAttributes.h:78
static SKELETALMESHDESCRIPTION_API FName DefaultSkinWeightProfileName
Definition SkeletalMeshAttributes.h:90
TMeshAttributesConstRef< FBoneID, FTransform > FBonePoseAttributesConstRef
Definition SkeletalMeshAttributes.h:58
const FMeshElementChannels * SourceGeometryPartElementsShared
Definition SkeletalMeshAttributes.h:211
SKELETALMESHDESCRIPTION_API bool HasBoneParentIndexAttribute() const
Definition SkeletalMeshAttributes.cpp:561
SKELETALMESHDESCRIPTION_API FBonePoseAttributesConstRef GetBonePoses() const
Definition SkeletalMeshAttributes.cpp:596
SKELETALMESHDESCRIPTION_API TVertexAttributesConstRef< FVector3f > GetVertexMorphPositionDelta(const FName InMorphTargetName) const
Definition SkeletalMeshAttributes.cpp:525
static SKELETALMESHDESCRIPTION_API FName CreateMorphTargetAttributeName(const FName InMorphTargetName)
Construct a name for a morph target attribute with the given a user-visible morph target name.
Definition SkeletalMeshAttributes.cpp:484
static SKELETALMESHDESCRIPTION_API FName GetProfileNameFromAttribute(const FName InAttributeName)
Definition SkeletalMeshAttributes.cpp:455
SKELETALMESHDESCRIPTION_API const FSourceGeometryPartArray & SourceGeometryParts() const
Definition SkeletalMeshAttributes.cpp:606
Definition SkeletalMeshAttributes.h:221
SKELETALMESHDESCRIPTION_API void UnregisterImportPointIndexAttribute()
Definition SkeletalMeshAttributes.cpp:106
SKELETALMESHDESCRIPTION_API bool RegisterSkinWeightAttribute(const FName InProfileName)
Definition SkeletalMeshAttributes.cpp:112
SKELETALMESHDESCRIPTION_API bool UnregisterMorphTargetAttribute(const FName InMorphTargetName)
Definition SkeletalMeshAttributes.cpp:222
SKELETALMESHDESCRIPTION_API bool RegisterImportPointIndexAttribute()
Definition SkeletalMeshAttributes.cpp:100
SKELETALMESHDESCRIPTION_API bool RegisterMorphTargetAttribute(const FName InMorphTargetName, const bool bIncludeNormals)
Definition SkeletalMeshAttributes.cpp:175
SKELETALMESHDESCRIPTION_API TAttributesSet< FSourceGeometryPartID > & SourceGeometryPartAttributes()
Definition SkeletalMeshAttributes.cpp:336
SKELETALMESHDESCRIPTION_API FBoneNameAttributesRef GetBoneNames()
Definition SkeletalMeshAttributes.cpp:295
SKELETALMESHDESCRIPTION_API TVertexInstanceAttributesRef< FVector3f > GetVertexInstanceMorphNormalDelta(const FName InMorphTargetName)
Definition SkeletalMeshAttributes.cpp:259
SKELETALMESHDESCRIPTION_API FSourceGeometryPartID CreateSourceGeometryPart()
Definition SkeletalMeshAttributes.cpp:346
SKELETALMESHDESCRIPTION_API void DeleteBone(const FBoneID BoneID)
Definition SkeletalMeshAttributes.cpp:290
SKELETALMESHDESCRIPTION_API FBoneColorAttributesRef GetBoneColors()
Definition SkeletalMeshAttributes.cpp:310
SKELETALMESHDESCRIPTION_API void DeleteSourceGeometryPart(FSourceGeometryPartID InSourceGeometryPartID)
Definition SkeletalMeshAttributes.cpp:356
SKELETALMESHDESCRIPTION_API FSourceGeometryPartArray & SourceGeometryParts()
Definition SkeletalMeshAttributes.cpp:326
SKELETALMESHDESCRIPTION_API FBoneID CreateBone()
Definition SkeletalMeshAttributes.cpp:280
SKELETALMESHDESCRIPTION_API FBonePoseAttributesRef GetBonePoses()
Definition SkeletalMeshAttributes.cpp:305
SKELETALMESHDESCRIPTION_API FSourceGeometryPartNameRef GetSourceGeometryPartNames()
Definition SkeletalMeshAttributes.cpp:364
SKELETALMESHDESCRIPTION_API FSkinWeightsVertexAttributesRef GetVertexSkinWeights(const FName InProfileName=NAME_None)
Returns the skin weight profile given by its name. NAME_None corresponds to the default profile.
Definition SkeletalMeshAttributes.cpp:156
SKELETALMESHDESCRIPTION_API TAttributesSet< FBoneID > & BoneAttributes()
Definition SkeletalMeshAttributes.cpp:270
SKELETALMESHDESCRIPTION_API void ReserveNewBones(const int InNumBones)
Definition SkeletalMeshAttributes.cpp:275
SKELETALMESHDESCRIPTION_API TVertexAttributesRef< FVector3f > GetVertexMorphPositionDelta(const FName InMorphTargetName)
Definition SkeletalMeshAttributes.cpp:253
SKELETALMESHDESCRIPTION_API FSkinWeightsVertexAttributesRef GetVertexSkinWeightsFromAttributeName(const FName InAttributeName=NAME_None)
Definition SkeletalMeshAttributes.cpp:162
SKELETALMESHDESCRIPTION_API void RegisterColorAttribute()
Definition SkeletalMeshAttributes.cpp:93
SKELETALMESHDESCRIPTION_API void RegisterSourceGeometryPartsAttributes()
Definition SkeletalMeshAttributes.cpp:315
SKELETALMESHDESCRIPTION_API FBoneArray & Bones()
Definition SkeletalMeshAttributes.cpp:265
static bool IsReservedAttributeName(const FName InAttributeName)
Definition SkeletalMeshAttributes.h:231
SKELETALMESHDESCRIPTION_API FBoneParentIndexAttributesRef GetBoneParentIndices()
Definition SkeletalMeshAttributes.cpp:300
SKELETALMESHDESCRIPTION_API bool UnregisterSkinWeightAttribute(const FName InProfileName)
Definition SkeletalMeshAttributes.cpp:133
SKELETALMESHDESCRIPTION_API FSourceGeometryPartVertexOffsetAndCountRef GetSourceGeometryPartVertexOffsetAndCounts()
Definition SkeletalMeshAttributes.cpp:373
Definition SkeletalMeshAttributes.h:365
FSkeletalMeshConstAttributes(const FMeshDescription &InMeshDescription)
Definition SkeletalMeshAttributes.h:368
Definition SkinWeightsAttributesRef.h:225
Definition SkinWeightsAttributesRef.h:159
Definition StaticMeshAttributes.h:54
static bool IsReservedAttributeName(const FName InAttributeName)
Definition StaticMeshAttributes.h:63
Definition StaticMeshAttributes.h:125
Definition AttributeArrayContainer.h:393
Definition MeshAttributeArray.h:1873
Definition MeshAttributeArray.h:836
Definition MeshElementContainer.h:246
const FName Name("Name")
Definition SkeletalMeshAttributes.h:32
const FName Color("Color")
Definition SkeletalMeshAttributes.h:35
const FName Pose("Pose")
Definition SkeletalMeshAttributes.h:34
const FName ParentIndex("ParentIndex")
Definition SkeletalMeshAttributes.h:33
const FName VertexOffsetAndCount("VertexOffsetAndCount")
Definition SkeletalMeshAttributes.h:41
const FName Name("Name")
Definition SkeletalMeshAttributes.h:40
const FName SkinWeights("SkinWeights")
Definition SkeletalMeshAttributes.h:25
const FName ImportPointIndex("ImportPointIndex")
Definition SkeletalMeshAttributes.h:27
Definition MeshAttributes.cpp:6
Definition SkeletalMeshElementTypes.h:11
Definition MeshDescription.h:94
Definition SkeletalMeshElementTypes.h:36