| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/ParameterToTransformAdapters.h |
Include |
#include "BaseGizmos/ParameterToTransformAdapters.h" |
class UGizmoAxisScaleParameterSource : public UGizmoBaseFloatParameterSource
UGizmoAxisScaleParameterSource is an IGizmoFloatParameterSource implementation that interprets the float value as the parameter of a line equation, and maps this parameter to a scale factor along a line with origin/direction given by an IGizmoAxisSource. This scale is applied to an IGizmoTransformSource.
This ParameterSource is intended to be used to create 3D Axis Scale Gizmos.
Name | Description | ||
---|---|---|---|
|
AxisSource |
The Parameter line-equation value is converted to a 3D Translation along this Axis |
|
|
CurScaleAxis |
Scale axis for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurScaleOrigin |
Scale 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) |
|
|
float |
Parameter |
Parameter is the line-equation parameter that this FloatParameterSource provides |
|
float |
ScaleMultiplier |
Coordinate delta is multiplied by this amount |
|
TransformSource |
This TransformSource is updated by applying the constructed 3D rotation |
Name | Description | ||
---|---|---|---|
|
UGizmoAxisSc... |
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 |
|
|
float |
GetParameter() |
Optional position constraint function. |
|
SetParameter ( |
Set value of parameter |