Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FWidget
Description
Caches off HUD text to display after 3d rendering is complete Caches off HUD text to display after 3d rendering is complete
| Name | CacheRotationHUDText |
| 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 CacheRotationHUDText
(
const FSceneView * View,
FPrimitiveDrawInterface * PDI,
const FVector & InLocation,
const FVector & Axis0,
const FVector & Axis1,
const float AngleOfChange,
const float InScale
)
Parameters
| Name | Remarks |
|---|---|
| View | Information about the scene/camera/etc |
| PDI | Drawing interface |
| InLocation | The Origin of the widget |
| Axis0 | The Axis that describes a 0 degree rotation |
| Axis1 | The Axis that describes a 90 degree rotation |
| AngleOfAngle | angle we've rotated so far (in degrees) |
| InScale | Multiplier to maintain a constant screen size for rendering the widget |
| View | Information about the scene/camera/etc |
| PDI | Drawing interface |
| InLocation | The Origin of the widget |
| Axis0 | The Axis that describes a 0 degree rotation |
| Axis1 | The Axis that describes a 90 degree rotation |
| AngleOfAngle | angle we've rotated so far (in degrees) |