#include <BoneWeights.h>
◆ FBoneWeight() [1/4]
| UE::AnimationCore::FBoneWeight::FBoneWeight |
( |
| ) |
|
|
default |
Default constructor. NOTE: The values are uninitialized.
◆ FBoneWeight() [2/4]
A constructor for old-style bone weights where the weight was stored as an unsigned eight bit integer.
◆ FBoneWeight() [3/4]
A constructor for bone weights where the weight is stored as an unsigned sixteen bit integer. This is the natural storage format for this container.
◆ FBoneWeight() [4/4]
A constructor for bone weights which converts the weight from a float value in the [0-1] range. Values outside of that range are clamped to the range.
◆ DescSortByWeightPredicate()
A standard predicate we use for sorting by weight, in a descending order of weights
◆ FromInt32()
Converts an int32 to an FBoneWeight object and returns it.
◆ GetBoneIndex()
Returns the bone stored index.
◆ GetMaxRawWeight()
The maximum raw weight value for a bone influence.
◆ GetRawWeight()
| uint16 UE::AnimationCore::FBoneWeight::GetRawWeight |
( |
| ) |
const |
|
inline |
Returns the stored weight in the container's raw format, avoiding floating point conversion.
◆ GetTypeHash()
| uint32 UE::AnimationCore::FBoneWeight::GetTypeHash |
( |
| ) |
const |
|
inline |
Returns a hash value from the bone weight values
◆ GetWeight()
| float UE::AnimationCore::FBoneWeight::GetWeight |
( |
| ) |
const |
|
inline |
Returns the stored weight value as a float in the [0-1] range.
◆ operator!=()
| bool UE::AnimationCore::FBoneWeight::operator!= |
( |
const FBoneWeight & |
InBoneWeight | ) |
const |
|
inline |
Returns true if this object's bone weight values are not equal to the other container's values.
- Note
- Only equality comparison are supported. Relational comparisons are meaningless.
◆ operator==()
| bool UE::AnimationCore::FBoneWeight::operator== |
( |
const FBoneWeight & |
InBoneWeight | ) |
const |
|
inline |
Returns true if this object's bone weight values are equal to the other container's values.
- Note
- Only equality comparison are supported. Relational comparisons are meaningless.
◆ Serialize()
| void UE::AnimationCore::FBoneWeight::Serialize |
( |
FArchive & |
InArchive | ) |
|
|
inline |
◆ SetBoneIndex()
Set the bone stored index.
◆ SetRawWeight()
| void UE::AnimationCore::FBoneWeight::SetRawWeight |
( |
const uint16 |
InRawWeight | ) |
|
|
inline |
Set the stored weight in the raw format. This avoids any floating point conversion.
◆ SetWeight()
| void UE::AnimationCore::FBoneWeight::SetWeight |
( |
float |
InWeight | ) |
|
|
inline |
Set stored weight as a float. Values outside the [0-1] range are clamped to that range. Undefined float values will result in an undefined weight.
◆ ToInt32()
| int32 UE::AnimationCore::FBoneWeight::ToInt32 |
( |
| ) |
const |
|
inline |
Returns the contents of this object as an int32.
◆ ToString()
| FString UE::AnimationCore::FBoneWeight::ToString |
( |
| ) |
const |
|
inline |
A helper function to return a human-readable version of the bone weight.
The documentation for this class was generated from the following file: