Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigHierarchyController
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include | #include "Rigs/RigHierarchyController.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigHierarchyController : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bReportWarningsAndErrors |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRigElementKey | AddAnimationChannel
(
FName InName, |
Adds a control to the hierarchy | |
| FRigElementKey | AddAnimationChannel_ForBlueprint
(
FName InName, |
Adds a control to the hierarchy | |
| FRigElementKey | AddBone
(
FName InName, |
Adds a bone to the hierarchy | |
| FRigElementKey | AddControl
(
FName InName, |
Adds a control to the hierarchy | |
| FRigElementKey | AddControl_ForBlueprint
(
FName InName, |
Adds a control to the hierarchy | |
| FRigElementKey | Adds a curve to the hierarchy | ||
| FRigElementKey | AddNull
(
FName InName, |
Adds a null to the hierarchy | |
| bool | AddParent
(
FRigBaseElement* InChild, |
Adds a new parent to an element. | |
| bool | AddParent
(
FRigElementKey InChild, |
Adds a new parent to an element. | |
| FRigElementKey | AddReference
(
FName InName, |
Adds an reference to the hierarchy | |
| FRigElementKey | AddRigidBody
(
FName InName, |
Adds a rigidbody to the hierarchy | |
| bool | Clears the selection | ||
| bool | DeselectElement
(
FRigElementKey InKey |
Deselects or deselects an element in the hierarchy | |
| TArray< FRigElementKey > | DuplicateElements
(
TArray< FRigElementKey > InKeys, |
Duplicate the given elements | |
| FString | Exports the selected items to text | ||
| FString | ExportToText
(
TArray< FRigElementKey > InKeys |
Exports a list of items to text | |
| TArray< FString > | |||
| TArray< FString > | GetAddBonePythonCommands
(
FRigBoneElement* Bone |
||
| TArray< FString > | GetAddControlPythonCommands
(
FRigControlElement* Control |
||
| TArray< FString > | GetAddCurvePythonCommands
(
FRigCurveElement* Curve |
||
| TArray< FString > | GetAddElementPythonCommands
(
FRigBaseElement* Element |
||
| TArray< FString > | GetAddNullPythonCommands
(
FRigNullElement* Null |
||
| TArray< FString > | GetAddRigidBodyPythonCommands
(
FRigRigidBodyElement* RigidBody |
||
| FRigControlSettings | GetControlSettings
(
FRigElementKey InKey |
Returns the control settings of a given control | |
| URigHierarchy * | GetHierarchy () |
Returns the hierarchy currently linked to this controller. | |
| TArray< FString > | GetSetControlOffsetTransformPythonCommands
(
const FRigControlElement* Control, |
||
| TArray< FString > | GetSetControlShapeTransformPythonCommands
(
const FRigControlElement* Control, |
||
| TArray< FString > | GetSetControlValuePythonCommands
(
const FRigControlElement* Control, |
||
| bool & | Returns a reference to the suspend notifications flag | ||
| TArray< FRigElementKey > | ImportBones
(
USkeleton* InSkeleton, |
Imports an existing skeleton to the hierarchy | |
| TArray< FRigElementKey > | ImportBones
(
const FReferenceSkeleton& InSkeleton, |
Imports an existing skeleton to the hierarchy | |
| TArray< FRigElementKey > | ImportBonesFromAsset
(
FString InAssetPath, |
Imports an existing skeleton to the hierarchy | |
| TArray< FRigElementKey > | ImportCurves
(
USkeleton* InSkeleton, |
Imports all curves from a skeleton to the hierarchy | |
| TArray< FRigElementKey > | ImportCurvesFromAsset
(
FString InAssetPath, |
Imports all curves from a skeleton to the hierarchy | |
| TArray< FRigElementKey > | ImportFromHierarchyContainer
(
const FRigHierarchyContainer& InContainer, |
Imports the content of a RigHierachyContainer (the hierarchy v1 pre 5.0) This is used for backwards compatbility only during load and does not support undo. | |
| TArray< FRigElementKey > | ImportFromText
(
FString InContent, |
Imports the content of a text buffer to the hierarchy | |
| TArray< FRigElementKey > | MirrorElements
(
TArray< FRigElementKey > InKeys, |
Mirrors the given elements | |
| FRigHierarchyModifiedEvent & | OnModified () |
Returns the modified event, which can be used to subscribe to topological changes happening within the hierarchy. | |
| bool | RemoveAllParents
(
FRigElementKey InChild, |
Removes all parents from an element in the hierarchy. | |
| bool | RemoveElement
(
FRigElementKey InElement, |
Removes an existing element from the hierarchy | |
| bool | RemoveParent
(
FRigElementKey InChild, |
Removes an existing parent from an element in the hierarchy. | |
| FRigElementKey | RenameElement
(
FRigElementKey InElement, |
Renames an existing element in the hierarchy | |
| bool | ReorderElement
(
FRigElementKey InElement, |
Changes the element's index within its default parent (or the top level) | |
| void | ReportAndNotifyError
(
const FString& InMessage |
Reports an error to the console and logs a notification to the UI. | |
| void | ReportAndNotifyErrorf
(
const FmtType& Fmt, |
||
| void | ReportError
(
const FString& InMessage |
Reports an error to the console. This does nothing if bReportWarningsAndErrors is false. | |
| void | ReportErrorf
(
const FmtType& Fmt, |
||
| void | ReportWarning
(
const FString& InMessage |
Reports a warning to the console. This does nothing if bReportWarningsAndErrors is false. | |
| void | ReportWarningf
(
const FmtType& Fmt, |
||
| bool | SelectElement
(
FRigElementKey InKey, |
Selects or deselects an element in the hierarchy | |
| bool | SetControlSettings
(
FRigElementKey InKey, |
Sets a control's settings given a control key | |
| FName | SetDisplayName
(
FRigElementKey InControl, |
Sets the display name on a control | |
| void | SetHierarchy
(
URigHierarchy* InHierarchy |
Sets the hierarchy currently linked to this controller. | |
| bool | SetParent
(
FRigElementKey InChild, |
Sets a new parent to an element. | |
| bool | SetSelection
(
const TArray< FRigElementKey >& InKeys, |
Sets the selection based on a list of keys |