FCanvasNGonItem::FCanvasNGonItem

NGon item Several texture tris with a common central point with a fixed radius.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasItem.h

Include

#include "CanvasItem.h"

Syntax

FCanvasNGonItem
(
    const FVector2D & InPosition,
    const FVector2D & InRadius,
    int32 InNumSides,
    const FTexture * InTexture,
    const FLinearColor & InColor
)

Remarks

NGon item Several texture tris with a common central point with a fixed radius.

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss