Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Rendering
Inheritance Hierarchy
- FSlateDrawElement
- FSlateBoxElement
- FSlateRoundedBoxElement
- FSlateCachedBufferElement
- FSlateCustomDrawerElement
- FSlateCustomVertsElement
- FSlateGradientElement
- FSlateLayerElement
- FSlateLineElement
- FSlatePostProcessElement
- FSlateShapedTextElement
- FSlateSplineElement
- FSlateTextElement
- FSlateViewportElement
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
Include | #include "Rendering/DrawElementTypes.h" |
Syntax
class FSlateDrawElement
Remarks
FSlateDrawElement is the building block for Slate's rendering interface. Slate describes its visual output as an ordered list of FSlateDrawElement s
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Update element cached position with an arbitrary offset | |
![]() ![]() |
ESlateBatchDrawFlag | ||
![]() ![]() |
const FClipStateHandle & | ||
![]() ![]() |
ESlateDrawEffect | ||
![]() ![]() |
FSlateLayoutTransform | ||
![]() ![]() |
int32 | GetLayer () |
|
![]() ![]() |
UE::Slate::FDeprecateVector2DResult | GetLocalSize () |
|
![]() ![]() |
UE::Slate::FDeprecateVector2DResult | GetPosition () |
|
![]() ![]() |
int32 | ||
![]() ![]() |
const FSlateRenderTransform & | ||
![]() ![]() |
float | GetScale () |
|
![]() ![]() |
const int8 | ||
![]() ![]() |
bool | IsCached () |
|
![]() ![]() |
bool | ||
![]() ![]() |
void | MakeBox
(
FSlateWindowElementList& ElementList, |
Creates a box element based on the following diagram. |
![]() ![]() |
void | MakeCubicBezierSpline
(
FSlateWindowElementList& ElementList, |
Creates a Bezier Spline element |
![]() ![]() |
void | MakeCustom
(
FSlateWindowElementList& ElementList, |
Creates a custom element which can be used to manually draw into the Slate render target with graphics API calls rather than Slate elements |
![]() ![]() |
void | MakeCustomVerts
(
FSlateWindowElementList& ElementList, |
|
![]() ![]() |
void | MakeDebugQuad
(
FSlateWindowElementList& ElementList, |
Creates a wireframe quad for debug purposes |
![]() ![]() |
void | MakeDrawSpaceSpline
(
FSlateWindowElementList& ElementList, |
Just like MakeSpline but in draw-space coordinates. |
![]() ![]() |
void | MakeGradient
(
FSlateWindowElementList& ElementList, |
Creates a gradient element |
![]() ![]() |
void | MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points |
![]() ![]() |
void | MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points |
![]() ![]() |
void | MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points |
![]() ![]() |
void | MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points |
![]() ![]() |
void | MakePostProcessPass
(
FSlateWindowElementList& ElementList, |
|
![]() ![]() |
void | MakeRotatedBox
(
FSlateWindowElementList& ElementList, |
|
![]() ![]() |
void | MakeShapedText
(
FSlateWindowElementList& ElementList, |
Creates a text element which displays a series of shaped glyphs on the screen |
![]() ![]() |
void | MakeSpline
(
FSlateWindowElementList& ElementList, |
Creates a Hermite Spline element |
![]() ![]() |
void | MakeText
(
FSlateWindowElementList& ElementList, |
|
![]() ![]() |
void | MakeText
(
FSlateWindowElementList& ElementList, |
Creates a text element which displays a string of a rendered in a certain font on the screen |
![]() ![]() |
void | MakeText
(
FSlateWindowElementList& ElementList, |
|
![]() ![]() |
void | MakeViewport
(
FSlateWindowElementList& ElementList, |
Creates a viewport element which is useful for rendering custom data in a texture into Slate |
![]() |
void | SetCachedClippingState
(
const FSlateClippingState* CachedState |
|
![]() |
void | SetIsCached
(
bool bInIsCached |
|
![]() |
void | SetPosition
(
UE::Slate::FDeprecateVector2DParameter InPosition |
|
![]() |
void | SetPrecachedClippingIndex
(
int32 InClippingIndex |
|
![]() |
void | SetRenderTransform
(
const FSlateRenderTransform& InRenderTransform |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ERotationSpace |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const int32 | GetClippingIndex has been deprecated. If you were using this please use GetPrecachedClippingIndex instead. | |
![]() |
void | SetClippingIndex
(
const int32 InClippingIndex |
SetClippingIndex has been deprecated. If you were using this please use SetPrecachedClippingIndex instead. |