SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.Scaleform Class Reference

A class which handles rendering of Scaleform elements. More...

Inheritance diagram for GTA.Scaleform:
GTA.Native.INativeValue

Public Member Functions

 Scaleform (string scaleformID)
 
void Dispose ()
 
void CallFunction (string function, params object[] arguments)
 
int CallFunctionReturn (string function, params object[] arguments)
 
void Render2D ()
 
void Render2DScreenSpace (PointF location, PointF size)
 
void Render3D (Vector3 position, Vector3 rotation, Vector3 scale)
 
void Render3DAdditive (Vector3 position, Vector3 rotation, Vector3 scale)
 

Static Public Member Functions

static implicit operator InputArgument (Scaleform value)
 

Public Attributes

bool IsValid => Handle != 0
 
bool IsLoaded => Function.Call<bool>(Hash.HAS_SCALEFORM_MOVIE_LOADED, Handle)
 

Properties

int Handle [get]
 
ulong NativeValue [get, set]
 
- Properties inherited from GTA.Native.INativeValue
ulong NativeValue [get, set]
 

Detailed Description

A class which handles rendering of Scaleform elements.

Constructor & Destructor Documentation

◆ Scaleform()

GTA.Scaleform.Scaleform ( string  scaleformID)

Member Function Documentation

◆ CallFunction()

void GTA.Scaleform.CallFunction ( string  function,
params object[]  arguments 
)

◆ CallFunctionReturn()

int GTA.Scaleform.CallFunctionReturn ( string  function,
params object[]  arguments 
)

◆ Dispose()

void GTA.Scaleform.Dispose ( )

◆ operator InputArgument()

static implicit GTA.Scaleform.operator InputArgument ( Scaleform  value)
static

◆ Render2D()

void GTA.Scaleform.Render2D ( )

◆ Render2DScreenSpace()

void GTA.Scaleform.Render2DScreenSpace ( PointF  location,
PointF  size 
)

◆ Render3D()

void GTA.Scaleform.Render3D ( Vector3  position,
Vector3  rotation,
Vector3  scale 
)

◆ Render3DAdditive()

void GTA.Scaleform.Render3DAdditive ( Vector3  position,
Vector3  rotation,
Vector3  scale 
)

Member Data Documentation

◆ IsLoaded

bool GTA.Scaleform.IsLoaded => Function.Call<bool>(Hash.HAS_SCALEFORM_MOVIE_LOADED, Handle)

◆ IsValid

bool GTA.Scaleform.IsValid => Handle != 0

Property Documentation

◆ Handle

int GTA.Scaleform.Handle
get

◆ NativeValue

ulong GTA.Scaleform.NativeValue
getset

The documentation for this class was generated from the following file: