Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Animation > API/Runtime/Slate/Framework/Animation/TAnimatedAttribute > API/Runtime/Slate/Framework/Animation/TAnimatedAttribute/CreateWithGetter
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Animation/AnimatedAttribute.h |
| Include | #include "Framework/Animation/AnimatedAttribute.h" |
template<typename InterpolatorSettings>
static TSharedRef < TAnimatedAttribute > CreateWithGetter
(
const InterpolatorSettings & InSettings,
FGetter && InGetter,
const TOptional < NumericType > & InDefaultValue
)
Remarks
Static: Creates an animated attribute that's pre-bound to the specified 'getter' delegate
Parameters
| Name | Description |
|---|---|
| InSettings | The settings for the interpolator |
| InGetter | Delegate to bind |
| InDefaultValue | The optional default value. If not specified the getter will be used to determine the default |