Choose your operating system:
Windows
macOS
Linux
| SLeafWidget | ||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Slate/SMeshWidget.h |
Include |
#include "Slate/SMeshWidget.h" |
class SMeshWidget :
public SLeafWidget,
public FGCObject
A widget that draws vertexes provided by a 2.5D StaticMesh. The Mesh's material is used. Hardware instancing is supported.
Name | Description | ||
---|---|---|---|
|
RenderData |
Name | Description | ||
---|---|---|---|
|
AddMesh ( |
Draw the InStaticMesh when this widget paints. |
|
|
AddMeshWithInstancing ( |
Much like AddMesh, but also enables instancing support for this MeshId. |
|
|
AddRenderRun |
Tell the widget to draw instances of a mesh a given number of times starting at a given offset. |
|
|
ClearRuns ( |
Discard any previous runs and reserve space for new render runs if needed. |
|
|
Construct ( |
||
|
UMaterialIns... |
ConvertToMID ( |
Switch from static material to material instance dynamic. |
|
EnableInstancing |
Enable hardware instancing |
|
|
PushUpdate ( |
||
|
PushUpdate ( |
||
|
UpdatePerInstanceBuffer ( |
Updates the per instance buffer. Automatically enables hardware instancing. |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Overwritten from SWidget. |
|
|
OnPaint ( |
Overwritten from SWidget. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
||
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FRenderData |