| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/ParameterToTransformAdapters.h |
Include |
#include "BaseGizmos/ParameterToTransformAdapters.h" |
class UGizmoPlaneTranslationParameterSource : public UGizmoBaseVec2ParameterSource
UGizmoAxisRotationParameterSource is an IGizmoVec2ParameterSource implementation that interprets the FVector2D parameter as a position in a 2D plane, and maps this position to a 3D translation a plane with origin/normal given by an IGizmoAxisSource. This translation is applied to an IGizmoTransformSource.
This ParameterSource is intended to be used to create 3D Plane Translation Gizmos.
Name | Description | ||
---|---|---|---|
|
AxisSource |
AxisSource provides the 3D plane (origin/normal/u/v) that is used to interpret the 2D parameters |
|
|
CurTranslationAxisX |
In-plane axis X for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurTranslationAxisY |
In-plane axis Y for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurTranslationNormal |
Plane normal for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurTranslationOrigin |
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. |
|
|
TransformSource |
This TransformSource is updated by applying the constructed 3D translation |
Name | Description | ||
---|---|---|---|
|
UGizmoPlaneT... |
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 |