Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
Include |
#include "Rendering/RenderingCommon.h" |
struct FSlateVertex
A struct which defines a basic vertex seen by the Slate vertex buffers and shaders
Name | Description | ||
---|---|---|---|
|
Color |
Vertex color |
|
|
MaterialTexCoords |
Texture coordinates used as pass through to materials for custom texturing. |
|
|
uint16[2] |
PixelSize |
Local size of the element |
|
Position |
Position of the vertex in window space |
|
|
SecondaryColor |
Secondary vertex color. Generally used for outlines |
|
|
float[4] |
TexCoords |
Texture coordinates. The first 2 are in xy and the 2nd are in zw |
Name | Description | |
---|---|---|
|
FSlateVertex() |
Name | Description | ||
---|---|---|---|
|
Make ( |
||
|
Make |
||
|
Make |
||
|
Make |
||
|
SetPosition ( |
||
|
SetTexCoords ( |