DrawMaterial: Difference between revisions

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...")
 
No edit summary
Line 3: Line 3:
{{FuncDescription|This function gets the static mesh component.}}
{{FuncDescription|This function gets the static mesh component.}}


{{FuncSyntax|GetPickupStaticMeshComponent(pickupId, mesh_component)}}
{{FuncSyntax|DrawMaterial(UMaterialInterface, ScreenX, ScreenY, ScreenW, ScreenH, Scale, bScalePosition)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|pickupId|The pickup identifier.}}
{{FuncParam|UMaterialInterface|The material interface.}}
{{FuncParam|mesh_component|The mesh component.}}
{{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 '''something'''.}}
{{FuncReturnValue|Returns nothing.}}


== Example ==
== Example ==

Revision as of 10:05, 2 December 2019

DrawMaterial

Type: Function
Context: Client
Introduced: v1.0

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__

See also