| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/ParameterToTransformAdapters.h |
Include |
#include "BaseGizmos/ParameterToTransformAdapters.h" |
class UGizmoPlaneScaleParameterSource : public UGizmoBaseVec2ParameterSource
UGizmoPlaneScaleParameterSource is an UGizmoBaseVec2ParameterSource implementation that maps a 2D parameter delta to a change in a 3D scaling vector, based on the tangent axes of a 3D plane This scale is applied to an IGizmoTransformSource.
This ParameterSource is intended to be used to create 3D Plane Scale Gizmos.
Name | Description | ||
---|---|---|---|
|
AxisSource |
AxisSource provides the 3D plane (origin/normal/u/v) that is used to interpret the 2D parameters |
|
|
CurScaleAxisX |
In-plane axis X for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurScaleAxisY |
In-plane axis Y for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurScaleNormal |
Plane normal for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurScaleOrigin |
Plane origin for current parameter edit (only valid between BeginModify/EndModify) |
|
|
InitialTransform |
Saved copy of Initial Transform for current parameter edit (only valid between BeginModify/EndModify) |
|
|
LastChange |
Active parameter change (only valid between BeginModify/EndModify) |
|
|
Parameter |
Parameter is the two line-equation parameters that this Vec2ParameterSource provides |
|
|
PositionConstraintFunction |
Optional position constraint function. |
|
|
float |
ScaleMultiplier |
Coordinate delta is multiplied by this amount |
|
TransformSource |
This TransformSource is updated by applying the constructed 3D translation |
Name | Description | ||
---|---|---|---|
|
UGizmoPlaneS... |
Construct ( |
Create a standard instance of this ParameterSource, with the given AxisSource and TransformSource |
Name | Description | ||
---|---|---|---|
|
BeginModify() |
Notify ParameterSource that a parameter modification is about to begin |
|
|
EndModify() |
Notify ParameterSource that a parameter modification is complete |
|
|
GetParameter() |
||
|
SetParameter ( |
Set value of parameter |