UUxtFixedDistanceConstraint
Constraint to fix the object distance from another object.
Usage: Attach to actor that the constraint should be applied to. If necessary, configure the object to constrain to. This will default to the head if not set.
class UUxtFixedDistanceConstraint;
Header
#include <Interactions/Constraints/UxtFixedDistanceConstraint.h>
Inheritance
Inherits from UUxtTransformConstraint, UActorComponent
Public Functions
| Name | |
|---|---|
| virtual void | Initialize(const FTransform & WorldPose) override |
| virtual EUxtTransformMode | GetConstraintType() const override |
| virtual void | ApplyConstraint(FTransform & Transform) const override |
Public Attributes
| Name | |
|---|---|
| FComponentReference | ConstraintComponent |
Additional inherited members
Public Attributes inherited from UUxtTransformConstraint
| Name | |
|---|---|
| int32 | HandType |
| int32 | InteractionMode |
Protected Attributes inherited from UUxtTransformConstraint
| Name | |
|---|---|
| FTransform | WorldPoseOnManipulationStart |
Public Functions Documentation
function Initialize
virtual void Initialize(
const FTransform & WorldPose
) override
Reimplements: UUxtTransformConstraint::Initialize
Intended to be called on manipulation started
function GetConstraintType
virtual EUxtTransformMode GetConstraintType() const override
Reimplements: UUxtTransformConstraint::GetConstraintType
Enabled manipulation modes.
function ApplyConstraint
virtual void ApplyConstraint(
FTransform & Transform
) const override
Reimplements: UUxtTransformConstraint::ApplyConstraint
Applies constraints to transforms during manipulation
Public Attributes Documentation
variable ConstraintComponent
FComponentReference ConstraintComponent;
Component to fix distance to. Defaults to the head.
Updated on 19 August 2021 at 17:42:51 Coordinated Universal Time