Navigation
API > API/Runtime > API/Runtime/AnimationCore
Constraint Data that is contained in Node Datat You can have as many of these per node
| Name | FConstraintData |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimationCore/Public/Constraint.h |
| Include Path | #include "Constraint.h" |
Syntax
USTRUCT ()
struct FConstraintData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constraint.h | |||
FConstraintData
(
const FTransformConstraintDescription& InTrans, |
Constraint.h | ||
FConstraintData
(
const FAimConstraintDescription& InAim, |
Constraint.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMaintainOffset | bool | When the constraint is first applied, maintain the offset from the target node | Constraint.h | |
| Constraint | FConstraintDescriptor | Constraint Description | Constraint.h | |
| CurrentTransform | FTransform | Constraint.h |
|
|
| Offset | FTransform | Constraint offset if bMaintainOffset is used | Constraint.h | |
| Weight | float | Weight of the constraint | Constraint.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyConstraintTransform
(
const FTransform& TargetTransform, |
Constraint.h | ||
void ApplyInverseOffset
(
const FTransform& InTarget, |
Constraint.h | ||
void ResetOffset() |
Constraint.h | ||
void SaveInverseOffset
(
const FTransform& Source, |
Constraint.h |