Navigation
API > API/Plugins > API/Plugins/PropertyAnimatorCore
Context for properties linked to an animator
| Name | UPropertyAnimatorCoreContext |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/PropertyAnimatorCore/Source/PropertyAnimatorCore/Public/Properties/PropertyAnimatorCoreContext.h |
| Include Path | #include "Properties/PropertyAnimatorCoreContext.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UPropertyAnimatorCoreContext :
public UObject ,
public IPropertyAnimatorCorePresetable
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPropertyAnimatorCoreContext
Implements Interfaces
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimatedProperty | FPropertyAnimatorCoreData | Animated property linked to this options | Properties/PropertyAnimatorCoreContext.h | |
| bAnimated | bool | Animation is enabled for this property | Properties/PropertyAnimatorCoreContext.h |
|
| bEditConverterRule | bool | Edit condition for converter rule | Properties/PropertyAnimatorCoreContext.h |
|
| bEditMagnitude | bool | Edit condition for Magnitude | Properties/PropertyAnimatorCoreContext.h |
|
| bEditMode | bool | Edit condition for modes | Properties/PropertyAnimatorCoreContext.h |
|
| bEditResolver | bool | Edit condition for property resolver | Properties/PropertyAnimatorCoreContext.h |
|
| bEditTimeOffset | bool | Edit condition for TimeOffset | Properties/PropertyAnimatorCoreContext.h |
|
| ConverterClass | TSubclassOf< UPropertyAnimatorCoreConverterBase > | Converter class used for this property | Properties/PropertyAnimatorCoreContext.h | |
| ConverterRule | TInstancedStruct< FPropertyAnimatorCoreConverterRuleBase > | If a converter is used, rules may be used to convert the property | Properties/PropertyAnimatorCoreContext.h |
|
| DeltaPropertyValues | FInstancedPropertyBag | Store delta property values for resolved properties | Properties/PropertyAnimatorCoreContext.h |
|
| HandlerWeak | TWeakObjectPtr< UPropertyAnimatorCoreHandlerBase > | Used to access property value and update it | Properties/PropertyAnimatorCoreContext.h |
|
| Magnitude | float | Magnitude of the effect on this property | Properties/PropertyAnimatorCoreContext.h |
|
| Mode | EPropertyAnimatorCoreMode | Current mode used for this property | Properties/PropertyAnimatorCoreContext.h |
|
| OriginalPropertyValues | FInstancedPropertyBag | Store original property values for resolved properties | Properties/PropertyAnimatorCoreContext.h |
|
| Resolver | TObjectPtr< UPropertyAnimatorCoreResolver > | Custom resolver for the property | Properties/PropertyAnimatorCoreContext.h |
|
| TimeOffset | double | Time offset to evaluate this property | Properties/PropertyAnimatorCoreContext.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool EvaluateProperty
(
const FPropertyAnimatorCoreData& InProperty, |
Evaluates a property within this context based on animator result | Properties/PropertyAnimatorCoreContext.h | |
const FPropertyAnimatorCoreData & GetAnimatedProperty() |
Properties/PropertyAnimatorCoreContext.h | ||
UPropertyAnimatorCoreBase * GetAnimator() |
Properties/PropertyAnimatorCoreContext.h | ||
TSubclassOf< UPropertyAnimatorCoreConverterBase > GetConverterClass() |
Properties/PropertyAnimatorCoreContext.h | ||
InRuleType * GetConverterRule() |
Get converter rule if any | Properties/PropertyAnimatorCoreContext.h | |
UPropertyAnimatorCoreHandlerBase * GetHandler() |
Get the handler responsible for this property type | Properties/PropertyAnimatorCoreContext.h | |
float GetMagnitude() |
Properties/PropertyAnimatorCoreContext.h | ||
EPropertyAnimatorCoreMode GetMode() |
Properties/PropertyAnimatorCoreContext.h | ||
UPropertyAnimatorCoreResolver * GetResolver() |
Get the active resolver for this property if any | Properties/PropertyAnimatorCoreContext.h | |
double GetTimeOffset() |
Properties/PropertyAnimatorCoreContext.h | ||
bool IsAnimated() |
Properties/PropertyAnimatorCoreContext.h | ||
bool ResolvePropertyOwner
(
AActor* InNewOwner |
Called when the owner has changed and we want to update the animated property | Properties/PropertyAnimatorCoreContext.h | |
void SetAnimated
(
bool bInAnimated |
Properties/PropertyAnimatorCoreContext.h | ||
void SetConverterClass
(
const TSubclassOf< UPropertyAnimatorCoreConverterBase >& InConverterClass |
Properties/PropertyAnimatorCoreContext.h | ||
void SetMagnitude
(
float InMagnitude |
Properties/PropertyAnimatorCoreContext.h | ||
void SetMode
(
EPropertyAnimatorCoreMode InMode |
Properties/PropertyAnimatorCoreContext.h | ||
void SetTimeOffset
(
double InOffset |
Properties/PropertyAnimatorCoreContext.h |
Overridden from IPropertyAnimatorCorePresetable
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ExportPreset
(
const UPropertyAnimatorCorePresetBase* InPreset, |
Export a specific preset | Properties/PropertyAnimatorCoreContext.h | |
virtual bool ImportPreset
(
const UPropertyAnimatorCorePresetBase* InPreset, |
Import a specific preset | Properties/PropertyAnimatorCoreContext.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnAnimatedPropertyLinked() |
Called once, when the property is linked to this context | Properties/PropertyAnimatorCoreContext.h | |
| Called when the animated property owner is updated | Properties/PropertyAnimatorCoreContext.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Properties/PropertyAnimatorCoreContext.h | ||
virtual void PostLoad() |
Properties/PropertyAnimatorCoreContext.h | ||
virtual void PreEditChange
(
FProperty* InPropertyAboutToChange |
Properties/PropertyAnimatorCoreContext.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetAnimatedPropertyName() |
Properties/PropertyAnimatorCoreContext.h |