|
Space Plunder
|
#include <SCircumferenceMarkerWidget.h>
Public Member Functions | |
| void | Construct (const FArguments &InArgs) |
| SCircumferenceMarkerWidget () | |
| virtual int32 | OnPaint (const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override |
| virtual FVector2D | ComputeDesiredSize (float) const override |
| virtual bool | ComputeVolatility () const override |
| void | SetRadius (float NewRadius) |
| void | SetMarkerList (TArray< FCircumferenceMarkerEntry > &NewMarkerList) |
Private Member Functions | |
| SLATE_BEGIN_ARGS (SCircumferenceMarkerWidget) | |
| FSlateRenderTransform | GetMarkerRenderTransform (const FCircumferenceMarkerEntry &Marker, const float BaseRadius, const float HUDScale) const |
Private Attributes | |
| const FSlateBrush * | MarkerBrush |
| TArray< FCircumferenceMarkerEntry > | MarkerList |
| TAttribute< float > | Radius |
| TAttribute< FSlateColor > | ColorAndOpacity |
| bool | bColorAndOpacitySet |
| uint8 | bReticleCornerOutsideSpreadRadius: 1 |
| SCircumferenceMarkerWidget::SCircumferenceMarkerWidget | ( | ) |
|
overridevirtual |
|
inlineoverridevirtual |
| void SCircumferenceMarkerWidget::Construct | ( | const FArguments & | InArgs | ) |
What each marker on the circumference looks like At which angles should a marker be drawn The radius of the circle The color and opacity of the marker
|
private |
|
overridevirtual |
| void SCircumferenceMarkerWidget::SetMarkerList | ( | TArray< FCircumferenceMarkerEntry > & | NewMarkerList | ) |
| void SCircumferenceMarkerWidget::SetRadius | ( | float | NewRadius | ) |
|
inlineprivate |
|
private |
|
private |
Whether reticle corner images are placed outside the spread radius
|
private |
Color and opacity of the markers
|
private |
What each marker on the circumference looks like
|
private |
Angles around the reticle center to place ReticleCornerImage icons
|
private |
The radius of the circle