#include <SkeletalMeshAttributes.h>
|
| using | FBoneArray = TMeshElementContainer< FBoneID > |
| |
| using | FBoneNameAttributesRef = TMeshAttributesRef< FBoneID, FName > |
| |
| using | FBoneNameAttributesConstRef = TMeshAttributesConstRef< FBoneID, FName > |
| |
| using | FBoneParentIndexAttributesRef = TMeshAttributesRef< FBoneID, int32 > |
| |
| using | FBoneParentIndexAttributesConstRef = TMeshAttributesConstRef< FBoneID, int32 > |
| |
| using | FBonePoseAttributesRef = TMeshAttributesRef< FBoneID, FTransform > |
| |
| using | FBonePoseAttributesConstRef = TMeshAttributesConstRef< FBoneID, FTransform > |
| |
| using | FBoneColorAttributesRef = TMeshAttributesRef< FBoneID, FVector4f > |
| |
| using | FBoneColorAttributesConstRef = TMeshAttributesConstRef< FBoneID, FVector4f > |
| |
| using | FSourceGeometryPartArray = TMeshElementContainer< FSourceGeometryPartID > |
| |
| using | FSourceGeometryPartNameRef = TMeshAttributesRef< FSourceGeometryPartID, FName > |
| |
| using | FSourceGeometryPartNameConstRef = TMeshAttributesConstRef< FSourceGeometryPartID, FName > |
| |
| using | FSourceGeometryPartVertexOffsetAndCountRef = TMeshAttributesRef< FSourceGeometryPartID, TArrayView< int32 > > |
| |
| using | FSourceGeometryPartVertexOffsetAndCountConstRef = TMeshAttributesConstRef< FSourceGeometryPartID, TArrayView< int32 > > |
| |
◆ FBoneArray
◆ FBoneColorAttributesConstRef
◆ FBoneColorAttributesRef
◆ FBoneNameAttributesConstRef
◆ FBoneNameAttributesRef
◆ FBoneParentIndexAttributesConstRef
◆ FBoneParentIndexAttributesRef
◆ FBonePoseAttributesConstRef
◆ FBonePoseAttributesRef
◆ FSourceGeometryPartArray
◆ FSourceGeometryPartNameConstRef
◆ FSourceGeometryPartNameRef
◆ FSourceGeometryPartVertexOffsetAndCountConstRef
◆ FSourceGeometryPartVertexOffsetAndCountRef
◆ FSkeletalMeshAttributesShared()
| FSkeletalMeshAttributesShared::FSkeletalMeshAttributesShared |
( |
const FMeshDescription & |
InMeshDescription | ) |
|
◆ BoneAttributes()
◆ Bones()
◆ CreateMorphTargetAttributeName()
| FName FSkeletalMeshAttributesShared::CreateMorphTargetAttributeName |
( |
const FName |
InMorphTargetName | ) |
|
|
staticprotected |
Construct a name for a morph target attribute with the given a user-visible morph target name.
◆ CreateSkinWeightAttributeName()
| FName FSkeletalMeshAttributesShared::CreateSkinWeightAttributeName |
( |
const FName |
InProfileName | ) |
|
|
staticprotected |
Construct a name for a skin weight attribute with the given skin weight profile name. Each mesh description can hold different skin weight profiles, although the default is always present.
◆ GetBoneColors()
◆ GetBoneNames()
◆ GetBoneParentIndices()
◆ GetBonePoses()
◆ GetMorphTargetNameFromAttribute()
| FName FSkeletalMeshAttributesShared::GetMorphTargetNameFromAttribute |
( |
const FName |
InAttributeName | ) |
|
|
static |
Returns the name of a morph target given the attribute name. If the given attribute name is invalid, NAME_None is returned.
◆ GetMorphTargetNames()
| TArray< FName > FSkeletalMeshAttributesShared::GetMorphTargetNames |
( |
| ) |
const |
Returns the list of all registered morph targets on this mesh.
◆ GetNumBones()
| int32 FSkeletalMeshAttributesShared::GetNumBones |
( |
| ) |
const |
- Returns
- the number of the bones. 0 if bone element does not exist in the FMeshDescription.
◆ GetNumSourceGeometryParts()
| int32 FSkeletalMeshAttributesShared::GetNumSourceGeometryParts |
( |
| ) |
const |
◆ GetProfileNameFromAttribute()
| FName FSkeletalMeshAttributesShared::GetProfileNameFromAttribute |
( |
const FName |
InAttributeName | ) |
|
|
static |
Returns a skin profile name from the attribute name, if the attribute name is a valid skin weights attribute.
◆ GetSkinWeightProfileNames()
| TArray< FName > FSkeletalMeshAttributesShared::GetSkinWeightProfileNames |
( |
const bool |
bInUserDefinedOnly = false | ) |
const |
Returns the list of all registered skin weight profile names on this mesh.
- Parameters
-
| bInUserDefinedOnly | Only return user-defined profiles, not the default profile. |
- Returns
- The list of the profile names.
◆ GetSourceGeometryPartNames()
◆ GetSourceGeometryPartVertexOffsetAndCounts()
◆ GetVertexInstanceMorphNormalDelta()
Returns a read-only vertex instance normal delta attribute for the given morph target. The delta is the difference between the normal vector of the mesh and the normal vector of the desired morphed mesh. Adding this value to the normal vector of the mesh will return the morph's normal vector for this vertex instance. If the morph was not registered to include normals, this will return an invalid attribute.
◆ GetVertexMorphPositionDelta()
Returns a read-only vertex position delta attribute for the given morph target. The delta is the difference between the point position of the mesh and the point position of the morphed mesh. Adding this value to the point position of the mesh will return the morph point position.
◆ GetVertexSkinWeights()
◆ GetVertexSkinWeightsFromAttributeName()
◆ HasBoneColorAttribute()
| bool FSkeletalMeshAttributesShared::HasBoneColorAttribute |
( |
| ) |
const |
◆ HasBoneNameAttribute()
| bool FSkeletalMeshAttributesShared::HasBoneNameAttribute |
( |
| ) |
const |
◆ HasBoneParentIndexAttribute()
| bool FSkeletalMeshAttributesShared::HasBoneParentIndexAttribute |
( |
| ) |
const |
◆ HasBonePoseAttribute()
| bool FSkeletalMeshAttributesShared::HasBonePoseAttribute |
( |
| ) |
const |
◆ HasBones()
| bool FSkeletalMeshAttributesShared::HasBones |
( |
| ) |
const |
|
inline |
- Returns
- true, if bone element was added to the MeshDescription.
◆ HasMorphTargetNormalsAttribute()
| bool FSkeletalMeshAttributesShared::HasMorphTargetNormalsAttribute |
( |
const FName |
InMorphTargetName | ) |
const |
◆ HasMorphTargetPositionsAttribute()
| bool FSkeletalMeshAttributesShared::HasMorphTargetPositionsAttribute |
( |
const FName |
InMorphTargetName | ) |
const |
◆ HasSourceGeometryParts()
| bool FSkeletalMeshAttributesShared::HasSourceGeometryParts |
( |
| ) |
const |
|
inline |
◆ IsBoneValid()
| bool FSkeletalMeshAttributesShared::IsBoneValid |
( |
const FBoneID |
BoneID | ) |
const |
- Returns
- true, if the passed bone ID is valid
◆ IsMorphTargetAttribute()
| bool FSkeletalMeshAttributesShared::IsMorphTargetAttribute |
( |
const FName |
InAttributeName | ) |
|
|
static |
Returns true if the given attribute name refers to a morph target attribute.
◆ IsSkinWeightAttribute()
| bool FSkeletalMeshAttributesShared::IsSkinWeightAttribute |
( |
const FName |
InAttributeName | ) |
|
|
static |
Helper function that indicates whether an attribute name represents a skin weight attribute.
◆ IsSourceGeometryPartValid()
◆ IsValidSkinWeightProfileName()
| bool FSkeletalMeshAttributesShared::IsValidSkinWeightProfileName |
( |
const FName |
InProfileName | ) |
|
|
static |
Returns true if the given identifier is a valid profile name. If the name is empty, or matches the default profile, then the profile name is considered invalid.
◆ SourceGeometryPartAttributes()
◆ SourceGeometryParts()
◆ BoneElementsShared
◆ BonesElementName
| FName FSkeletalMeshAttributesShared::BonesElementName |
|
static |
Name of the mesh element type representing bones.
- Note
- this is different from the MeshAttribute::Bone::Name attribute. This is a name of the element that is added to the mesh description to represent Bones (similar to the Vertex/Polygons/Edges elements). MeshAttribute::Bone::Name is just one of the attributes of the Bones element.
◆ DefaultSkinWeightProfileName
| FName FSkeletalMeshAttributesShared::DefaultSkinWeightProfileName |
|
static |
◆ SourceGeometryPartElementName
| FName FSkeletalMeshAttributesShared::SourceGeometryPartElementName |
|
static |
Name of the mesh element representing import data for meshes that were imported from separate geometries into a single skeletal mesh piece. Can be used to match parts of the mesh back to the constituent parts of the import source.
◆ SourceGeometryPartElementsShared
| const FMeshElementChannels* FSkeletalMeshAttributesShared::SourceGeometryPartElementsShared = nullptr |
|
protected |
The documentation for this class was generated from the following files: