Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include | #include "Rendering/RenderingCommon.h" |
Syntax
struct FSlateVertex
Remarks
A struct which defines a basic vertex seen by the Slate vertex buffers and shaders
Variables
| Type | Name | Description | |
|---|---|---|---|
| FColor | Color | Vertex color | |
| FVector2f | MaterialTexCoords | Texture coordinates used as pass through to materials for custom texturing. | |
| uint16[2] | PixelSize | Local size of the element | |
| FVector2f | Position | Position of the vertex in window space | |
| FColor | 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 |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateVertex () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FSlateVertex | |||
| FSlateVertex | |||
| FSlateVertex | |||
| FSlateVertex | Make
(
const FSlateRenderTransform& RenderTransform, |
||
| FSlateVertex | |||
| FSlateVertex | Make
(
const FSlateRenderTransform& RenderTransform, |
||
| FSlateVertex | Make
(
const FSlateRenderTransform& RenderTransform, |
||
| FSlateVertex | Make
(
const FSlateRenderTransform& RenderTransform, |
||
| void | SetPosition
(
const FVector2f InPosition |
||
| void | SetTexCoords
(
const FVector4f InTexCoords |