Navigation
API > API/Plugins > API/Plugins/VCamExtensions
An asset intended to be referenced by Slate widgets.
Defines a tree hierarchy. Nodes are called groups. A group consists of modifiers and (sub) groups.
An example use case is if you want to have a button menu which should procedurally generate sub-button menus depending on the modifiers in the component. One group could be a Lens group which groups together modifiers that e.g. modify focal distance, filmback, and FOV. The rules are defined generically enough so as modifiers are added or removed, the groupings also update accordingly.
| Name | UModifierHierarchyAsset |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/VirtualCamera/Source/VCamExtensions/Public/Hierarchies/ModifierHierarchyAsset.h |
| Include Path | #include "Hierarchies/ModifierHierarchyAsset.h" |
Syntax
UCLASS (BlueprintType)
class UModifierHierarchyAsset : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UModifierHierarchyAsset
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Rules | TObjectPtr< UModifierHierarchyRules > | Hierarchies/ModifierHierarchyAsset.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the child groups of the given group. | Hierarchies/ModifierHierarchyAsset.h |
|
|
bool GetConnectionPointTargetForNode
(
FName GroupName, |
Gets the connection point the modifier is configured to be bound to. | Hierarchies/ModifierHierarchyAsset.h |
|
TSet< FName > GetGroupsContainingModifier
(
UVCamModifier* Modifier |
Utility function to get all groups which contain this modifier. | Hierarchies/ModifierHierarchyAsset.h | |
UVCamModifier * GetModifierInNode
(
UVCamComponent* Component, |
Gets all the modifiers on the component that belong in the given group. | Hierarchies/ModifierHierarchyAsset.h |
|
| Gets the parent of this given group. Fails if called on the root node. | Hierarchies/ModifierHierarchyAsset.h |
|
|
FName GetRootNode() |
Gets the root of the tree. | Hierarchies/ModifierHierarchyAsset.h |
|