Difference between revisions of "DrawMaterial"
From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|This function gets the static mesh component.}} {{FuncSyntax|GetPickupStaticMeshComponent(pickupId, mesh_component)}} {{FuncP...") |
|||
Line 3: | Line 3: | ||
{{FuncDescription|This function gets the static mesh component.}} | {{FuncDescription|This function gets the static mesh component.}} | ||
− | {{FuncSyntax| | + | {{FuncSyntax|DrawMaterial(UMaterialInterface, ScreenX, ScreenY, ScreenW, ScreenH, Scale, bScalePosition)}} |
{{FuncParameters}} | {{FuncParameters}} | ||
− | {{FuncParam| | + | {{FuncParam|UMaterialInterface|The material interface.}} |
− | {{FuncParam| | + | {{FuncParam|ScreenX|Screen space X position.}} |
+ | {{FuncParam|ScreenY|Screen space Y position.}} | ||
+ | {{FuncParam|ScreenW|Screen width.}} | ||
+ | {{FuncParam|ScreenH|Screen height.}} | ||
+ | {{FuncParam|Scale|X and Y scale.}} | ||
+ | {{FuncParam|bScalePosition|Should the "Scale" parameter also scale the position.}} | ||
− | {{FuncReturnValue|Returns | + | {{FuncReturnValue|Returns nothing.}} |
== Example == | == Example == |
Latest revision as of 11:05, 2 December 2019
Description
This function gets the static mesh component.
Syntax
DrawMaterial(UMaterialInterface, ScreenX, ScreenY, ScreenW, ScreenH, Scale, bScalePosition)
Parameters
- UMaterialInterface
The material interface. - ScreenX
Screen space X position. - ScreenY
Screen space Y position. - ScreenW
Screen width. - ScreenH
Screen height. - Scale
X and Y scale. - bScalePosition
Should the "Scale" parameter also scale the position.
Return Value
- Returns nothing.
Example
__EDIT_ME__