DrawTextureEx: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
* [[DrawTexture]] | * [[DrawTexture]] | ||
* [[DrawTextureEx]] | * [[DrawTextureEx]] | ||
* [[ | * [[DrawMaterial]] |
Revision as of 20:21, 30 August 2020
Description
Draws an UTexture on screen. https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AHUD/DrawTexture/index.html
Syntax
DrawTextureEx(UTexture TextureReference, ScreenX, ScreenY, ScreenW, ScreenH, TextureU, TextureV, TextureUWidth, TextureVHeight)
Parameters
- TextureReference
Texture reference from LoadFromAsset or LoadFromFile. - ScreenX
Screen X location. - ScreenY
Screen Y location. - ScreenW
Screen width. - ScreenH
Screen height. - TextureU
U coordinate. - TextureV
V coordinate. - TextureUWidth
Width of the quad (in normalized UV distance). - TextureVHeight
Height of the quad (in normalized UV distance). - Scale
Draw scale. (Use 1.0 for default) - bScalePosition
Whether the "Scale" parameter should also scale the position of this draw call. (Use false for default)
Return Value
- Returns nothing.
Example
__EDIT_ME__