Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvasNGonItem > API/Runtime/Engine/FCanvasNGonItem/__ctor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include | #include "CanvasItem.h" |
FCanvasNGonItem
&40;
const FVector2D & InPosition,
const FVector2D & InRadius,
int32 InNumSides,
const FTexture &42; InTexture,
const FLinearColor & InColor
&41;
Remarks
NGon item Several texture tris with a common central point with a fixed radius.
Parameters
| Name | Description |
|---|---|
| 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 |