Skip to content
On this page

AthenaClient.screen.texture

Functions

drawTexture

Usage

AthenaClient.screen.texture.drawTexture(dictionary, name, position, scale?): void

Draw a texture in-world from a GTA:V file, or DLC

Parameters

NameTypeDefault value
dictionarystringundefined
namestringundefined
positionVector3undefined
scale?number1

Returns

void

Defined in

client/screen/texture.ts:74


drawTexture2D

Usage

AthenaClient.screen.texture.drawTexture2D(dictionary, name, position, scale?, opacity?): void

Draw a texture on-screen from a GTA:V file or DLC

Parameters

NameTypeDefault value
dictionarystringundefined
namestringundefined
positionIVector2undefined
scale?number1
opacity?number255

Returns

void

Defined in

client/screen/texture.ts:17

Created by Stuyk | Est. 2020