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