Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > FWidget
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/UnrealWidget.h |
Include | #include "UnrealWidget.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/UnrealWidgetRender.cpp |
void DrawRotationArc
&40;
const FSceneView &42; View,
FPrimitiveDrawInterface &42; PDI,
EAxisList::Type InAxis,
const FVector & InLocation,
const FVector & Axis0,
const FVector & Axis1,
const FVector & InDirectionToWidget,
const FColor & InColor,
const float InScale,
FVector2D & OutAxisEnd
&41;
Remarks
If actively dragging, draws a ring representing the potential rotation of the selected objects, snap ticks, and "delta" markers If not actively dragging, draws a quarter ring representing the closest quadrant to the camera If actively dragging, draws a ring representing the potential rotation of the selected objects, snap ticks, and "delta" markers If not actively dragging, draws a quarter ring representing the closest quadrant to the camera
Parameters
Name | Description |
---|---|
View | Information about the scene/camera/etc |
PDI | Drawing interface |
InAxis | Enumeration of axis to rotate about |
InLocation | The Origin of the widget |
Axis0 | The Axis that describes a 0 degree rotation |
Axis1 | The Axis that describes a 90 degree rotation |
InDirectionToWidget | Direction from camera to the widget |
InColor | The color associated with the axis of rotation |
InScale | Multiplier to maintain a constant screen size for rendering the widget |
OutAxisDir | Viewport-space direction of rotation arc chord is placed here |
View | Information about the scene/camera/etc |
PDI | Drawing interface |
InAxis | Enumeration of axis to rotate about |
InLocation | The Origin of the widget |
Axis0 | The Axis that describes a 0 degree rotation |
Axis1 | The Axis that describes a 90 degree rotation |
InDirectionToWidget | Direction from camera to the widget |
InColor | The color associated with the axis of rotation |
InScale | Multiplier to maintain a constant screen size for rendering the widget |