Class 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.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public: class UUxtFixedDistanceConstraint : public xtTransformConstraint
Fields
| Improve this Doc View SourceConstraintComponent
Component to fix distance to. Defaults to the head.
Declaration
public: FComponentReference ConstraintComponent
Field Value
Type | Description |
---|---|
FComponentReference |
Methods
| Improve this Doc View SourceApplyConstraint(FTransform &Transform)
Applies constraints to transforms during manipulation
Declaration
public: virtual void ApplyConstraint(FTransform &Transform) const override
Parameters
Type | Name | Description |
---|---|---|
FTransform & | Transform |
Overrides
| Improve this Doc View SourceGetConstraintType()
Enabled manipulation modes.
Declaration
public: virtual EUxtTransformMode GetConstraintType() const override
Returns
Type | Description |
---|---|
EUxtTransformMode |
Overrides
| Improve this Doc View SourceInitialize(const FTransform &WorldPose)
Intended to be called on manipulation started
Declaration
public: virtual void Initialize(const FTransform &WorldPose) override
Parameters
Type | Name | Description |
---|---|---|
const FTransform & | WorldPose |