Navigation
API > API/Runtime > API/Runtime/AnimationCore
This is the offset for constraint
Saves individual component (translation, rotation, scale or parent) Used by Constraint for saving the offset, and recovering the offset
| Name | FConstraintOffset |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimationCore/Public/Constraint.h |
| Include Path | #include "Constraint.h" |
Syntax
USTRUCT ()
struct FConstraintOffset
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstraintOffset() |
Constraint.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Parent | FTransform | Constraint.h | ||
| Rotation | FQuat | Constraint.h | ||
| Scale | FVector | Constraint.h | ||
| Translation | FVector | Constraint.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyInverseOffset
(
const FTransform& InTarget, |
Apply the Inverse offset | Constraint.h | |
void Reset() |
Clear the offset | Constraint.h | |
void SaveInverseOffset
(
const FTransform& Source, |
Save the Inverse offset | Constraint.h |