Navigation
API > API/Plugins > API/Plugins/VCamExtensions > API/Plugins/VCamExtensions/Hierarchies
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UModifierHierarchyAsset
References
| Module | VCamExtensions |
| Header | /Engine/Plugins/Experimental/VirtualCamera/Source/VCamExtensions/Public/Hierarchies/ModifierHierarchyAsset.h |
| Include | #include "Hierarchies/ModifierHierarchyAsset.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UModifierHierarchyAsset : public UObject
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UModifierHierarchyRules > | Rules |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSet< FName > | GetChildNodes
(
FName ParentGroup |
Gets the child groups of the given group. | |
| bool | GetConnectionPointTargetForNode
(
FName GroupName, |
Gets the connection point the modifier is configured to be bound to. | |
| TSet< FName > | GetGroupsContainingModifier
(
UVCamModifier* Modifier |
Utility function to get all groups which contain this modifier. | |
| UVCamModifier * | GetModifierInNode
(
UVCamComponent* Component, |
Gets all the modifiers on the component that belong in the given group. | |
| bool | GetParentNode
(
FName ChildNode, |
Gets the parent of this given group. Fails if called on the root node. | |
| FName | GetRootNode () |
Gets the root of the tree. |