Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigHierarchy
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigHierarchy : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableCacheValidityCheck | ||
| bool | bUpdatePreferedEulerAngleWhenSettingTransform | ||
| TMap< FRigElementKey, FRigElementKey > | DefaultParentPerElement | ||
| TObjectPtr< URigHierarchy > | HierarchyForCacheValidation | ||
| int32 | TraceFramesCaptured | ||
| int32 | TraceFramesLeft | ||
| TMap< FName, FRigPose > | TracePoses |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCachedCollection
(
uint32 InHash, |
||
| TArray< FRigBaseElement * >::RangedForIteratorType | begin () |
Iterators | |
| bool | CanSwitchToParent
(
FRigElementKey InChild, |
Determines if the element can be switched to a provided parent | |
| void | Updates the format for trace floating point numbers | ||
| void | Cleans up caches after load | ||
| void | |||
| bool | Contains
(
const FRigElementKey& InKey |
Returns true if the provided element key is valid as a certain typename | |
| bool | Contains
(
const FRigElementKey& InKey |
Returns true if the provided element key is valid | |
| bool | Contains_ForBlueprint
(
FRigElementKey InKey |
Returns true if the provided element key is valid | |
| void | CopyHierarchy
(
URigHierarchy* InHierarchy |
Copies the contents of a hierarchy onto this one | |
| void | CopyPose
(
URigHierarchy* InHierarchy, |
Copies the contents of a hierarchy onto this one | |
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | DumpTransformStackToFile
(
FString* OutFilePath |
Dumps the content of the transform stack to a string | |
| TArray< FRigBaseElement * >::RangedForIteratorType | end () |
||
| void | Starts an interaction on the rig. This will cause all transform actions happening to be merged | ||
| void | Performs validation of the cache within the hierarchy on any mutation. | ||
| const T * | Find
(
const FRigElementKey& InKey |
Returns an element for a given key or nullptr. | |
| T * | Find
(
const FRigElementKey& InKey |
Returns an element for a given key or nullptr. | |
| const FRigBaseElement * | Find
(
const FRigElementKey& InKey |
Returns an element for a given key or nullptr. | |
| FRigBaseElement * | Find
(
const FRigElementKey& InKey |
Returns an element for a given key or nullptr. | |
| const FRigElementKeyCollection * | FindCachedCollection
(
uint32 InHash |
||
| const T * | FindChecked
(
const FRigElementKey& InKey |
Returns an element for a given key. | |
| FRigBaseElement * | FindChecked
(
const FRigElementKey& InKey |
Returns an element for a given key and raises for invalid results. | |
| const FRigBaseElement * | FindChecked
(
const FRigElementKey& InKey |
Returns an element for a given key and raises for invalid results. | |
| T * | FindChecked
(
const FRigElementKey& InKey |
Returns an element for a given key. | |
| FRigElementKeyCollection & | FindOrAddCachedCollection
(
uint32 InHash |
||
| ERigElementType | FlatIndexToRigElementType
(
int32 InIndex |
||
| void | ForEach
(
TFunction< bool(FRigBaseElement*)> PerElementFunction |
Iterator function to invoke a lambda / TFunction for each element | |
| void | Filtered template Iterator function to invoke a lambda / TFunction for each element of a given type. | ||
| FRigBaseElement * | Get
(
int32 InIndex |
Returns an element at a given index or nullptr. | |
| const T * | Get
(
int32 InIndex |
Returns an element at a given index or nullptr. | |
| T * | Get
(
int32 InIndex |
Returns an element at a given index or nullptr. | |
| const FRigBaseElement * | Get
(
int32 InIndex |
Returns an element at a given index or nullptr. | |
| FRigElementKey | GetActiveParent
(
const FRigElementKey& InKey |
Get the current active for the passed in key. | |
| TArray< FRigElementKey > | GetAllKeys
(
bool bTraverse, |
Returns all element keys of this hierarchy | |
| TArray< FRigElementKey > | GetAllKeys_ForBlueprint
(
bool bTraverse |
Returns all element keys of this hierarchy | |
| TArray< FRigElementKey > | GetBoneKeys
(
bool bTraverse |
Returns all Bone elements | |
| TArray< FRigBoneElement * > | GetBones
(
bool bTraverse |
Returns all Bone elements | |
| TArray< bool > | GetBoolArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of bool array metadata | |
| bool | GetBoolMetadata
(
FRigElementKey InItem, |
Queries and returns the value of bool metadata | |
| const T * | GetChecked
(
int32 InIndex |
Returns an element at a given index. | |
| T * | GetChecked
(
int32 InIndex |
Returns an element at a given index. | |
| TArray< FRigElementKey > | GetChildren
(
FRigElementKey InKey, |
Returns the child elements of a given element key | |
| FRigBaseElementChildrenArray | GetChildren
(
const FRigBaseElement* InElement, |
Returns the child elements of a given element | |
| TArray< int32 > | GetChildren
(
int32 InIndex, |
Returns the child elements of a given element index | |
| const FRigBaseElementChildrenArray & | GetChildren
(
const FRigBaseElement* InElement |
Returns the child elements of a given element | |
| FVector | GetControlAnglesFromQuat
(
const FRigControlElement* InControlElement, |
||
| TArray< FRigElementKey > | GetControlKeys
(
bool bTraverse |
Returns all Control elements | |
| URigHierarchyController * | GetController
(
bool bCreateIfNeeded |
Returns a controller for this hierarchy. | |
| FTransform | GetControlOffsetTransform
(
FRigControlElement* InControlElement, |
Returns the global offset transform for a given control element. | |
| FString | GetControlPinDefaultValue
(
FRigControlElement* InControlElement, |
Returns the default value to use for a pin for a control | |
| FEdGraphPinType | GetControlPinType
(
FRigControlElement* InControlElement |
Returns the pin type to use for a control | |
| FVector | GetControlPreferredEulerAngles
(
const FRigControlElement* InControlElement, |
Returns a control's preferred euler angles (local transform rotation) | |
| FVector | GetControlPreferredEulerAngles
(
FRigElementKey InKey, |
Returns a control's preferred euler angles (local transform rotation) | |
| FVector | GetControlPreferredEulerAnglesByIndex
(
int32 InElementIndex, |
Returns a control's preferred euler angles (local transform rotation) | |
| EEulerRotationOrder | GetControlPreferredEulerRotationOrder
(
const FRigControlElement* InControlElement, |
Returns a control's preferred euler rotation order | |
| EEulerRotationOrder | GetControlPreferredEulerRotationOrder
(
FRigElementKey InKey, |
Returns a control's preferred euler rotation order | |
| EEulerRotationOrder | GetControlPreferredEulerRotationOrderByIndex
(
int32 InElementIndex, |
Returns a control's preferred euler rotation order | |
| FRotator | GetControlPreferredRotator
(
FRigElementKey InKey, |
Returns a control's preferred rotator (local transform rotation) | |
| FRotator | GetControlPreferredRotator
(
const FRigControlElement* InControlElement, |
Returns a control's preferred rotator (local transform rotation) | |
| FRotator | GetControlPreferredRotatorByIndex
(
int32 InElementIndex, |
Returns a control's preferred rotator (local transform rotation) | |
| FQuat | GetControlQuaternion
(
const FRigControlElement* InControlElement, |
||
| TArray< FRigControlElement * > | GetControls
(
bool bTraverse |
Returns all Control elements | |
| FTransform | GetControlShapeTransform
(
FRigControlElement* InControlElement, |
Returns the global shape transform for a given control element. | |
| FVector | GetControlSpecifiedEulerAngle
(
const FRigControlElement* InControlElement, |
||
| T | GetControlValue
(
FRigControlElement* InControlElement, |
||
| T | GetControlValue
(
FRigElementKey InKey, |
Returns a control's current value given its key | |
| FRigControlValue | GetControlValue
(
int32 InElementIndex, |
Returns a control's current value given its index | |
| T | GetControlValue
(
int32 InElementIndex, |
Returns a control's current value given its index | |
| FRigControlValue | GetControlValue
(
FRigControlElement* InControlElement, |
Returns a control's current value | |
| FVector2D | GetControlValue
(
FRigControlElement* InControlElement, |
||
| FRigControlValue | GetControlValue
(
FRigElementKey InKey, |
Returns a control's current value given its key | |
| FRigControlValue | GetControlValueByIndex
(
int32 InElementIndex, |
Returns a control's current value given its index | |
| TArray< FRigElementKey > | GetCurveKeys () |
Returns all Curve elements | |
| TArray< FRigCurveElement * > | GetCurves () |
Returns all Curve elements | |
| float | GetCurveValue
(
FRigCurveElement* InCurveElement |
Returns a curve's value. If the curve value is not set, returns | |
| float | GetCurveValue
(
int32 InElementIndex |
TODO: Deprecate? | |
| float | GetCurveValue
(
FRigElementKey InKey |
Returns a curve's value given its key | |
| float | GetCurveValueByIndex
(
int32 InElementIndex |
Returns a curve's value given its index | |
| URigHierarchy * | Returns the default hierarchy for this hierarchy (or nullptr) | ||
| FRigElementKey | GetDefaultParent
(
FRigElementKey InKey |
Returns the default parent element's key of a given child key | |
| FRigElementKey | |||
| TElementDependencyMap | GetDependenciesForVM
(
const URigVM* InVM, |
||
| TArray< T * > | GetElementsOfType
(
bool bTraverse |
Filtered accessor to retrieve all elements of a given type | |
| FEulerTransform | GetEulerTransformFromControlValue
(
FRigControlValue InValue |
Returns the contained FEulerTransform value from a a Rig Control Value | |
| TArray< T * > | GetFilteredElements
(
TFunction< bool(T*)> InKeepElementFunction, |
Filtered accessor to retrieve all elements of a given type | |
| FRigElementKey | GetFirstParent
(
FRigElementKey InKey |
Returns the first parent element of a given element key | |
| int32 | GetFirstParent
(
int32 InIndex |
Returns the first parent element of a given element index | |
| FRigBaseElement * | GetFirstParent
(
const FRigBaseElement* InElement |
Returns the first parent element of a given element | |
| TArray< float > | GetFloatArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of float array metadata | |
| float | GetFloatFromControlValue
(
FRigControlValue InValue |
Returns the contained float value from a a Rig Control Value | |
| float | GetFloatMetadata
(
FRigElementKey InItem, |
Queries and returns the value of float metadata | |
| FTransform | GetGlobalControlOffsetTransform
(
FRigElementKey InKey, |
Returns the global offset transform for a given control element. | |
| FTransform | GetGlobalControlOffsetTransformByIndex
(
int32 InElementIndex, |
Returns the global offset transform for a given control element. | |
| FTransform | GetGlobalControlShapeTransform
(
FRigElementKey InKey, |
Returns the global shape transform for a given control element. | |
| FTransform | GetGlobalControlShapeTransformByIndex
(
int32 InElementIndex, |
Returns the global shape transform for a given control element. | |
| FTransform | GetGlobalTransform
(
int32 InElementIndex |
||
| FTransform | GetGlobalTransform
(
FRigElementKey InKey, |
Returns the global current or initial value for a given key. | |
| FTransform | GetGlobalTransformByIndex
(
int32 InElementIndex, |
Returns the global current or initial value for a element index. | |
| FRigElementHandle | GetHandle
(
const FRigElementKey& InKey |
Returns a handle to an existing element | |
| int32 | GetIndex
(
const FRigElementKey& InKey |
Returns the index of an element given its key | |
| int32 | GetIndex_ForBlueprint
(
FRigElementKey InKey |
Returns the index of an element given its key | |
| TArray< int32 > | GetIndices
(
const TArray< FRigElementKey >& InKeys |
Returns the indices of an array of keys | |
| T | GetInitialControlValue
(
int32 InElementIndex |
Returns a control's initial value given its index | |
| FRigControlValue | GetInitialControlValue
(
int32 InElementIndex |
Returns a control's initial value given its index | |
| FTransform | GetInitialGlobalTransform
(
const FRigElementKey& InKey |
||
| FTransform | GetInitialGlobalTransform
(
int32 InElementIndex |
||
| FTransform | GetInitialLocalTransform
(
int32 InElementIndex |
||
| FTransform | GetInitialLocalTransform
(
const FRigElementKey& InKey |
||
| TArray< int32 > | GetInt32ArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of int32 array metadata | |
| int32 | GetInt32Metadata
(
FRigElementKey InItem, |
Queries and returns the value of int32 metadata | |
| int32 | GetIntFromControlValue
(
FRigControlValue InValue |
Returns the contained int32 value from a a Rig Control Value | |
| FRigElementKey | GetKey
(
int32 InElementIndex |
Returns the key of an element given its index | |
| TArray< FRigElementKey > | Returns the keys of an array of indices | ||
| TArray< FRigElementKey > | GetKeysByPredicate
(
TFunctionRef< bool(const FRigBaseElement&)> InPredicateFunc, |
Returns element keys of this hierarchy, filtered by a predicate. | |
| TArray< FRigElementKey > | GetKeysOfType
(
bool bTraverse |
Filtered accessor to retrieve all element keys of a given type | |
| TArray< FLinearColor > | GetLinearColorArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FLinearColor array metadata | |
| FLinearColor | GetLinearColorMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FLinearColor metadata | |
| FTransform | GetLocalControlShapeTransform
(
FRigElementKey InKey, |
Returns the local shape transform for a given control element. | |
| FTransform | GetLocalControlShapeTransformByIndex
(
int32 InElementIndex, |
Returns the local shape transform for a given control element. | |
| int32 | GetLocalIndex
(
const FRigElementKey& InKey |
Returns the index of an element given its key within its default parent (or root) | |
| int32 | GetLocalIndex
(
const FRigBaseElement* InElement |
Returns the index of an element given its key within its default parent (or root) | |
| int32 | GetLocalIndex_ForBlueprint
(
FRigElementKey InKey |
Returns the index of an element given its key within its default parent (or root) | |
| FTransform | GetLocalTransform
(
FRigElementKey InKey, |
Returns the local current or initial value for a given key. | |
| FTransform | GetLocalTransform
(
int32 InElementIndex |
||
| FTransform | GetLocalTransformByIndex
(
int32 InElementIndex, |
Returns the local current or initial value for a element index. | |
| int32 | Returns the max allowed length for a name within the hierarchy. | ||
| TArray< FName > | GetMetadataNames
(
FRigElementKey InItem |
Returns the name of metadata for a given element | |
| uint16 | Returns the metadata tag version of this hierarchy | ||
| ERigMetadataType | GetMetadataType
(
FRigElementKey InItem, |
Returns the type of metadata given its name the item it is stored under | |
| uint16 | Returns the metadata version of this hierarchy | ||
| TArray< FName > | GetNameArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FName array metadata | |
| uint32 | GetNameHash () |
Returns a hash for the hierarchy representing all names as well as the topology version. | |
| FName | GetNameMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FName metadata | |
| TArray< FRigElementKey > | GetNullKeys
(
bool bTraverse |
Returns all Null elements | |
| TArray< FRigNullElement * > | GetNulls
(
bool bTraverse |
Returns all Null elements | |
| int32 | GetNumberOfParents
(
int32 InIndex |
Returns the number of parents of an element | |
| int32 | GetNumberOfParents
(
FRigElementKey InKey |
Returns the number of parents of an element | |
| int32 | GetNumberOfParents
(
const FRigBaseElement* InElement |
Returns the number of parents of an element | |
| FRigElementKey | Adds the world space reference or returns it | ||
| TArray< FRigElementKey > | GetParents
(
FRigElementKey InKey, |
Returns the parent elements of a given element key | |
| TArray< int32 > | GetParents
(
int32 InIndex, |
Returns the parent elements of a given element index | |
| FRigBaseElementParentArray | GetParents
(
const FRigBaseElement* InElement, |
Returns the parent elements of a given element | |
| FTransform | GetParentTransform
(
FRigElementKey InKey, |
Returns the global current or initial value for a given key. | |
| FTransform | GetParentTransform
(
FRigBaseElement* InElement, |
Returns a transform for a given element's parent based on the transform type If the element does not have a parent FTransform::Identity will be returned. | |
| FTransform | GetParentTransformByIndex
(
int32 InElementIndex, |
Returns the global current or initial value for a given element index. | |
| FRigElementWeight | GetParentWeight
(
FRigElementKey InChild, |
Returns the weight of a parent below a multi parent element | |
| FRigElementWeight | GetParentWeight
(
const FRigBaseElement* InChild, |
Returns the weight of a parent below a multi parent element | |
| FRigElementWeight | GetParentWeight
(
const FRigBaseElement* InChild, |
Returns the weight of a parent below a multi parent element | |
| TArray< FRigElementWeight > | GetParentWeightArray
(
FRigElementKey InChild, |
Returns the weights of all parents below a multi parent element | |
| TArray< FRigElementWeight > | GetParentWeightArray
(
const FRigBaseElement* InChild, |
Returns the weights of all parents below a multi parent element | |
| FRigPose | GetPose
(
bool bInitial |
Returns the current / initial pose of the hierarchy | |
| FRigPose | GetPose
(
bool bInitial, |
Returns the current / initial pose of the hierarchy | |
| FRigPose | GetPose
(
bool bInitial, |
Returns the current / initial pose of the hierarchy | |
| FName | GetPreviousName
(
const FRigElementKey& InKey |
Returns the previous name of an element prior to a rename operation | |
| FRigElementKey | GetPreviousParent
(
const FRigElementKey& InKey |
Returns the previous parent of an element prior to a reparent operation | |
| TArray< FQuat > | GetQuatArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FQuat array metadata | |
| FQuat | GetQuatMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FQuat metadata | |
| TArray< FRigElementKey > | GetReferenceKeys
(
bool bTraverse |
Returns all references | |
| TArray< FRigReferenceElement * > | GetReferences
(
bool bTraverse |
Returns all references | |
| TArray< FRigElementKey > | GetRigElementKeyArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FRigElementKey array metadata | |
| FRigElementKey | GetRigElementKeyMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FRigElementKey metadata | |
| TArray< FRigRigidBodyElement * > | GetRigidBodies
(
bool bTraverse |
Returns all RigidBody elements | |
| TArray< FRigElementKey > | GetRigidBodyKeys
(
bool bTraverse |
Returns all RigidBody elements | |
| TArray< FRigElementKey > | Returns all root element keys | ||
| TArray< FRigBaseElement * > | Returns all root elements | ||
| TArray< FRotator > | GetRotatorArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FRotator array metadata | |
| FRotator | GetRotatorFromControlValue
(
FRigControlValue InValue |
Returns the contained FRotator value from a a Rig Control Value | |
| FRotator | GetRotatorMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FRotator metadata | |
| FName | GetSafeNewDisplayName
(
const FRigElementKey& InParentElement, |
Returns a valid new display name for a control | |
| FName | GetSafeNewName
(
const FString& InPotentialNewName, |
Returns a valid new name for a to-be-added element. | |
| FName | GetSanitizedName
(
const FString& InName |
Sanitizes a name by removing invalid characters. | |
| TArray< const FRigBaseElement * > | GetSelectedElements
(
ERigElementType InTypeFilter |
Returns the selected elements The types to retrieve the selection for | |
| TArray< FRigElementKey > | GetSelectedKeys
(
ERigElementType InTypeFilter |
Returns the keys of selected elements The types to retrieve the selection for | |
| bool & | Returns a reference to the suspend notifications flag | ||
| TArray< FName > | GetTags
(
FRigElementKey InItem |
Returns the tags for a given item | |
| uint32 | GetTopologyHash
(
bool bIncludeTopologyVersion, |
Returns a hash representing the topological state of the hierarchy | |
| uint16 | Returns the topology version of this hierarchy | ||
| FTransform | GetTransform
(
FRigTransformElement* InTransformElement, |
Returns a transform based on a given transform type | |
| TArray< FTransform > | GetTransformArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FTransform array metadata | |
| FTransform | GetTransformFromControlValue
(
FRigControlValue InValue |
Returns the contained FTransform value from a a Rig Control Value | |
| FTransform | GetTransformMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FTransform metadata | |
| FTransformNoScale | GetTransformNoScaleFromControlValue
(
FRigControlValue InValue |
Returns the contained FTransformNoScale value from a a Rig Control Value | |
| int32 | Returns the transform stack index | ||
| TArray< FRigControlElement * > | Returns all transient Control elements | ||
| bool | GetUsePreferredRotationOrder
(
const FRigControlElement* InControlElement |
||
| FVector2D | GetVector2DFromControlValue
(
FRigControlValue InValue |
Returns the contained FVector2D value from a a Rig Control Value | |
| TArray< FVector > | GetVectorArrayMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FVector array metadata | |
| FVector | GetVectorFromControlValue
(
FRigControlValue InValue |
Returns the contained FVector value from a a Rig Control Value | |
| FVector | GetVectorMetadata
(
FRigElementKey InItem, |
Queries and returns the value of FVector metadata | |
| FRigElementKey | |||
| bool | HasTag
(
FRigElementKey InItem, |
Returns true if a given item has a certain tag | |
| void | IncrementMetadataTagVersion
(
const FRigElementKey& InKey, |
Increments the metadataTag version | |
| void | IncrementMetadataVersion
(
const FRigElementKey& InKey, |
Increments the metadata version | |
| void | Increments the topology version | ||
| bool | IsAnimatable
(
const FRigElementKey& InKey |
Returns true if the control is animatable | |
| bool | IsAnimatable
(
const FRigControlElement* InControlElement |
Returns true if the control is animatable | |
| bool | Returns true if the hierarchy controller is currently available The controller may not be available during certain events. | ||
| bool | IsCurveValueSet
(
FRigCurveElement* InCurveElement |
Returns whether a curve's value is set. If the curve value is not set, returns false. | |
| bool | IsCurveValueSet
(
FRigElementKey InKey |
Returns whether a curve's value is set, given its key | |
| bool | IsCurveValueSetByIndex
(
int32 InElementIndex |
Returns a curve's value given its index | |
| bool | IsDependentOn
(
FRigBaseElement* InDependent, |
Returns true if an element is affected to another element | |
| bool | IsDisplayNameAvailable
(
const FRigElementKey& InParentElement, |
Returns true if a given display name is available. | |
| bool | IsNameAvailable
(
const FString& InPotentialNewName, |
Returns true if a given name is available. | |
| bool | IsParentedTo
(
FRigElementKey InChild, |
Returns true if an element is parented to another element | |
| bool | IsParentedTo
(
FRigBaseElement* InChild, |
Returns true if an element is parented to another element | |
| bool | IsParentedTo
(
int32 InChildIndex, |
Returns true if an element is parented to another element | |
| bool | IsProcedural
(
const FRigBaseElement* InElement |
Returns true if the provided element is procedural. | |
| bool | IsProcedural
(
const FRigElementKey& InKey |
Returns true if the provided element is procedural. | |
| bool | IsSelected
(
int32 InIndex |
||
| bool | IsSelected
(
FRigElementKey InKey |
Returns true if a given element is selected | |
| bool | IsSelectedByIndex
(
int32 InIndex |
Returns true if a given element is selected | |
| bool | Returns true if a hierarchy will record any change. This is used for debugging purposes. | ||
| bool | IsValidIndex
(
int32 InElementIndex |
Returns true if the provided element index is valid | |
| void | |||
| FRigControlValue | MakeControlValueFromBool
(
bool InValue |
Creates a rig control value from a bool value | |
| FRigControlValue | MakeControlValueFromEulerTransform
(
FEulerTransform InValue |
Creates a rig control value from a FEulerTransform value | |
| FRigControlValue | MakeControlValueFromFloat
(
float InValue |
Creates a rig control value from a float value | |
| FRigControlValue | MakeControlValueFromInt
(
int32 InValue |
Creates a rig control value from a int32 value | |
| FRigControlValue | MakeControlValueFromRotator
(
FRotator InValue |
Creates a rig control value from a FRotator value | |
| FRigControlValue | MakeControlValueFromTransform
(
FTransform InValue |
Creates a rig control value from a FTransform value | |
| FRigControlValue | Creates a rig control value from a FTransformNoScale value | ||
| FRigControlValue | MakeControlValueFromVector
(
FVector InValue |
Creates a rig control value from a FVector value | |
| FRigControlValue | MakeControlValueFromVector2D
(
FVector2D InValue |
Creates a rig control value from a FVector2D value | |
| void | Notify
(
ERigHierarchyNotification InNotifType, |
||
| int32 | Num
(
ERigElementType InElementType |
Returns the number of elements in the Hierarchy. | |
| int32 | Num () |
Returns the number of elements in the Hierarchy. | |
| FRigEventDelegate & | Returns the delegate to listen to for events coming from this hierarchy | ||
| FRigHierarchyMetadataChangedDelegate & | Returns the MetadataChanged event, which can be used to track metadata changes Note: This notification has a very high volume - so the consequences of subscribing to it may cause performance slowdowns. | ||
| void | OnMetadataChanged_Static
(
const FRigElementKey& InKey, |
||
| FRigHierarchyMetadataTagChangedDelegate & | Returns the MetadataTagChanged event, which can be used to track metadata tag changes Note: This notification has a very high volume - so the consequences of subscribing to it may cause performance slowdowns. | ||
| void | OnMetadataTagChanged_Static
(
const FRigElementKey& InKey, |
||
| FRigHierarchyModifiedEvent & | OnModified () |
Returns the modified event, which can be used to subscribe to topological changes happening within the hierarchy. | |
| FRigHierarchyUndoRedoTransformEvent & | OnUndoRedo () |
Returns the event fired during undo / redo | |
| bool | Redo () |
Performs redo for one transform change | |
| void | RegisterListeningHierarchy
(
URigHierarchy* InHierarchy |
Add dependent hierarchies that listens to changes made to this hierarchy Note: By default, only changes to the initial states of this hierarchy is mirrored to the listening hierarchies | |
| bool | RemoveAllMetadata
(
FRigElementKey InItem |
Removes all of the metadata under a given item | |
| bool | RemoveMetadata
(
FRigElementKey InItem, |
Removes the metadata under a given element | |
| void | Reset () |
Clears the whole hierarchy and removes all elements. | |
| void | Resets all curves to 0.0 | ||
| void | Resets the current pose of all elements to the initial / ref pose. | ||
| void | ResetPoseToInitial
(
ERigElementType InTypeFilter |
Resets the current pose of a filtered list of elements to the initial / ref pose. | |
| void | Resets the hierarchy to the state of its default. | ||
| void | Clears the undo / redo stack of this hierarchy | ||
| int32 | RigElementTypeToFlatIndex
(
ERigElementType InElementType |
||
| void | SanitizeName
(
FString& InOutName |
Sanitizes a name by removing invalid characters. | |
| void | |||
| void | SendAutoKeyEvent
(
FRigElementKey InElement, |
Sends an autokey event from the hierarchy to the world | |
| void | SendEvent
(
const FRigEventContext& InEvent, |
Sends an event from the hierarchy to the world | |
| bool | SetBoolArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a bool array value | |
| bool | SetBoolMetadata
(
FRigElementKey InItem, |
Sets the metadata to a bool value | |
| void | SetControlOffsetTransform
(
FRigElementKey InKey, |
Sets the offset transform for a given control element by key | |
| void | SetControlOffsetTransform
(
FRigControlElement* InControlElement, |
Sets the offset transform for a given control element | |
| void | SetControlOffsetTransformByIndex
(
int32 InElementIndex, |
Sets the local offset transform for a given control element by index | |
| void | SetControlPreferredEulerAngles
(
FRigElementKey InKey, |
Sets a control's preferred euler angles (local transform rotation) | |
| void | SetControlPreferredEulerAngles
(
FRigControlElement* InControlElement, |
Sets a control's preferred euler angles (local transform rotation) | |
| void | SetControlPreferredEulerAnglesByIndex
(
int32 InElementIndex, |
Sets a control's preferred euler angles (local transform rotation) | |
| void | SetControlPreferredRotationOrder
(
FRigControlElement* InControlElement, |
Sets a control's preferred euler rotation order | |
| void | SetControlPreferredRotationOrder
(
FRigElementKey InKey, |
Sets a control's preferred euler rotation order | |
| void | SetControlPreferredRotationOrderByIndex
(
int32 InElementIndex, |
Sets a control's preferred euler rotation order | |
| void | SetControlPreferredRotator
(
FRigElementKey InKey, |
Sets a control's preferred rotator (local transform rotation) | |
| void | SetControlPreferredRotator
(
FRigControlElement* InControlElement, |
Sets a control's preferred rotator (local transform rotation) | |
| void | SetControlPreferredRotatorByIndex
(
int32 InElementIndex, |
Sets a control's preferred rotator (local transform rotation) | |
| void | SetControlSettings
(
FRigElementKey InKey, |
Sets the control settings for a given control element by key | |
| void | SetControlSettings
(
FRigControlElement* InControlElement, |
Sets the control settings for a given control element | |
| void | SetControlSettingsByIndex
(
int32 InElementIndex, |
Sets the control settings for a given control element by index | |
| void | SetControlShapeTransform
(
FRigControlElement* InControlElement, |
Sets the shape transform for a given control element | |
| void | SetControlShapeTransform
(
FRigElementKey InKey, |
Sets the shape transform for a given control element by key | |
| void | SetControlShapeTransformByIndex
(
int32 InElementIndex, |
Sets the local shape transform for a given control element by index | |
| void | SetControlSpecifiedEulerAngle
(
FRigControlElement* InControlElement, |
||
| void | SetControlValue
(
FRigControlElement* InControlElement, |
Sets a control's current value | |
| void | SetControlValue
(
FRigControlElement* InControlElement, |
||
| void | SetControlValue
(
int32 InElementIndex, |
Sets a control's current value given its index | |
| void | SetControlValue
(
FRigElementKey InKey, |
Sets a control's current value given its key | |
| void | SetControlValue
(
FRigElementKey InKey, |
Sets a control's current value given its key | |
| void | SetControlValue
(
int32 InElementIndex, |
||
| void | SetControlValue
(
int32 InElementIndex, |
Sets a control's current value given its index | |
| void | SetControlValueByIndex
(
int32 InElementIndex, |
Sets a control's current value given its index | |
| void | SetControlVisibility
(
int32 InElementIndex, |
||
| void | SetControlVisibility
(
FRigElementKey InKey, |
Sets a control's current visibility based on a key | |
| void | SetControlVisibility
(
FRigControlElement* InControlElement, |
Sets a control's current visibility | |
| void | SetControlVisibilityByIndex
(
int32 InElementIndex, |
Sets a control's current visibility based on a key | |
| void | SetCurveValue
(
int32 InElementIndex, |
TODO: Deprecate? | |
| void | SetCurveValue
(
FRigCurveElement* InCurveElement, |
Sets a curve's value | |
| void | SetCurveValue
(
FRigElementKey InKey, |
Sets a curve's value given its key | |
| void | SetCurveValueByIndex
(
int32 InElementIndex, |
Sets a curve's value given its index | |
| bool | SetFloatArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a float array value | |
| bool | SetFloatMetadata
(
FRigElementKey InItem, |
Sets the metadata to a float value | |
| void | SetGlobalTransform
(
FRigElementKey InKey, |
Sets the global current or initial transform for a given key. | |
| void | SetGlobalTransform
(
int32 InElementIndex, |
||
| void | SetGlobalTransformByIndex
(
int32 InElementIndex, |
Sets the global current or initial transform for a given element index. | |
| void | SetInitialControlValue
(
int32 InElementIndex, |
Sets a control's initial value given its index | |
| void | SetInitialControlValue
(
int32 InElementIndex, |
Sets a control's initial value given its index | |
| void | SetInitialGlobalTransform
(
const FRigElementKey& InKey, |
||
| void | SetInitialGlobalTransform
(
int32 InElementIndex, |
||
| void | SetInitialLocalTransform
(
const FRigElementKey& InKey, |
||
| void | SetInitialLocalTransform
(
int32 InElementIndex, |
||
| bool | SetInt32ArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a int32 array value | |
| bool | SetInt32Metadata
(
FRigElementKey InItem, |
Sets the metadata to a int32 value | |
| bool | SetLinearColorArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FLinearColor array value | |
| bool | SetLinearColorMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FLinearColor value | |
| void | SetLocalTransform
(
int32 InElementIndex, |
||
| void | SetLocalTransform
(
FRigElementKey InKey, |
Sets the local current or initial transform for a given key. | |
| void | SetLocalTransformByIndex
(
int32 InElementIndex, |
Sets the local current or initial transform for a given element index. | |
| bool | SetNameArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FName array value | |
| bool | SetNameMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FName value | |
| bool | SetParentWeight
(
FRigBaseElement* InChild, |
Sets the weight of a parent below a multi parent element | |
| bool | SetParentWeight
(
FRigBaseElement* InChild, |
Sets the weight of a parent below a multi parent element | |
| bool | SetParentWeight
(
FRigElementKey InChild, |
Sets the weight of a parent below a multi parent element | |
| bool | SetParentWeightArray
(
FRigBaseElement* InChild, |
Sets the all of the weights of the parents of a multi parent element | |
| bool | SetParentWeightArray
(
FRigElementKey InChild, |
Sets the all of the weights of the parents of a multi parent element | |
| bool | SetParentWeightArray
(
FRigBaseElement* InChild, |
Sets the all of the weights of the parents of a multi parent element | |
| void | SetPose
(
const FRigPose& InPose, |
Sets the current / initial pose of the hierarchy | |
| void | SetPose
(
const FRigPose& InPose, |
Sets the current / initial pose of the hierarchy | |
| void | SetPose
(
const FRigPose& InPose, |
Sets the current / initial pose of the hierarchy | |
| void | SetPose_ForBlueprint
(
FRigPose InPose |
Sets the current / initial pose of the hierarchy | |
| bool | SetQuatArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FQuat array value | |
| bool | SetQuatMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FQuat value | |
| bool | SetRigElementKeyArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FRigElementKey array value | |
| bool | SetRigElementKeyMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FRigElementKey value | |
| bool | SetRotatorArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FRotator array value | |
| bool | SetRotatorMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FRotator value | |
| bool | SetTag
(
FRigElementKey InItem, |
Sets a tag on an element in the hierarchy | |
| void | SetTransform
(
FRigTransformElement* InTransformElement, |
Sets a transform for a given element based on the transform type | |
| bool | SetTransformArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FTransform array value | |
| bool | SetTransformMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FTransform value | |
| void | SetUsePreferredRotationOrder
(
FRigControlElement* InControlElement, |
||
| bool | SetVectorArrayMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FVector array value | |
| bool | SetVectorMetadata
(
FRigElementKey InItem, |
Sets the metadata to a FVector value | |
| bool | ShouldBeGrouped
(
const FRigElementKey& InKey |
Returns true if the control should be grouped in editor | |
| bool | ShouldBeGrouped
(
const FRigControlElement* InControlElement |
Returns true if the control should be grouped in editor | |
| TArray< FRigElementKey > | SortKeys
(
const TArray< FRigElementKey >& InKeys |
Sorts the input key list by traversing the hierarchy | |
| void | Starts an interaction on the rig. This will cause all transform actions happening to be merged | ||
| void | StorePoseForTrace
(
const FString& InPrefix |
Stores the current pose for tracing | |
| bool | SwitchToDefaultParent
(
FRigBaseElement* InChild, |
Switches a multi parent element to its first parent This sets the new parent's weight to 1.0 and disables weights for all other potential parents. | |
| bool | SwitchToDefaultParent
(
FRigElementKey InChild, |
Switches a multi parent element to its first parent | |
| bool | SwitchToParent
(
FRigBaseElement* InChild, |
Switches a multi parent element to a single parent. | |
| bool | SwitchToParent
(
FRigElementKey InChild, |
Switches a multi parent element to a single parent. | |
| bool | SwitchToParent
(
FRigBaseElement* InChild, |
Switches a multi parent element to a single parent. | |
| bool | SwitchToParent
(
FRigElementKey InChild, |
||
| bool | SwitchToWorldSpace
(
FRigElementKey InChild, |
Switches a multi parent element to world space. This injects a world space reference. | |
| bool | SwitchToWorldSpace
(
FRigBaseElement* InChild, |
Switches a multi parent element to world space. This injects a world space reference. | |
| void | TraceFrames
(
int32 InNumFramesToTrace |
Tells this hierarchy to trace a series of frames | |
| void | Traverse
(
TFunction< void(FRigBaseElement*, bool&)> PerElementFunction, |
Helper function to traverse the hierarchy from the root | |
| void | Traverse
(
FRigBaseElement* InElement, |
Helper function to traverse the hierarchy | |
| bool | Undo () |
Performs undo for one transform change | |
| void | UnregisterListeningHierarchy
(
URigHierarchy* InHierarchy |
Remove dependent hierarchies that listens to changes made to this hierarchy | |
| void | UnsetCurveValue
(
FRigElementKey InKey, |
Sets a curve's value given its key | |
| void | UnsetCurveValue
(
FRigCurveElement* InCurveElement, |
Unsets a curve's value. Basically the curve's value becomes meaningless. | |
| void | UnsetCurveValueByIndex
(
int32 InElementIndex, |
Sets a curve's value given its index | |
| void | UnsetCurveValues
(
bool bSetupUndo |
Resets all curves to be unset (defaulting to 0.0) | |
| void | UpdateReferences
(
const FRigVMExecuteContext* InContext |
Update all elements that depend on external references |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
| Name | Description |
|---|---|
| TElementDependencyMap | |
| TElementDependencyMapPair | |
| TInstructionSliceElement |
Constants
| Name | Description |
|---|---|
| bEnableValidityCheckbyDefault | |
| EmptyElementArray | Static empty element array used for ref returns. |
| TagMetadataName |