Navigation
API > API/Runtime > API/Runtime/SlateCore
A struct which defines a basic vertex seen by the Slate vertex buffers and shaders
| Name | FSlateVertex |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #include "Rendering/RenderingCommon.h" |
Syntax
struct FSlateVertex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateVertex() |
Rendering/RenderingCommon.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Color | FColor | Vertex color | Rendering/RenderingCommon.h | |
| MaterialTexCoords | FVector2f | Texture coordinates used as pass through to materials for custom texturing. | Rendering/RenderingCommon.h | |
| PixelSize | uint16 | Local size of the element | Rendering/RenderingCommon.h | |
| Position | FVector2f | Position of the vertex in window space | Rendering/RenderingCommon.h | |
| SecondaryColor | FColor | Secondary vertex color. Generally used for outlines | Rendering/RenderingCommon.h | |
| TexCoords | float | Texture coordinates. The first 2 are in xy and the 2nd are in zw | Rendering/RenderingCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetPosition
(
const FVector2f InPosition |
Rendering/RenderingCommon.h | ||
void SetTexCoords
(
const FVector4f InTexCoords |
Rendering/RenderingCommon.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h | ||
static FSlateVertex Make
(
const FSlateRenderTransform& RenderTransform, |
Rendering/RenderingCommon.h |