FRigUnit_SetScale

SetScale is used to set a single scale on hierarchy.

Windows
MacOS
Linux

Inheritance Hierarchy

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 Scale", Category="Hierarchy", DocumentationPolicy="Strict", Keywords="SetBoneScale,SetControlScale,SetInitialScale,SetSpaceScale,SetScale", Varying))
struct FRigUnit_SetScale : public FRigUnitMutable

Remarks

SetScale is used to set a single scale 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 scale for

Public variable UProperty Meta

FVector

 

Scale

The new scale of the given item.

Public variable UProperty Meta

EBoneGetterSett...

 

Space

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

Public variable UProperty Meta

float

 

Weight

Defines how much the change will be applied.

Constructors

Name Description

Public function

FRigUnit_SetScale()

Overridden from FRigUnit

Name Description

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