Navigation
API > API/Runtime > API/Runtime/SkeletalMeshDescription
| Name | FSkeletalMeshAttributesShared |
| Type | class |
| Header File | /Engine/Source/Runtime/SkeletalMeshDescription/Public/SkeletalMeshAttributes.h |
| Include Path | #include "SkeletalMeshAttributes.h" |
Syntax
class FSkeletalMeshAttributesShared
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSkeletalMeshAttributesShared
(
const FMeshDescription& InMeshDescription |
SkeletalMeshAttributes.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBoneArray | TMeshElementContainer< FBoneID > | SkeletalMeshAttributes.h | |
| FBoneColorAttributesConstRef | TMeshAttributesConstRef< FBoneID, FVector4f > | SkeletalMeshAttributes.h | |
| FBoneColorAttributesRef | TMeshAttributesRef< FBoneID, FVector4f > | SkeletalMeshAttributes.h | |
| FBoneNameAttributesConstRef | TMeshAttributesConstRef< FBoneID, FName > | SkeletalMeshAttributes.h | |
| FBoneNameAttributesRef | TMeshAttributesRef< FBoneID, FName > | SkeletalMeshAttributes.h | |
| FBoneParentIndexAttributesConstRef | TMeshAttributesConstRef< FBoneID, int32 > | SkeletalMeshAttributes.h | |
| FBoneParentIndexAttributesRef | TMeshAttributesRef< FBoneID, int32 > | SkeletalMeshAttributes.h | |
| FBonePoseAttributesConstRef | TMeshAttributesConstRef< FBoneID, FTransform > | SkeletalMeshAttributes.h | |
| FBonePoseAttributesRef | TMeshAttributesRef< FBoneID, FTransform > | SkeletalMeshAttributes.h | |
| FSourceGeometryPartArray | TMeshElementContainer< FSourceGeometryPartID > | SkeletalMeshAttributes.h | |
| FSourceGeometryPartNameConstRef | TMeshAttributesConstRef< FSourceGeometryPartID, FName > | SkeletalMeshAttributes.h | |
| FSourceGeometryPartNameRef | TMeshAttributesRef< FSourceGeometryPartID, FName > | SkeletalMeshAttributes.h | |
| FSourceGeometryPartVertexOffsetAndCountConstRef | TMeshAttributesConstRef< FSourceGeometryPartID, TArrayView< int32 > > | SkeletalMeshAttributes.h | |
| FSourceGeometryPartVertexOffsetAndCountRef | TMeshAttributesRef< FSourceGeometryPartID, TArrayView< int32 > > | SkeletalMeshAttributes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BonesElementName | FName | Name of the mesh element type representing bones. | SkeletalMeshAttributes.h |
| DefaultSkinWeightProfileName | FName | The name of the default skin weight profile. | SkeletalMeshAttributes.h |
| SourceGeometryPartElementName | FName | Name of the mesh element representing import data for meshes that were imported from separate geometries into a single skeletal mesh piece. | SkeletalMeshAttributes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeshDescriptionShared | const FMeshDescription & | SkeletalMeshAttributes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TAttributesSet< FBoneID > & BoneAttributes() |
SkeletalMeshAttributes.h | ||
const FBoneArray & Bones() |
SkeletalMeshAttributes.h | ||
FBoneColorAttributesConstRef GetBoneColors() |
SkeletalMeshAttributes.h | ||
FBoneNameAttributesConstRef GetBoneNames() |
SkeletalMeshAttributes.h | ||
FBoneParentIndexAttributesConstRef GetBoneParentIndices() |
SkeletalMeshAttributes.h | ||
FBonePoseAttributesConstRef GetBonePoses() |
SkeletalMeshAttributes.h | ||
| Returns the list of all registered morph targets on this mesh. | SkeletalMeshAttributes.h | ||
int32 GetNumBones() |
SkeletalMeshAttributes.h | ||
int32 GetNumSourceGeometryParts() |
SkeletalMeshAttributes.h | ||
| Skin Weights Methods Returns the list of all registered skin weight profile names on this mesh. | SkeletalMeshAttributes.h | ||
FSourceGeometryPartNameConstRef GetSourceGeometryPartNames() |
SkeletalMeshAttributes.h | ||
FSourceGeometryPartVertexOffsetAndCountConstRef GetSourceGeometryPartVertexOffsetAndCounts() |
SkeletalMeshAttributes.h | ||
TVertexInstanceAttributesConstRef< FVector3f > GetVertexInstanceMorphNormalDelta
(
const FName InMorphTargetName |
Returns a read-only vertex instance normal delta attribute for the given morph target. | SkeletalMeshAttributes.h | |
TVertexAttributesConstRef< FVector3f > GetVertexMorphPositionDelta
(
const FName InMorphTargetName |
Returns a read-only vertex position delta attribute for the given morph target. | SkeletalMeshAttributes.h | |
FSkinWeightsVertexAttributesConstRef GetVertexSkinWeights
(
const FName InProfileName |
SkeletalMeshAttributes.h | ||
FSkinWeightsVertexAttributesConstRef GetVertexSkinWeightsFromAttributeName
(
const FName InAttributeName |
SkeletalMeshAttributes.h | ||
bool HasBoneColorAttribute() |
Bones Methods | SkeletalMeshAttributes.h | |
bool HasBoneNameAttribute() |
SkeletalMeshAttributes.h | ||
bool HasBoneParentIndexAttribute() |
SkeletalMeshAttributes.h | ||
bool HasBonePoseAttribute() |
SkeletalMeshAttributes.h | ||
bool HasBones() |
SkeletalMeshAttributes.h | ||
bool HasMorphTargetNormalsAttribute
(
const FName InMorphTargetName |
SkeletalMeshAttributes.h | ||
bool HasMorphTargetPositionsAttribute
(
const FName InMorphTargetName |
SkeletalMeshAttributes.h | ||
bool HasSourceGeometryParts() |
SkeletalMeshAttributes.h | ||
bool IsBoneValid
(
const FBoneID BoneID |
SkeletalMeshAttributes.h | ||
bool IsSourceGeometryPartValid
(
const FSourceGeometryPartID InSourceGeometryPartID |
SkeletalMeshAttributes.h | ||
const TAttributesSet< FSourceGeometryPartID > & SourceGeometryPartAttributes() |
SkeletalMeshAttributes.h | ||
const FSourceGeometryPartArray & SourceGeometryParts() |
SkeletalMeshAttributes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Construct a name for a morph target attribute with the given a user-visible morph target name. | SkeletalMeshAttributes.h | ||
static FName CreateSkinWeightAttributeName
(
const FName InProfileName |
Construct a name for a skin weight attribute with the given skin weight profile name. | SkeletalMeshAttributes.h | |
| Returns the name of a morph target given the attribute name. If the given attribute name is invalid, `NAME_None_ is returned. | SkeletalMeshAttributes.h | ||
| Returns a skin profile name from the attribute name, if the attribute name is a valid skin weights attribute. | SkeletalMeshAttributes.h | ||
static bool IsMorphTargetAttribute
(
const FName InAttributeName |
Returns `true_ if the given attribute name refers to a morph target attribute. | SkeletalMeshAttributes.h | |
static bool IsSkinWeightAttribute
(
const FName InAttributeName |
Helper function that indicates whether an attribute name represents a skin weight attribute. | SkeletalMeshAttributes.h | |
static bool IsValidSkinWeightProfileName
(
const FName InProfileName |
Returns `true_ if the given identifier is a valid profile name. | SkeletalMeshAttributes.h |