Navigation
API > API/Plugins > API/Plugins/PropertyAnimatorCore
Abstract Base class to define preset for animators with custom properties and options Will get registered automatically by the subsystem Should remain transient and stateless
| Name | UPropertyAnimatorCorePresetBase |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/PropertyAnimatorCore/Source/PropertyAnimatorCore/Public/Presets/PropertyAnimatorCorePresetBase.h |
| Include Path | #include "Presets/PropertyAnimatorCorePresetBase.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Abstract)
class UPropertyAnimatorCorePresetBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPropertyAnimatorCorePresetBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Presets/PropertyAnimatorCorePresetBase.h | |||
UPropertyAnimatorCorePresetBase
(
FName InPresetName |
Presets/PropertyAnimatorCorePresetBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ApplyPreset
(
UPropertyAnimatorCoreBase* InAnimator |
Applies this preset on the newly created animator | Presets/PropertyAnimatorCorePresetBase.h | |
virtual void CreatePreset
(
FName InName, |
Called once to create this preset out of supported items | Presets/PropertyAnimatorCorePresetBase.h | |
virtual TSharedRef< FPropertyAnimatorCorePresetArchiveImplementation > GetArchiveImplementation() |
Which implementation to use for archive | Presets/PropertyAnimatorCorePresetBase.h | |
FText GetPresetDisplayName() |
Presets/PropertyAnimatorCorePresetBase.h | ||
FName GetPresetName() |
Presets/PropertyAnimatorCorePresetBase.h | ||
virtual bool IsPresetApplied
(
const UPropertyAnimatorCoreBase* InAnimator |
Checks if the preset is applied to this animator | Presets/PropertyAnimatorCorePresetBase.h | |
virtual bool IsPresetSupported
(
const AActor* InActor, |
Checks if the preset is supported on that actor and animator | Presets/PropertyAnimatorCorePresetBase.h | |
virtual bool LoadPreset() |
Called once before registering preset to load it, if load fails then preset is not registered | Presets/PropertyAnimatorCorePresetBase.h | |
virtual void OnPresetRegistered() |
Called when this preset is registered by the subsystem | Presets/PropertyAnimatorCorePresetBase.h | |
virtual void OnPresetUnregistered() |
Called when this preset is unregistered by the subsystem | Presets/PropertyAnimatorCorePresetBase.h | |
virtual bool UnapplyPreset
(
UPropertyAnimatorCoreBase* InAnimator |
Un applies this preset on an animator | Presets/PropertyAnimatorCorePresetBase.h |