USkeletalMeshComponent::GetFloatAttribute

Get float type custom attribute value.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp

Syntax

bool GetFloatAttribute
(
    const FName & BoneName,
    const FName & AttributeName,
    float DefaultValue,
    float & OutValue,
    ECustomBoneAttributeLookup LookupType
)

Remarks

Get float type custom attribute value.

Returns

Whether or not the atttribute was successfully retrieved

Parameters

Parameter

Description

BoneName

Name of the bone to retrieve try and retrieve the attribute from

AttributeName

Name of the attribute to retrieve

DefaultValue

In case the attribute could not be found

OutValue

Retrieved attribute value if found, otherwise is set to DefaultValue

LookupType

Determines how the attribute is retrieved from the specified BoneName (see ECustomBoneAttributeLookup)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss