Navigation
API > API/Runtime > API/Runtime/AnimationCore
References
| Module | AnimationCore |
| Header | /Engine/Source/Runtime/AnimationCore/Public/BoneWeights.h |
| Include | #include "BoneWeights.h" |
Syntax
class FBoneWeightsSettings
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clears the default bone index. This allows bone weights arrays to be empty if no weights are set. | ||
| bool | Return true if bones with no influence are considered to have a zero weight during the blend calculation. | ||
| FBoneIndexType | Returns the current default bone index to set if no weights were set. | ||
| int32 | Returns the maximum number of weights for these settings | ||
| EBoneWeightNormalizeType | Returns the current normalization type for these settings | ||
| uint16 | Returns the raw weight threshold. This is the value used internally for weight computation. | ||
| float | Returns the weight threshold as a float value between (0, 1]. | ||
| bool | Returns `true_ if a default bone index should be applied in the absence of other weights. | ||
| void | SetBlendZeroInfluence
(
bool bInBlendZeroInfluence |
Set the way we treat the bones with zero influence during the blend. | |
| void | SetDefaultBoneIndex
(
FBoneIndexType InBoneIndex |
Set the default bone index to use if no weights were set. | |
| FBoneWeightsSettings & | SetMaxWeightCount
(
int32 InMaxWeightCount |
Sets the maximum number of weights that can be applied to a single FBoneWeights object. | |
| FBoneWeightsSettings & | SetNormalizeType
(
EBoneWeightNormalizeType InNormalizeType |
Set the normalization type when manipulating the weight values in FBoneWeights | |
| FBoneWeightsSettings & | SetWeightThreshold
(
float InWeightThreshold |
Sets the minimum influence allowed. |