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