UUxtMoveAxisConstraint
Component for limiting the translation axes for Manipulator
Usage: Attach to actor that the constraint should be applied to.
class UUxtMoveAxisConstraint;
Header
#include <Interactions/Constraints/UxtMoveAxisConstraint.h>
Inheritance
Inherits from UUxtTransformConstraint, UActorComponent
Public Functions
Name | |
---|---|
virtual EUxtTransformMode | GetConstraintType() const |
virtual void | ApplyConstraint(FTransform & Transform) const |
Public Attributes
Name | |
---|---|
int32 | ConstraintOnMovement |
bool | bUseLocalSpaceForConstraint |
Additional inherited members
Public Functions inherited from UUxtTransformConstraint
Name | |
---|---|
virtual void virtual void | Initialize(const FTransform & WorldPose) |
Public Attributes inherited from UUxtTransformConstraint
Name | |
---|---|
int32 | HandType |
int32 | InteractionMode |
Protected Attributes inherited from UUxtTransformConstraint
Name | |
---|---|
FTransform | WorldPoseOnManipulationStart |
Public Functions Documentation
function GetConstraintType
virtual EUxtTransformMode GetConstraintType() const
Reimplements: UUxtTransformConstraint::GetConstraintType
Enabled manipulation modes.
function ApplyConstraint
virtual void ApplyConstraint(
FTransform & Transform
) const
Reimplements: UUxtTransformConstraint::ApplyConstraint
Applies constraints to transforms during manipulation
Public Attributes Documentation
variable ConstraintOnMovement
int32 ConstraintOnMovement = 0;
Defines the axis the movement constraint should be applied to.
variable bUseLocalSpaceForConstraint
bool bUseLocalSpaceForConstraint = false;
Use local or global space for constraint calculations
Updated on 19 August 2021 at 17:42:51 Coordinated Universal Time