Class UxtConstraintManager
Manages constraints for a given object and ensures that Scale/Rotation/Translation constraints are executed separately.
Inheritance
System::Object
UxtConstraintManager
Namespace:
Assembly: .dll
Syntax
public: class UxtConstraintManager
Constructors
| Improve this Doc View SourceUxtConstraintManager(AActor &OwningActor)
Registers all transform constraints attached to the actor.
Declaration
public: UxtConstraintManager(AActor &OwningActor)
Parameters
Type | Name | Description |
---|---|---|
AActor & | OwningActor |
Methods
| Improve this Doc View SourceApplyRotationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
Applies rotation constraint to transform
Declaration
public: void ApplyRotationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
Parameters
Type | Name | Description |
---|---|---|
FTransform & | Transform | |
bool | IsOneHanded | |
bool | IsNear |
ApplyScaleConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
Applies scale constraint to transform
Declaration
public: void ApplyScaleConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
Parameters
Type | Name | Description |
---|---|---|
FTransform & | Transform | |
bool | IsOneHanded | |
bool | IsNear |
ApplyTranslationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
Applies translation constraint to transform
Declaration
public: void ApplyTranslationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
Parameters
Type | Name | Description |
---|---|---|
FTransform & | Transform | |
bool | IsOneHanded | |
bool | IsNear |
Initialize(FTransform &WorldPose)
Initialized all registered transform constraints
Declaration
public: void Initialize(FTransform &WorldPose)
Parameters
Type | Name | Description |
---|---|---|
FTransform & | WorldPose |
Update(const FTransform &TargetTransform)
Compares existing registered constraints with up to date constraint list attached to actor
Declaration
public: void Update(const FTransform &TargetTransform)
Parameters
Type | Name | Description |
---|---|---|
const FTransform & | TargetTransform |