Properties
Protected handle
handle: number
Protected loaded
loaded: boolean = false
Protected name
name: string
Methods
callFunction
- callFunction(name: string, ...args: unknown[]): void
Parameters
name: string
Rest ...args: unknown[]
Returns void
callNumberMethod
- callNumberMethod(name: string, param1?: number, param2?: number, param3?: number, param4?: number, param5?: number): void
Parameters
name: string
param1: number = -1.0
param2: number = -1.0
param3: number = -1.0
param4: number = -1.0
param5: number = -1.0
Returns void
callSharedMethod
- callSharedMethod(name: string, fParam1?: number, fParam2?: number, fParam3?: number, fParam4?: number, fParam5?: number, sParam1?: string, sParam2?: string, sParam3?: string, sParam4?: string, sParam5?: string): void
Parameters
name: string
fParam1: number = -1.0
fParam2: number = -1.0
fParam3: number = -1.0
fParam4: number = -1.0
fParam5: number = -1.0
sParam1: string = ''
sParam2: string = ''
sParam3: string = ''
sParam4: string = ''
sParam5: string = ''
Returns void
callStringMethod
- callStringMethod(name: string, param1?: string, param2?: string, param3?: string, param4?: string, param5?: string): void
Parameters
name: string
param1: string = ''
param2: string = ''
param3: string = ''
param4: string = ''
param5: string = ''
Returns void
callVoidMethod
- callVoidMethod(name: string): void
render2D
- render2D(): Promise<void>
render2DScreenSpace
- render2DScreenSpace(location: PointF, size: PointF): Promise<void>
Parameters
Returns Promise<void>
render3D
Parameters
Returns Promise<void>
render3DAdditive
Parameters
Returns Promise<void>
setDuration
- setDuration(duration: number): void
Static render2DMasked
Parameters
Returns Promise<void>
Scaleforms will automatically load when calling any of the render functions.
Example: