Navigation
API > API/Runtime > API/Runtime/SkeletalMeshDescription
| Name | FSkeletalMeshAttributes |
| Type | class |
| Header File | /Engine/Source/Runtime/SkeletalMeshDescription/Public/SkeletalMeshAttributes.h |
| Include Path | #include "SkeletalMeshAttributes.h" |
Syntax
class FSkeletalMeshAttributes :
public FStaticMeshAttributes ,
public FSkeletalMeshAttributesShared
Inheritance Hierarchy
- FMeshAttributes → FStaticMeshAttributes → FSkeletalMeshAttributes
- FSkeletalMeshAttributesShared → FSkeletalMeshAttributes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSkeletalMeshAttributes
(
FMeshDescription& InMeshDescription |
SkeletalMeshAttributes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneElements | FMeshElementChannels * | SkeletalMeshAttributes.h | ||
| SourceGeometryPartElements | FMeshElementChannels * | SkeletalMeshAttributes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAttributesSet< FBoneID > & BoneAttributes() |
SkeletalMeshAttributes.h | ||
FBoneArray & Bones() |
SkeletalMeshAttributes.h | ||
| Adds a new bone and returns its ID | SkeletalMeshAttributes.h | ||
void CreateBone
(
const FBoneID BoneID |
Adds a new bone with the given ID | SkeletalMeshAttributes.h | |
FSourceGeometryPartID CreateSourceGeometryPart() |
SkeletalMeshAttributes.h | ||
void DeleteBone
(
const FBoneID BoneID |
Deletes a bone with the given ID | SkeletalMeshAttributes.h | |
void DeleteSourceGeometryPart
(
FSourceGeometryPartID InSourceGeometryPartID |
SkeletalMeshAttributes.h | ||
FBoneColorAttributesRef GetBoneColors() |
SkeletalMeshAttributes.h | ||
FBoneNameAttributesRef GetBoneNames() |
SkeletalMeshAttributes.h | ||
FBoneParentIndexAttributesRef GetBoneParentIndices() |
SkeletalMeshAttributes.h | ||
FBonePoseAttributesRef GetBonePoses() |
SkeletalMeshAttributes.h | ||
FSourceGeometryPartNameRef GetSourceGeometryPartNames() |
SkeletalMeshAttributes.h | ||
FSourceGeometryPartVertexOffsetAndCountRef GetSourceGeometryPartVertexOffsetAndCounts() |
SkeletalMeshAttributes.h | ||
TVertexInstanceAttributesRef< FVector3f > GetVertexInstanceMorphNormalDelta
(
const FName InMorphTargetName |
Returns a writable vertex instance normal delta attribute for the given morph target. | SkeletalMeshAttributes.h | |
TVertexAttributesRef< FVector3f > GetVertexMorphPositionDelta
(
const FName InMorphTargetName |
Returns a writable vertex position delta attribute for the given morph target. | SkeletalMeshAttributes.h | |
FSkinWeightsVertexAttributesRef GetVertexSkinWeights
(
const FName InProfileName |
Returns the skin weight profile given by its name. NAME_None corresponds to the default profile. | SkeletalMeshAttributes.h | |
FSkinWeightsVertexAttributesRef GetVertexSkinWeightsFromAttributeName
(
const FName InAttributeName |
SkeletalMeshAttributes.h | ||
void RegisterColorAttribute() |
Bones Methods Register an optional color attribute for bones | SkeletalMeshAttributes.h | |
| Register an attribute that can be used to maintain a relationship between a given vertex and the point it originated from on the original imported mesh. | SkeletalMeshAttributes.h | ||
bool RegisterMorphTargetAttribute
(
const FName InMorphTargetName, |
Morph Target Methods Register a new morph target with the given name. | SkeletalMeshAttributes.h | |
bool RegisterSkinWeightAttribute
(
const FName InProfileName |
Skin Weights Methods Register a new skin weight profile with the given name. | SkeletalMeshAttributes.h | |
void RegisterSourceGeometryPartsAttributes() |
This will register the source geometry attributes and their element container on the mesh description so that source geometry part information can be stored. | SkeletalMeshAttributes.h | |
void ReserveNewBones
(
const int InNumBones |
Reserves space for this number of new bones | SkeletalMeshAttributes.h | |
TAttributesSet< FSourceGeometryPartID > & SourceGeometryPartAttributes() |
SkeletalMeshAttributes.h | ||
FSourceGeometryPartArray & SourceGeometryParts() |
SkeletalMeshAttributes.h | ||
| Convenience function to unregister the attribute that maintains the relationship between a given vertex and the originating point on the import mesh. | SkeletalMeshAttributes.h | ||
bool UnregisterMorphTargetAttribute
(
const FName InMorphTargetName |
Unregister an existing morph target with the given name (as returned by GetMorphTargetNames()). | SkeletalMeshAttributes.h | |
bool UnregisterSkinWeightAttribute
(
const FName InProfileName |
Unregister an existing skin weight profile with the given name Returns `true_ if theprofile was successfully unregistered. | SkeletalMeshAttributes.h |
Overridden from FMeshAttributes
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Register
(
bool bKeepExistingAttribute |
SkeletalMeshAttributes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsReservedAttributeName
(
const FName InAttributeName |
Returns `true_ if a given attribute name is a name for a reserved attribute or not. | SkeletalMeshAttributes.h |