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