#include <CanvasItem.h>
|
| | FCanvasNGonItem (const FVector2D &InPosition, const FVector2D &InRadius, int32 InNumSides, const FTexture *InTexture, const FLinearColor &InColor) |
| |
| ENGINE_API | FCanvasNGonItem (const FVector2D &InPosition, const FVector2D &InRadius, int32 InNumSides, const FLinearColor &InColor) |
| |
| virtual | ~FCanvasNGonItem () |
| |
| virtual ENGINE_API void | Draw (FCanvas *InCanvas) override |
| |
| void | SetupPosition (const FVector2D &InPosition, const FVector2D &InRadius) |
| |
| virtual ENGINE_API void | SetColor (const FLinearColor &InColor) override final |
| |
| | FCanvasItem (const FVector2D &InPosition) |
| |
| virtual | ~FCanvasItem () |
| |
| virtual void | Draw (FCanvas *InCanvas, const FVector2D &InPosition) |
| |
| virtual void | Draw (FCanvas *InCanvas, float X, float Y) |
| |
◆ FCanvasNGonItem() [1/2]
NGon item Several texture tris with a common central point with a fixed radius.
- Parameters
-
| InPosition | List of triangles |
| InRadius | Size of the object |
| InNumSides | How many tris/sides the object has
|
| InTexture | Texture to render |
| InColor | Color to tint the texture with |
◆ FCanvasNGonItem() [2/2]
NGon item Several tris with a common central point with a fixed radius.
- Parameters
-
| InPosition | List of triangles |
| InNumSides | How many tris/sides the object has
|
| InTexture | Texture to render |
| InColor | Color to tint the texture with |
◆ ~FCanvasNGonItem()
| virtual FCanvasNGonItem::~FCanvasNGonItem |
( |
| ) |
|
|
inlinevirtual |
◆ Draw()
◆ SetColor()
◆ SetupPosition()
Regenerates the tri list for the object with a new central point and radius
- Parameters
-
| InPosition | List of triangles |
| InRadius | Size of the object |
The documentation for this class was generated from the following files: