Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/SMeshWidget
Description
Tell the widget to draw instances of a mesh a given number of times starting at a given offset.
| Name | AddRenderRun |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Slate/SMeshWidget.h |
| Include Path | #include "Slate/SMeshWidget.h" |
void AddRenderRun
(
uint32 InMeshIndex,
uint32 InInstanceOffset,
uint32 InNumInstances
)
Parameters
| Name | Remarks |
|---|---|
| InMeshIndex | Which mesh to draw; returned by |
| InInstanceOffset | Start drawing with this instance |
| InNumInstances | Draw this many instances |