Class UUxtMinMaxScaleConstraint
Constraint that limits the min/max scale.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public: class UUxtMinMaxScaleConstraint : public xtTransformConstraint
Fields
| Improve this Doc View SourcebRelativeToInitialScale
Whether the min/max values should be relative to the scale at interaction start.
Declaration
public: bool bRelativeToInitialScale= false
Field Value
Type | Description |
---|---|
bool |
MaxScale
Maximum scale allowed
Declaration
public: float MaxScale= 2.0f
Field Value
Type | Description |
---|---|
float |
MinScale
Minimum scale allowed
Declaration
public: float MinScale= 0.2f
Field Value
Type | Description |
---|---|
float |
Methods
| Improve this Doc View SourceApplyConstraint(FTransform &Transform)
Applies constraints to transforms during manipulation
Declaration
public: virtual void ApplyConstraint(FTransform &Transform) const
Parameters
Type | Name | Description |
---|---|---|
FTransform & | Transform |
Overrides
| Improve this Doc View SourceGetConstraintType()
Enabled manipulation modes.
Declaration
public: virtual EUxtTransformMode GetConstraintType() const
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)
Parameters
Type | Name | Description |
---|---|---|
const FTransform & | WorldPose |