FRigUnit_SetTranslation

SetTranslation is used to set a single translation on hierarchy.

Windows
MacOS
Linux

Inheritance Hierarchy

FRigVMStruct

FRigUnit

FRigUnitMutable

FRigUnit_SetTranslation

References

Module

ControlRig

Header

/Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_SetTransform.h

Include

#include "Units/Hierarchy/RigUnit_SetTransform.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)(
        Meta=(DisplayName="Set Translation", Category="Hierarchy", DocumentationPolicy="Strict", Keywords="SetBoneTranslation,SetControlTranslation,SetInitialTranslation,SetSpaceTranslation,SetBoneLocation,SetControlLocation,SetInitialLocation,SetSpaceLocation,SetBonePosition,SetControlPosition,SetInitialPosition,SetSpacePosition,SetTranslation,SetLocation,SetPosition", Varying))
struct FRigUnit_SetTranslation : public FRigUnitMutable

Remarks

SetTranslation is used to set a single translation on hierarchy.

Variables

Name Description

Public variable UProperty Meta

bool

 

bPropagateToChildren

If set to true children of affected items in the hierarchy will follow the transform change - otherwise only the parent will move.

Public variable UProperty

FCachedRigEleme...

 

CachedIndex

Used to cache the internally.

Public variable UProperty Meta

FRigElementKey

 

Item

The item to set the translation for

Public variable UProperty Meta

EBoneGetterSett...

 

Space

Defines if the translation should be set in local or global space

Public variable UProperty Meta

FVector

 

Translation

The new translation of the given item.

Public variable UProperty Meta

float

 

Weight

Defines how much the change will be applied.

Constructors

Name Description

Public function

FRigUnit_SetTranslation()

Overridden from FRigUnit

Name Description

Public function Virtual Const

FRigElementK...

 

DetermineSpaceForPin

(
    const FString& InPinPath,
    void* InUserContext
)

Public function Virtual

void

 

Execute

(
    const FRigUnitContext& Context
)

Execute logic for this rig unit

Public function Virtual Const

FString

 

GetUnitLabel()

Returns the label of this unit

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss