Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FWidget
Description
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
| Name | DrawPartialRotationArc |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/UnrealWidget.h |
| Include Path | #include "UnrealWidget.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/UnrealWidgetRender.cpp |
void DrawPartialRotationArc
(
const FSceneView * View,
FPrimitiveDrawInterface * PDI,
EAxisList::Type InAxis,
const FVector & InLocation,
const FVector & Axis0,
const FVector & Axis1,
const float InStartAngle,
const float InEndAngle,
const FColor & InColor,
const float InScale,
const FVector & InDirectionToWidget
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
| InStartAngle | The starting angle about (Axis0^Axis1) to render the arc |
| InEndAngle | The ending angle about (Axis0^Axis1) to render the arc |
| InColor | The color associated with the axis of rotation |
| InScale | Multiplier to maintain a constant screen size for rendering the widget |
| 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 |
| InStartAngle | The starting angle about (Axis0^Axis1) to render the arc, in radians |
| InEndAngle | The ending angle about (Axis0^Axis1) to render the arc, in radians |
| InColor | The color associated with the axis of rotation |
| InScale | Multiplier to maintain a constant screen size for rendering the widget |