| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/ParameterToTransformAdapters.h |
Include |
#include "BaseGizmos/ParameterToTransformAdapters.h" |
class UGizmoAxisRotationParameterSource : public UGizmoBaseFloatParameterSource
UGizmoAxisRotationParameterSource is an IGizmoFloatParameterSource implementation that interprets the float parameter as an angle, and maps this angle to a 3D rotation around an IGizmoAxisSource (ie 3D axis). This rotation is applied to an IGizmoTransformSource. This ParameterSource is intended to be used to create 3D Rotation Gizmos.
Name | Description | ||
---|---|---|---|
|
float |
Angle |
Angle is the parameter that this FloatParameterSource provides |
|
AxisSource |
Float-parameter Angle is mapped to a 3D Rotation around this Axis |
|
|
CurRotationAxis |
Rotation axis for current parameter edit (only valid between BeginModify/EndModify) |
|
|
CurRotationOrigin |
Rotation 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) |
|
|
RotationConstraintFunction |
Optional rotation constraint function. |
|
|
TransformSource |
This TransformSource is updated by applying the constructed 3D rotation |
Name | Description | ||
---|---|---|---|
|
UGizmoAxisRo... |
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() |
|
|
SetParameter ( |
Set value of parameter |