Navigation
API > API/Plugins > API/Plugins/VariantManager
Inheritance Hierarchy
- FGCObject
- FEditorUndoClient
- TSharedFromThis
- FVariantManager
References
| Module | VariantManager |
| Header | /Engine/Plugins/Enterprise/VariantManager/Source/VariantManager/Public/VariantManager.h |
| Include | #include "VariantManager.h" |
Syntax
class FVariantManager :
public FGCObject,
public FEditorUndoClient,
public TSharedFromThis< FVariantManager >
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFunctionCallers
(
const TArray< FFunctionCaller >& Functions, |
||
| void | AddObjectBindings
(
const TArray< UVariantObjectBinding* >& TheseBindings, |
||
| void | AddPropertyCaptures
(
const TArray< UPropertyValue* >& OfThisProperty, |
Adds existing items to existing containers. | |
| void | AddVariants
(
const TArray< UVariant* >& TheseVariants, |
||
| void | AddVariantSets
(
const TArray< UVariantSet* >& TheseVariantSets, |
||
| void | ApplyProperty
(
UPropertyValue* Prop |
||
| void | CallDirectorFunction
(
FName FunctionName, |
Function handling. | |
| void | Returns which actors we can add to an existing UVariant, since we only allow one per actor per variant We can force add/replace with AddObjectBindings, but this allows us to check how many will be added, which is used for tooltips and feedback | ||
| void | CanAddActorsToVariant
(
const TArray< TWeakObjectPtr< AActor >>& InActors, |
Returns which actors we can add to an existing UVariant, since we only allow one per actor per variant We can force add/replace with AddObjectBindings, but this allows us to check how many will be added, which is used for tooltips and feedback | |
| void | CaptureNewProperties
(
const TArray< UVariantObjectBinding* >& Bindings |
||
| void | Close () |
||
| void | CopyVariantThumbnails
(
TArray< UVariant* > DstArray, |
||
| UK2Node_FunctionEntry * | CreateDirectorFunction
(
ULevelVariantSets* InLevelVariantSets, |
||
| UK2Node_FunctionEntry * | CreateDirectorFunctionFromFunction
(
UFunction* QuickBindFunction, |
||
| void | CreateFunctionCaller
(
const TArray< UVariantObjectBinding* >& Bindings |
||
| TArray< UPropertyValue * > | CreateLocationPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| TArray< UPropertyValue * > | CreateMaterialPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| TArray< UVariantObjectBinding * > | CreateObjectBindings
(
const TArray< AActor* >& OfTheseActors, |
||
| TArray< UVariantObjectBinding * > | CreateObjectBindingsAndCaptures
(
const TArray< AActor* >& OfTheseActors, |
||
| TArray< UPropertyValue * > | CreatePropertyCaptures
(
const TArray< TSharedPtr< FCapturableProperty >>& OfTheseProperties, |
Creates new items and add them to existing containers. | |
| TArray< UPropertyValue * > | CreateRotationPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| TArray< UPropertyValue * > | CreateScale3DPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| TArray< UPropertyValue * > | CreateTransformPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| UVariant * | CreateVariant
(
UVariantSet* InThisVariantSet |
||
| UVariantSet * | CreateVariantSet
(
ULevelVariantSets* InThisLevelVariantSets |
||
| TArray< UPropertyValue * > | CreateVisibilityPropertyCaptures
(
const TArray< UVariantObjectBinding* >& InTheseBindings |
||
| void | DuplicateObjectBindings
(
const TArray< UVariantObjectBinding* >& TheseBindings, |
Duplicate existing items to existing containers. | |
| void | DuplicateVariants
(
const TArray< UVariant* >& TheseVariants, |
||
| void | DuplicateVariantSets
(
const TArray< UVariantSet* >& TheseVariantSets, |
||
| void | GetCapturableProperties
(
const TArray< UClass* >& Classes, |
||
| void | GetCapturableProperties
(
const TArray< AActor* >& Actors, |
||
| ULevelVariantSets * | |||
| TSharedRef< FVariantManagerNodeTree > | GetNodeTree () |
Gets the tree of nodes which is used to populate the animation outliner. | |
| UBlueprint * | GetOrCreateDirectorBlueprint
(
ULevelVariantSets* InLevelVariantSets |
Sets up the blueprint class deriving from the function director that we'll use. | |
| FVariantManagerSelection & | GetSelection () |
||
| TSharedPtr< SVariantManager > | |||
| TArray< FObjectThumbnail * > | GetVariantThumbnails
(
const TArray< UVariant* > SrcArray |
Thumbnail operations Returns one for each variant. These can be nullptr | |
| void | InitVariantManager
(
ULevelVariantSets* InLevelVariantSets |
||
| void | MergeObjectBindings
(
const UVariantObjectBinding* ThisBinding, |
Adds all children from one container to the other container, if it doesn't already have them. | |
| void | MergeVariants
(
const UVariant* ThisVar, |
||
| void | MoveObjectBindings
(
const TArray< UVariantObjectBinding* >& TheseBindings, |
Remove existing items from their parents and add them to existing containers. | |
| void | MoveVariants
(
const TArray< UVariant* >& TheseVariants, |
||
| void | MoveVariantSets
(
const TArray< UVariantSet* >& TheseVariantSets, |
||
| void | RecordProperty
(
UPropertyValue* Prop |
Captured property handling. | |
| void | RemoveFunctionCallers
(
const TArray< FFunctionCaller* >& TheseCallers, |
||
| void | RemoveObjectBindingsFromParent
(
const TArray< UVariantObjectBinding* >& ThisBinding |
||
| void | RemovePropertyCapturesFromParent
(
const TArray< UPropertyValue* >& ThisProp |
Removes existing items from existing containers. | |
| void | RemoveVariantSetsFromParent
(
const TArray< UVariantSet* >& ThisVariantSet |
||
| void | RemoveVariantsFromParent
(
const TArray< UVariant* >& ThisVariant |
||
| void | SetVariantThumbnails
(
const TArray< FObjectThumbnail* > Thumbnails, |
Expects one for each variant. Accepts nullptr (will clear any previous thumbnail when setting) |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |