_G


_G

_G

_VERSION

string

accelerometer_event

accelerometer_event
accelerometer_event

accelerometer_event

x

number

y

number

z

number

affectorObj


affector_color_step

[1]

number

Age

[2]

ncine.color

Color


affector_color_step

affector_color_step
affector_color_step

affector_position_step

affector_position_step
affector_position_step

affector_position_step

[1]

number

Age

[2]

ncine.vec2

Position


affector_rotation_step

affector_rotation_step
affector_rotation_step

affector_rotation_step

[1]

number

Age

[2]

number

Angle


affector_size_step

[1]

number

Age

[2]

number

Scale


affector_size_step_factor

affector_size_step
affector_size_step

affector_size_step_vector

affector_size_step
affector_size_step

affector_velocity_step

affector_velocity_step
affector_velocity_step

affector_velocity_step

[1]

number

Age

[2]

ncine.vec2

Velocity


animatedspriteObj


any


arg

string[]

assert

function assert(v?: <T>, message?: any, ...any)
  -> <T>
  2. ...any

audio_auto_wah_properties

attack_time

number

peak_gain

number

release_time

number

resonance

number

audio_auto_wah_properties

audio_auto_wah_properties
audio_auto_wah_properties

audio_chorus_properties

delay

number

depth

number

feedback

number

phase

integer

rate

number

waveform

integer

0 for sinusoid, 1 for triangle


audio_chorus_properties

audio_chorus_properties
audio_chorus_properties

audio_compressor_properties

audio_compressor_properties
audio_compressor_properties

audio_compressor_properties

on_off

integer

0 or 1


audio_distortion_properties

audio_distortion_properties
audio_distortion_properties

audio_distortion_properties

edge

number

eq_bandwidth

number

eq_center

number

gain

number

lowpass_cutoff

number

audio_eax_reverb_properties

audio_eax_reverb_properties
audio_eax_reverb_properties

audio_eax_reverb_properties

air_absorption_gain_hf

number

decay_hf_limit

integer

decay_hf_ratio

number

decay_lf_ratio

number

decay_time

number

density

number

diffusion

number

echo_depth

number

echo_time

number

gain

number

gain_hf

number

gain_lf

number

hf_reference

number

late_reverb_delay

number

late_reverb_gain

number

late_reverb_pan

ncine.vec3

A three component vector

lf_reference

number

modulation_depth

number

modulation_time

number

reflections_delay

number

reflections_gain

number

reflections_pan

ncine.vec3

A three component vector

room_rolloff_factor

number

audio_echo_properties

audio_echo_properties
audio_echo_properties

audio_echo_properties

damping

number

delay

number

feedback

number

lr_delay

number

spread

number

audio_equalizer_properties

high_cutoff

number

high_gain

number

low_cutoff

number

low_gain

number

mid1_center

number

mid1_gain

number

mid1_width

number

mid2_center

number

mid2_gain

number

mid2_width

number

audio_equalizer_properties

audio_equalizer_properties
audio_equalizer_properties

audio_filter_properties

gain

number

gain_hf

number

gain_lf

number

type

ncine.audio_filter_type

Audio filter types


audio_filter_properties

audio_filter_properties
audio_filter_properties

audio_flanger_properties

audio_flanger_properties
audio_flanger_properties

audio_flanger_properties

delay

number

depth

number

feedback

number

phase

integer

rate

number

waveform

integer

0 for sinusoid, 1 for triangle


audio_frequency_shifter_properties

audio_frequency_shifter_properties
audio_frequency_shifter_properties

audio_frequency_shifter_properties

frequency

number

left_direction

integer

From 0 to 2

right_direction

integer

From 0 to 2


audio_pitch_shifter_properties

audio_pitch_shifter_properties
audio_pitch_shifter_properties

audio_pitch_shifter_properties

coarse_tune

integer

From -12 to 12

fineTune

integer

From -50 to 50


audio_reverb_properties

air_absorption_gain_hf

number

decay_hf_limit

integer

decay_hf_ratio

number

decay_time

number

density

number

diffusion

number

gain

number

gain_hf

number

late_reverb_delay

number

late_reverb_gain

number

reflections_delay

number

reflections_gain

number

room_rolloff_factor

number

audio_reverb_properties

audio_reverb_properties
audio_reverb_properties

audio_ring_modulator_properties

frequency

number

highpass_cutoff

number

waveform

integer

0 for sinusoid, 1 for sawtooth, 2 for square


audio_ring_modulator_properties

audio_ring_modulator_properties
audio_ring_modulator_properties

audio_vocal_morpher_properties

audio_vocal_morpher_properties
audio_vocal_morpher_properties

audio_vocal_morpher_properties

phoneme_a

integer

From 0 to 29 (A to Z)

phoneme_a_coarse_tuning

integer

From -24 to 24

phoneme_b

integer

From 0 to 29 (A to Z)

phoneme_b_coarse_tuning

integer

From -24 to 24

rate

number

waveform

integer

0 for sinusoid, 1 for triangle, 2 for sawtooth


audiobufferObj


audiobufferplayerObj


audioeffectObj


audioeffectpropertiesObj


audioeffectslotObj


audiofilterObj


audioplayerObj


audiostreamplayerObj


basespriteObj


boolean


cameraObj


camera_projection_values

camera_projection_values
camera_projection_values

camera_projection_values

bottom

number

left

number

right

number

top

number

camera_view_values

rotation

number

scale

number

x

number

y

number

camera_view_values

camera_view_values
camera_view_values

collectgarbage

function collectgarbage(opt?: "collect"|"count"|"generational"|"incremental"|"isrunning"...(+3), ...any)
  -> any

coroutine

coroutinelib

coroutine.close

function coroutine.close(co: thread)
  -> noerror: boolean
  2. errorobject: any

coroutine.create

function coroutine.create(f: fun(...any):...unknown)
  -> thread

coroutine.isyieldable

function coroutine.isyieldable(co?: thread)
  -> boolean

coroutine.resume

function coroutine.resume(co: thread, val1?: any, ...any)
  -> success: boolean
  2. ...any

coroutine.running

function coroutine.running()
  -> running: thread
  2. ismain: boolean

coroutine.status

function coroutine.status(co: thread)
  -> "dead"|"normal"|"running"|"suspended"

coroutine.wrap

function coroutine.wrap(f: fun(...any):...unknown)
  -> fun(...any):...unknown

coroutine.yield

(async) function coroutine.yield(...any)
  -> ...any

coroutinelib

close

function coroutine.close(co: thread)
  -> noerror: boolean
  2. errorobject: any

Closes coroutine co , closing all its pending to-be-closed variables and putting the coroutine in a dead state.

View documents

create

function coroutine.create(f: fun(...any):...unknown)
  -> thread

Creates a new coroutine, with body f. f must be a function. Returns this new coroutine, an object with type "thread".

View documents

isyieldable

function coroutine.isyieldable(co?: thread)
  -> boolean

Returns true when the coroutine co can yield. The default for co is the running coroutine.

View documents

resume

function coroutine.resume(co: thread, val1?: any, ...any)
  -> success: boolean
  2. ...any

Starts or continues the execution of coroutine co.

View documents

running

function coroutine.running()
  -> running: thread
  2. ismain: boolean

Returns the running coroutine plus a boolean, true when the running coroutine is the main one.

View documents

status

function coroutine.status(co: thread)
  -> "dead"|"normal"|"running"|"suspended"

Returns the status of coroutine co.

View documents

return #1:
    | "running" -- Is running.
    | "suspended" -- Is suspended or not started.
    | "normal" -- Is active but not running.
    | "dead" -- Has finished or stopped with an error.

wrap

function coroutine.wrap(f: fun(...any):...unknown)
  -> fun(...any):...unknown

Creates a new coroutine, with body f; f must be a function. Returns a function that resumes the coroutine each time it is called.

View documents

yield

(async) function coroutine.yield(...any)
  -> ...any

Suspends the execution of the calling coroutine.

View documents


debug

debuglib

debug.debug

function debug.debug()

debug.getfenv

function debug.getfenv(o: any)
  -> table

debug.gethook

function debug.gethook(co?: thread)
  -> hook: function
  2. mask: string
  3. count: integer

debug.getinfo

function debug.getinfo(thread: thread, f: integer|fun(...any):...unknown, what?: string|"L"|"S"|"f"|"l"...(+4))
  -> debuginfo

debug.getlocal

function debug.getlocal(thread: thread, f: integer|fun(...any):...unknown, index: integer)
  -> name: string
  2. value: any

debug.getmetatable

function debug.getmetatable(object: any)
  -> metatable: table

debug.getregistry

function debug.getregistry()
  -> table

debug.getupvalue

function debug.getupvalue(f: fun(...any):...unknown, up: integer)
  -> name: string
  2. value: any

debug.getuservalue

function debug.getuservalue(u: userdata, n?: integer)
  -> any
  2. boolean

debug.setcstacklimit

function debug.setcstacklimit(limit: integer)
  -> boolean|integer

debug.setfenv

function debug.setfenv(object: <T>, env: table)
  -> object: <T>

debug.sethook

function debug.sethook(thread: thread, hook: fun(...any):...unknown, mask: string|"c"|"l"|"r", count?: integer)

debug.setlocal

function debug.setlocal(thread: thread, level: integer, index: integer, value: any)
  -> name: string

debug.setmetatable

function debug.setmetatable(value: <T>, meta?: table)
  -> value: <T>

debug.setupvalue

function debug.setupvalue(f: fun(...any):...unknown, up: integer, value: any)
  -> name: string

debug.setuservalue

function debug.setuservalue(udata: userdata, value: any, n?: integer)
  -> udata: userdata

debug.traceback

function debug.traceback(thread: thread, message?: any, level?: integer)
  -> message: string

debug.upvalueid

function debug.upvalueid(f: fun(...any):...unknown, n: integer)
  -> id: lightuserdata

debug.upvaluejoin

function debug.upvaluejoin(f1: fun(...any):...unknown, n1: integer, f2: fun(...any):...unknown, n2: integer)

debug_overlay_settings

info_text

boolean

True if showing the information text

interface

boolean

True if showing the debug interface

profiler_graphs

boolean

True if showing the profiler graphs


debug_overlay_settings

debug_overlay_settings
debug_overlay_settings

debuginfo

activelines

table

currentline

integer

ftransfer

integer

func

function

istailcall

boolean

isvararg

boolean

lastlinedefined

integer

linedefined

integer

name

string

namewhat

string

nparams

integer

ntransfer

integer

nups

integer

short_src

string

source

string

what

string

debuglib

debug

function debug.debug()

Enters an interactive mode with the user, running each string that the user enters.

View documents

getfenv

function debug.getfenv(o: any)
  -> table

Returns the environment of object o .

View documents

gethook

function debug.gethook(co?: thread)
  -> hook: function
  2. mask: string
  3. count: integer

Returns the current hook settings of the thread.

View documents

getinfo

function debug.getinfo(thread: thread, f: integer|fun(...any):...unknown, what?: string|"L"|"S"|"f"|"l"...(+4))
  -> debuginfo

Returns a table with information about a function.

View documents


what:
   +> "n" -- `name` and `namewhat`
   +> "S" -- `source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`
   +> "l" -- `currentline`
   +> "t" -- `istailcall`
   +> "u" -- `nups`, `nparams`, and `isvararg`
   +> "f" -- `func`
   +> "r" -- `ftransfer` and `ntransfer`
   +> "L" -- `activelines`

getlocal

function debug.getlocal(thread: thread, f: integer|fun(...any):...unknown, index: integer)
  -> name: string
  2. value: any

Returns the name and the value of the local variable with index local of the function at level f of the stack.

View documents

getmetatable

function debug.getmetatable(object: any)
  -> metatable: table

Returns the metatable of the given value.

View documents

getregistry

function debug.getregistry()
  -> table

Returns the registry table.

View documents

getupvalue

function debug.getupvalue(f: fun(...any):...unknown, up: integer)
  -> name: string
  2. value: any

Returns the name and the value of the upvalue with index up of the function.

View documents

getuservalue

function debug.getuservalue(u: userdata, n?: integer)
  -> any
  2. boolean

Returns the n-th user value associated to the userdata u plus a boolean, false if the userdata does not have that value.

View documents

setcstacklimit

function debug.setcstacklimit(limit: integer)
  -> boolean|integer

Deprecated in Lua 5.4.2

Sets a new limit for the C stack. This limit controls how deeply nested calls can go in Lua, with the intent of avoiding a stack overflow.

In case of success, this function returns the old limit. In case of error, it returns false.

View documents

setfenv

function debug.setfenv(object: <T>, env: table)
  -> object: <T>

Sets the environment of the given object to the given table .

View documents

sethook

function debug.sethook(thread: thread, hook: fun(...any):...unknown, mask: string|"c"|"l"|"r", count?: integer)

Sets the given function as a hook.

View documents


mask:
   +> "c" -- Calls hook when Lua calls a function.
   +> "r" -- Calls hook when Lua returns from a function.
   +> "l" -- Calls hook when Lua enters a new line of code.

setlocal

function debug.setlocal(thread: thread, level: integer, index: integer, value: any)
  -> name: string

Assigns the value to the local variable with index local of the function at level of the stack.

View documents

setmetatable

function debug.setmetatable(value: <T>, meta?: table)
  -> value: <T>

Sets the metatable for the given value to the given table (which can be nil).

View documents

setupvalue

function debug.setupvalue(f: fun(...any):...unknown, up: integer, value: any)
  -> name: string

Assigns the value to the upvalue with index up of the function.

View documents

setuservalue

function debug.setuservalue(udata: userdata, value: any, n?: integer)
  -> udata: userdata

Sets the given value as the n-th user value associated to the given udata. udata must be a full userdata.

View documents

traceback

function debug.traceback(thread: thread, message?: any, level?: integer)
  -> message: string

Returns a string with a traceback of the call stack. The optional message string is appended at the beginning of the traceback.

View documents

upvalueid

function debug.upvalueid(f: fun(...any):...unknown, n: integer)
  -> id: lightuserdata

Returns a unique identifier (as a light userdata) for the upvalue numbered n from the given function.

View documents

upvaluejoin

function debug.upvaluejoin(f1: fun(...any):...unknown, n1: integer, f2: fun(...any):...unknown, n2: integer)

Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2.

View documents


dofile

function dofile(filename?: string)
  -> ...any

drawablenodeObj


error

function error(message: any, level?: integer)

exitcode


false


file*

close

(method) file*:close()
  -> suc: boolean?
  2. exitcode: ("exit"|"signal")?
  3. code: integer?

Close file.

View documents

exitcode:
    | "exit"
    | "signal"

flush

(method) file*:flush()

Saves any written data to file.

View documents

lines

(method) file*:lines(...string|integer|"L"|"a"|"l"...(+1))
  -> fun():any, ...unknown

for c in file:lines(...) do
    body
end

View documents

...(param):
    | "n" -- Reads a numeral and returns it as number.
    | "a" -- Reads the whole file.
   -> "l" -- Reads the next line skipping the end of line.
    | "L" -- Reads the next line keeping the end of line.

read

(method) file*:read(...string|integer|"L"|"a"|"l"...(+1))
  -> any
  2. ...any

Reads the file, according to the given formats, which specify what to read.

View documents

...(param):
    | "n" -- Reads a numeral and returns it as number.
    | "a" -- Reads the whole file.
   -> "l" -- Reads the next line skipping the end of line.
    | "L" -- Reads the next line keeping the end of line.

seek

(method) file*:seek(whence?: "cur"|"end"|"set", offset?: integer)
  -> offset: integer
  2. errmsg: string?

Sets and gets the file position, measured from the beginning of the file.

View documents

whence:
    | "set" -- Base is beginning of the file.
   -> "cur" -- Base is current position.
    | "end" -- Base is end of file.

setvbuf

(method) file*:setvbuf(mode: "full"|"line"|"no", size?: integer)

Sets the buffering mode for an output file.

View documents

mode:
    | "no" -- Output operation appears immediately.
    | "full" -- Performed only when the buffer is full.
    | "line" -- Buffered until a newline is output.

write

(method) file*:write(...string|number)
  -> file*?
  2. errmsg: string?

Writes the value of each of its arguments to file.

View documents


file_date

day

integer

hour

integer

minute

integer

month

integer

second

integer

week_day

integer

year

integer

filetype


fontObj


function


gcoptions


getfenv

function getfenv(f?: integer|fun(...any):...unknown)
  -> table

getmetatable

function getmetatable(object: any)
  -> metatable: table

gui_settings

imgui_layer

integer

ImGui drawable node layer

imgui_viewport

viewportObj

ImGui viewport

nuklearLayer

integer

Nuklear drawable node layer

nuklear_viewport

viewportObj

Nuklear viewport


gui_settings

gui_settings
gui_settings

hookmask


infowhat


integer


io

iolib

io.close

function io.close(file?: file*)
  -> suc: boolean?
  2. exitcode: ("exit"|"signal")?
  3. code: integer?

io.flush

function io.flush()

io.input

function io.input(file: string|file*)

io.lines

function io.lines(filename?: string, ...string|integer|"L"|"a"|"l"...(+1))
  -> fun():any, ...unknown

io.open

function io.open(filename: string, mode?: "a"|"a+"|"a+b"|"ab"|"r"...(+7))
  -> file*?
  2. errmsg: string?

io.output

function io.output(file: string|file*)

io.popen

function io.popen(prog: string, mode?: "r"|"w")
  -> file*?
  2. errmsg: string?

io.read

function io.read(...string|integer|"L"|"a"|"l"...(+1))
  -> any
  2. ...any

io.tmpfile

function io.tmpfile()
  -> file*

io.type

function io.type(file: file*)
  -> "closed file"|"file"|`nil`

io.write

function io.write(...any)
  -> file*
  2. errmsg: string?

iolib

close

function io.close(file?: file*)
  -> suc: boolean?
  2. exitcode: ("exit"|"signal")?
  3. code: integer?

Close file or default output file.

View documents

exitcode:
    | "exit"
    | "signal"

flush

function io.flush()

Saves any written data to default output file.

View documents

input

function io.input(file: string|file*)

Sets file as the default input file.

View documents

lines

function io.lines(filename?: string, ...string|integer|"L"|"a"|"l"...(+1))
  -> fun():any, ...unknown

for c in io.lines(filename, ...) do
    body
end

View documents

...(param):
    | "n" -- Reads a numeral and returns it as number.
    | "a" -- Reads the whole file.
   -> "l" -- Reads the next line skipping the end of line.
    | "L" -- Reads the next line keeping the end of line.

open

function io.open(filename: string, mode?: "a"|"a+"|"a+b"|"ab"|"r"...(+7))
  -> file*?
  2. errmsg: string?

Opens a file, in the mode specified in the string mode.

View documents

mode:
   -> "r" -- Read mode.
    | "w" -- Write mode.
    | "a" -- Append mode.
    | "r+" -- Update mode, all previous data is preserved.
    | "w+" -- Update mode, all previous data is erased.
    | "a+" -- Append update mode, previous data is preserved, writing is only allowed at the end of file.
    | "rb" -- Read mode. (in binary mode.)
    | "wb" -- Write mode. (in binary mode.)
    | "ab" -- Append mode. (in binary mode.)
    | "r+b" -- Update mode, all previous data is preserved. (in binary mode.)
    | "w+b" -- Update mode, all previous data is erased. (in binary mode.)
    | "a+b" -- Append update mode, previous data is preserved, writing is only allowed at the end of file. (in binary mode.)

output

function io.output(file: string|file*)

Sets file as the default output file.

View documents

popen

function io.popen(prog: string, mode?: "r"|"w")
  -> file*?
  2. errmsg: string?

Starts program prog in a separated process.

View documents

mode:
    | "r" -- Read data from this program by `file`.
    | "w" -- Write data to this program by `file`.

read

function io.read(...string|integer|"L"|"a"|"l"...(+1))
  -> any
  2. ...any

Reads the file, according to the given formats, which specify what to read.

View documents

...(param):
    | "n" -- Reads a numeral and returns it as number.
    | "a" -- Reads the whole file.
   -> "l" -- Reads the next line skipping the end of line.
    | "L" -- Reads the next line keeping the end of line.

stderr

file*

standard error.

View documents

stdin

file*

standard input.

View documents

stdout

file*

standard output.

View documents

tmpfile

function io.tmpfile()
  -> file*

In case of success, returns a handle for a temporary file.

View documents

type

function io.type(file: file*)
  -> "closed file"|"file"|`nil`

Checks whether obj is a valid file handle.

View documents

return #1:
    | "file" -- Is an open file handle.
    | "closed file" -- Is a closed file handle.
    | `nil` -- Is not a file handle.

write

function io.write(...any)
  -> file*
  2. errmsg: string?

Writes the value of each of its arguments to default output file.

View documents


ipairs

function ipairs(t: <T:table>)
  -> fun(table: <V>[], i?: integer):integer, <V>
  2. <T:table>
  3. i: integer

is_gui_hidden

function is_gui_hidden()
function is_gui_hidden()
  -> boolean
function is_gui_hidden()
function is_gui_hidden()
  -> boolean

joy_axis_event

axis_id

integer

joy_id

integer

norm_value

number

value

number

joy_axis_event

joy_axis_event
joy_axis_event

joy_button_event

button_id

integer

joy_id

integer

joy_button_event

joy_button_event
joy_button_event

joy_connection_event

joy_id

integer

joy_connection_event

joy_connection_event
joy_connection_event

joy_hat_event

joy_hat_event
joy_hat_event

joy_hat_event

hat_id

integer

hat_state

ncine.joy_hat_state

Joystick hat states

joy_id

integer

joy_mapped_axis_event

joymapped_axis_event
joymapped_axis_event

joy_mapped_button_event

joymapped_button_event
joymapped_button_event

joymapped_axis_event

axis

ncine.joy_axis

Joystick axis names

joy_id

integer

value

number

joymapped_button_event

button

ncine.joy_button

Joystick button names

joy_id

integer

joymappedstateObj


joystickstateObj


keyboard_event

mod

integer

scancode

integer

sym

integer

keyboard_event

keyboard_event
keyboard_event

keystateObj


lightuserdata


load

function load(chunk: string|function, chunkname?: string, mode?: "b"|"bt"|"t", env?: table)
  -> function?
  2. error_message: string?

loadfile

function loadfile(filename?: string, mode?: "b"|"bt"|"t", env?: table)
  -> function?
  2. error_message: string?

loadmode


loadstring

function loadstring(text: string, chunkname?: string)
  -> function?
  2. error_message: string?

localecategory


math

mathlib

math.abs

function math.abs(x: <Number:number>)
  -> <Number:number>

math.acos

function math.acos(x: number)
  -> number

math.asin

function math.asin(x: number)
  -> number

math.atan

function math.atan(y: number, x?: number)
  -> number

math.atan2

function math.atan2(y: number, x: number)
  -> number

math.ceil

function math.ceil(x: number)
  -> integer

math.cos

function math.cos(x: number)
  -> number

math.cosh

function math.cosh(x: number)
  -> number

math.deg

function math.deg(x: number)
  -> number

math.exp

function math.exp(x: number)
  -> number

math.floor

function math.floor(x: number)
  -> integer

math.fmod

function math.fmod(x: number, y: number)
  -> number

math.frexp

function math.frexp(x: number)
  -> m: number
  2. e: number

math.ldexp

function math.ldexp(m: number, e: number)
  -> number

math.log

function math.log(x: number, base?: integer)
  -> number

math.log10

function math.log10(x: number)
  -> number

math.max

function math.max(x: <Number:number>, ...<Number:number>)
  -> <Number:number>

math.min

function math.min(x: <Number:number>, ...<Number:number>)
  -> <Number:number>

math.modf

function math.modf(x: number)
  -> integer
  2. number

math.pow

function math.pow(x: number, y: number)
  -> number

math.rad

function math.rad(x: number)
  -> number

math.random

function math.random(m: integer, n: integer)
  -> integer

math.randomseed

function math.randomseed(x?: integer, y?: integer)

math.sin

function math.sin(x: number)
  -> number

math.sinh

function math.sinh(x: number)
  -> number

math.sqrt

function math.sqrt(x: number)
  -> number

math.tan

function math.tan(x: number)
  -> number

math.tanh

function math.tanh(x: number)
  -> number

math.tointeger

function math.tointeger(x: any)
  -> integer?

math.type

function math.type(x: any)
  -> "float"|"integer"|'nil'

math.ult

function math.ult(m: integer, n: integer)
  -> boolean

mathlib

abs

function math.abs(x: <Number:number>)
  -> <Number:number>

Returns the absolute value of x.

View documents

acos

function math.acos(x: number)
  -> number

Returns the arc cosine of x (in radians).

View documents

asin

function math.asin(x: number)
  -> number

Returns the arc sine of x (in radians).

View documents

atan

function math.atan(y: number, x?: number)
  -> number

Returns the arc tangent of y/x (in radians).

View documents

atan2

function math.atan2(y: number, x: number)
  -> number

Returns the arc tangent of y/x (in radians).

View documents

ceil

function math.ceil(x: number)
  -> integer

Returns the smallest integral value larger than or equal to x.

View documents

cos

function math.cos(x: number)
  -> number

Returns the cosine of x (assumed to be in radians).

View documents

cosh

function math.cosh(x: number)
  -> number

Returns the hyperbolic cosine of x (assumed to be in radians).

View documents

deg

function math.deg(x: number)
  -> number

Converts the angle x from radians to degrees.

View documents

exp

function math.exp(x: number)
  -> number

Returns the value e^x (where e is the base of natural logarithms).

View documents

floor

function math.floor(x: number)
  -> integer

Returns the largest integral value smaller than or equal to x.

View documents

fmod

function math.fmod(x: number, y: number)
  -> number

Returns the remainder of the division of x by y that rounds the quotient towards zero.

View documents

frexp

function math.frexp(x: number)
  -> m: number
  2. e: number

Decompose x into tails and exponents. Returns m and e such that x = m * (2 ^ e), e is an integer and the absolute value of m is in the range [0.5, 1) (or zero when x is zero).

View documents

huge

number

A value larger than any other numeric value.

View documents

ldexp

function math.ldexp(m: number, e: number)
  -> number

Returns m * (2 ^ e) .

View documents

log

function math.log(x: number, base?: integer)
  -> number

Returns the logarithm of x in the given base.

View documents

log10

function math.log10(x: number)
  -> number

Returns the base-10 logarithm of x.

View documents

max

function math.max(x: <Number:number>, ...<Number:number>)
  -> <Number:number>

Returns the argument with the maximum value, according to the Lua operator <.

View documents

maxinteger

integer

Miss locale

View documents

min

function math.min(x: <Number:number>, ...<Number:number>)
  -> <Number:number>

Returns the argument with the minimum value, according to the Lua operator <.

View documents

mininteger

integer

Miss locale

View documents

modf

function math.modf(x: number)
  -> integer
  2. number

Returns the integral part of x and the fractional part of x.

View documents

pi

number

The value of π.

View documents

pow

function math.pow(x: number, y: number)
  -> number

Returns x ^ y .

View documents

rad

function math.rad(x: number)
  -> number

Converts the angle x from degrees to radians.

View documents

random

function math.random(m: integer, n: integer)
  -> integer

View documents

randomseed

function math.randomseed(x?: integer, y?: integer)

View documents

sin

function math.sin(x: number)
  -> number

Returns the sine of x (assumed to be in radians).

View documents

sinh

function math.sinh(x: number)
  -> number

Returns the hyperbolic sine of x (assumed to be in radians).

View documents

sqrt

function math.sqrt(x: number)
  -> number

Returns the square root of x.

View documents

tan

function math.tan(x: number)
  -> number

Returns the tangent of x (assumed to be in radians).

View documents

tanh

function math.tanh(x: number)
  -> number

Returns the hyperbolic tangent of x (assumed to be in radians).

View documents

tointeger

function math.tointeger(x: any)
  -> integer?

Miss locale

View documents

type

function math.type(x: any)
  -> "float"|"integer"|'nil'

Miss locale

View documents

return #1:
    | "integer"
    | "float"
    | 'nil'

ult

function math.ult(m: integer, n: integer)
  -> boolean

Miss locale

View documents


mesh_sprite_vertex

mesh_sprite_vertex
mesh_sprite_vertex

mesh_sprite_vertex

u

number

v

number

x

number

y

number

mesh_sprite_vertex_notexture

mesh_sprite_vertex_notexture
mesh_sprite_vertex_notexture

mesh_sprite_vertex_notexture

x

number

y

number

meshspriteObj


metatable

__add

fun(t1: any, t2: any):any|nil

__band

fun(t1: any, t2: any):any|nil

__bnot

fun(t: any):any|nil

__bor

fun(t1: any, t2: any):any|nil

__bxor

fun(t1: any, t2: any):any|nil

__call

fun(t: any, ...any):...unknown|nil

__close

fun(t: any, errobj: any):any|nil

__concat

fun(t1: any, t2: any):any|nil

__div

fun(t1: any, t2: any):any|nil

__eq

fun(t1: any, t2: any):boolean|nil

__gc

fun(t: any)|nil

__idiv

fun(t1: any, t2: any):any|nil

__index

table|fun(t: any, k: any):any|nil

__le

fun(t1: any, t2: any):boolean|nil

__len

fun(t: any):integer|nil

__lt

fun(t1: any, t2: any):boolean|nil

__metatable

any

__mod

fun(t1: any, t2: any):any|nil

__mode

'k'|'kv'|'v'|nil

__mul

fun(t1: any, t2: any):any|nil

__newindex

table|fun(t: any, k: any, v: any)|nil

__pairs

fun(t: any):fun(t: any, k: any, v: any):any, any, any, any|nil

__pow

fun(t1: any, t2: any):any|nil

__shl

fun(t1: any, t2: any):any|nil

__shr

fun(t1: any, t2: any):any|nil

__sub

fun(t1: any, t2: any):any|nil

__tostring

fun(t: any):string|nil

__unm

fun(t: any):any|nil

module

function module(name: string, ...any)

monitor

dpi

ncine.vec2

The horizontal and vertical dots per inch

name

string

The monitor name

num_video_modes

integer

The number of video modes in the array

position

ncine.vec2

The position of the monitor's viewport on the virtual screen

scale

ncine.vec2

The content scale factor

video_modes

video_mode[]

The array of supported video modes


monitor

monitor
monitor

mouse_event

button

ncine.mouse_button

Mouse buttons

x

number

y

number

mouse_event

mouse_event
mouse_event

mouse_state

fifth_pressed

boolean

It is true if the fifth mouse button is pressed

fourth_pressed

boolean

It is true if the fourth mouse button is pressed

left_pressed

boolean

It is true if the left mouse button is pressed

middle_pressed

boolean

It is true if the middle mouse button is pressed

right_pressed

boolean

It is true if the right mouse button is pressed

x

integer

Pointer position on the X axis

y

integer

Pointer position on the Y axis


mouse_state

mouse_state
mouse_state

ncine

ncine
ncine

ncine

ANDROID

boolean

True if running on Android

DEBUG

boolean

True if linked with a debug build of the nCine library

EMSCRIPTEN

boolean

True if running on the web via Emscripten

LINUX

boolean

True if running on Linux

MACOS

boolean

True if running on macOS

MINGW

boolean

True if running on MinGW

WINDOWS

boolean

True if running on Windows

_GITBRANCH

string

The git branch

_GITLATCOMMITDATE

string

The git last commit date

_GITREVCOUNT

string

The git revision count

_GITSHORTHASH

string

The git short hash

_GITTAG

string

The git tag

_VERSION

string

The version string

affector_type

table

Particle affector types (enumeration)

animated_sprite

ncine.animated_sprite

The table containing animated sprite related functions

app_configuration

ncine.app_configuration

The application configuration table

application

ncine.application

The table containing application related functions

audio_buffer

ncine.audio_buffer

The table containing audio buffer related functions

audio_buffer_player

ncine.audio_buffer_player

The table containing audio buffer player related functions

audio_device

ncine.audio_device

The table containing the audio device related functions

audio_effect

ncine.audio_effect

The table containing audio effect related functions

audio_effect_properties

ncine.audio_effect_properties

The table containing audio effect properties related functions

audio_effect_slot

ncine.audio_effect_slot

The table containing audio effect slot related functions

audio_effect_type

table

Audio effect types (enumeration)

audio_filter

ncine.audio_filter

The table containing audio filter related functions

audio_filter_type

table

Audio filter types (enumeration)

audio_player

ncine.audio_player

The table containing audio player related functions

audio_stream_player

ncine.audio_stream_player

The table containing audio stream player related functions

base_sprite

ncine.base_sprite

The table containing base sprite related functions

blending_factor

table

Blending factors (enumeration)

blending_preset

table

Blending presets (enumeration)

camera

ncine.camera

The table containing camera related functions

clear_mode

table

Clear modes (enumeration)

color

ncine.color

A RGBA color

colors

table

depth_stencil_format

table

Depth and stencil formats (enumeration)

drawable_node

ncine.drawable_node

The table containing drawable node related functions

efx_reverb_presets

table

EFX reverb presets (enumeration)

font

ncine.font

The table containing font related functions

font_render_mode

table

Font rendering modes (enumeration)

frame_timer

ncine.frame_timer

The table containing frame timer related functions

fs

ncine.fs

The table containing filesystem related functions

gfx_device

ncine.gfx_device

The table containing the graphics device related functions

hash64

table

Utility methods to calculate a 64bit hash from strings or files

input

ncine.input

The table containing the input manager related functions

joy_axis

table

Joystick axis names (enumeration)

joy_button

table

Joystick button names (enumeration)

joy_dead_zone

table

Joystick dead zone values for various axes.

From XInput.h in DirectX SDK.

joy_hat_state

table

Joystick hat states (enumeration)

keymod

table

Keymods (enumeration)

keysym

table

Keysyms (enumeration)

log

ncine.log

The table containing logging related functions

log_level

table

Log levels, from less to more severe (enumeration)

loop_mode

table

Loop state (enumeration)

mesh_sprite

ncine.mesh_sprite

The table containing mesh sprite related functions

mouse_button

table

Mouse buttons (enumeration)

mouse_cursor_mode

table

Mouse cursor modes (enumeration)

on_acceleration

function ncine.on_acceleration(event: any)

Callback function called at fixed time with the updated reading from the accelerometer sensor

on_change_scaling_factor

function ncine.on_change_scaling_factor(factor: any)

A callback that is called every time the window scaling factor changes

on_draw_viewport

function ncine.on_draw_viewport(viewport: any)

A callback that is called every time a viewport is going to be drawn

on_frame_end

function ncine.on_frame_end()

A callback that is called at the end of each frame, just before swapping drawing buffers

on_frame_start

function ncine.on_frame_start()

A callback that is called every time a new frame starts

on_init

function ncine.on_init()

A callback that is called once, after the nCine has been initialized.

It can be used to construct the object required by the scene.

on_joy_axis_moved

function ncine.on_joy_axis_moved(event: any)

Callback function called every time a joystick axis is moved

on_joy_button_pressed

function ncine.on_joy_button_pressed(event: any)

Callback function called every time a joystick button is pressed

on_joy_button_released

function ncine.on_joy_button_released(event: any)

Callback function called every time a joystick button is released

on_joy_connected

function ncine.on_joy_connected(event: any)

Callback function called every time a joystick is connected

on_joy_disconnected

function ncine.on_joy_disconnected(event: any)

Callback function called every time a joystick is disconnected

on_joy_hat_moved

function ncine.on_joy_hat_moved(event: any)

Callback function called every time a joystick hat is moved

on_joymapped_axis_moved

function ncine.on_joymapped_axis_moved(event: any)

Callback function called every time an axis of a joystick with mapping is moved

on_joymapped_button_pressed

function ncine.on_joymapped_button_pressed(event: any)

Callback function called every time a button of a joystick with mapping is pressed

on_joymapped_button_released

function ncine.on_joymapped_button_released(event: any)

Callback function called every time a button of a joystick with mapping is released

on_key_pressed

function ncine.on_key_pressed(event: any)

Callback function called every time a key is pressed

on_key_released

function ncine.on_key_released(event: any)

Callback function called every time a key is released

on_mouse_button_pressed

function ncine.on_mouse_button_pressed(event: any)

Callback function called every time a mouse button is pressed

on_mouse_button_released

function ncine.on_mouse_button_released(event: any)

Callback function called every time a mouse button is released

on_mouse_moved

function ncine.on_mouse_moved(event: any)

Callback function called every time the mouse is moved

on_pointer_down

function ncine.on_pointer_down(event: any)

Callback function called every time a screen touch different than the first one is made

on_pointer_up

function ncine.on_pointer_up(event: any)

Callback function called every time a screen touch different than the last one is released

on_post_update

function ncine.on_post_update()

A callback that is called every time the scenegraph has been traversed and all nodes have been transformed

on_pre_init

function ncine.on_pre_init(cfg: any)

A callback that is called once, before the nCine is initialized.

It can be used to change the initialization settings.

on_quit_request

function ncine.on_quit_request()

Callback function called when the system sends a quit event, for example when the user clicks the window close button.

Returns true if the application should quit.

on_resize_window

function ncine.on_resize_window(width: any, height: any)

A callback that is called every time the window is resized (by the system or the user)

on_resume

function ncine.on_resume()

A callback that is called every time the application resumes from suspension

on_scroll_input

function ncine.on_scroll_input(event: any)

Callback function called every time a scroll input occurs (mouse wheel, touchpad gesture, etc.)

on_shutdown

function ncine.on_shutdown()

A callback that is called once, before the nCine shuts down

It can be used to destroy objects constructed in ncine.on_init()

on_suspend

function ncine.on_suspend()

A callback that is called every time the application needs to be suspended

on_text_input

function ncine.on_text_input(event: any)

Callback function called every time a text input is generated

on_touch_down

function ncine.on_touch_down(event: any)

Callback function called every time the first screen touch is made

on_touch_move

function ncine.on_touch_move(event: any)

Callback function called every time a screen touch is moved

on_touch_up

function ncine.on_touch_up(event: any)

Callback function called every time the last screen touch is released

particle_affector

ncine.particle_affector

The table containing particle affectors related functions

particle_system

ncine.particle_system

The table containing particle system related functions

permission

table

File and directory permission modes (enumeration)

rect

ncine.rect

A rectangle in 2D

rect_animation

ncine.rect_animation

A rectangle based animation data table

rewind_mode

table

Rewind modes (enumeration)

scenenode

ncine.scenenode

The table containing scenenode related functions.

A scene node is the base class for many other classes that can be organized in a scene graph.

shader

ncine.shader

The table containing shader related functions

shader_default_fragment

table

Default fragment shaders (enumeration)

shader_default_vertex

table

Default vertex shaders (enumeration)

shader_introspection

table

Shader introspection states (enumeration)

shaderstate

ncine.shaderstate

The table containing shader state related functions

sprite

ncine.sprite

The table containing sprite related functions

start

function ncine.start()

Starts the application game loop

This function should be called after defining the required callback functions, and only if launching the script from the stand-alone lua interpreter.

For example: if ncine == nil then local names = { "ncine", "ncine_d", "libncine", "libncine_d" } for i, name in ipairs(names) do local ok, mod = pcall(require, name) if ok then break end end needs_start = true end

function nc.on_init()
  [...]
end

function nc.on_frame_start()
  [...]
end

if needs_start then
  nc.start()
end

tex_filtering

table

Texture filtering modes (enumeration)

tex_format

table

Texture formats (enumeration)

tex_wrap

table

Texture wrap modes (enumeration)

text_alignment

table

Text alignments (enumeration)

textnode

ncine.textnode

The table containing textnode related functions

texture

ncine.texture

The table containing texture related functions

texture_cut_mode

table

Texture cut modes (enumeration)

timestamp

table

Timestamping related functions

vec2

ncine.vec2

A two component vector

vec3

ncine.vec3

A three component vector

vec4

ncine.vec4

A four component vector

viewport

ncine.viewport

The table containing viewport related functions

viewport_type

table

Viewport types (enumeration)

visit_order_state

table

Visit order states (enumeration)


ncine.affector_type

table
enum ncine.affector_type
table
enum ncine.affector_type

ncine.animated_sprite

add_animation

function ncine.animated_sprite.add_animation(sprite: any, anim: any)

Adds a new animation

An example of a valid animation table is the following: local animation = { frame_duration = 0.5, -- half a second loop_mode = nc.loop_mode.ENABLED, rewind_mode = nc.rewind_mode.FROM_START, rect_size = { x = 32, y = 32 }, source_rect = { x = 0, y = 0, w = 96, h = 48 }, num_rectangles_to_skip = 0, -- default is 0 if the field is not specified padding = { x = 0, y = 0 }, -- default is {x = 0, y = 0} if the field is not specified }

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

clear_animations

function ncine.animated_sprite.clear_animations(sprite: any)

Deletes all animations

clone

function ncine.animated_sprite.clone(sprite: any)

Constructs a new animated sprite object as a clone of the specified one.

Don't forget to call @{delete} when you are done with it!

delete

function ncine.animated_sprite.delete(sprite: any)

Destroys an animated sprite object and releases its memory

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_animation_index

function ncine.animated_sprite.get_animation_index(sprite: any)

Returns the current animation index

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_frame

function ncine.animated_sprite.get_frame(sprite: any)

Returns the frame number in current animation

get_height

function ncine.drawable_node.get_height(node: any)

Returns the height of the node area

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_texrect

function ncine.base_sprite.get_texrect(sprite: any)

Returns the texture source rectangle for blitting

get_texture

function ncine.base_sprite.get_texture(sprite: any)

Returns the texture object

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.drawable_node.get_width(node: any)

Returns the width of the node area

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

is_flipped_x

function ncine.base_sprite.is_flipped_x(sprite: any)

Returns true if the sprite texture is horizontally flipped

is_flipped_y

function ncine.base_sprite.is_flipped_y(sprite: any)

Returns true if the sprite texture is vertically flipped

is_paused

function ncine.animated_sprite.is_paused(sprite: any)

Returns true if the current animation is paused

new

function ncine.animated_sprite.new(parent: any, texture: any, x: any, y: any)

Constructs an animated sprite object with a parent scene node, a texture, and position components.

Don't forget to call @{delete} when you are done with it!

num_animations

function ncine.animated_sprite.num_animations(sprite: any)

Returns the number of animations

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

num_frames

function ncine.animated_sprite.num_frames(sprite: any)

Returns the number of frames in current animation

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

reset_texture

function ncine.base_sprite.reset_texture(sprite: any)

Triggers a texture update without setting a new texture

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_animation_index

function ncine.animated_sprite.set_animation_index(sprite: any, index: any)

Sets the current animation index

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_flipped_x

function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)

Flips the texture rect horizontally

set_flipped_y

function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)

Flips the texture rect vertically

set_frame

function ncine.animated_sprite.set_frame(sprite: any, frame: any)

Sets current animation to a specified frame number

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_paused

function ncine.animated_sprite.set_paused(sprite: any, paused: any)

Sets the pause state for the animation

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_size

function ncine.base_sprite.set_size(sprite: any, width: any, height: any)

Sets the sprite size

set_texrect

function ncine.base_sprite.set_texrect(sprite: any, rect: any)

Sets the texture source rectangle for blitting

set_texture

function ncine.base_sprite.set_texture(sprite: any, texture: any)

Sets the texture object

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.animated_sprite

ncine.animated_sprite
ncine.animated_sprite

ncine.animated_sprite.add_animation

function ncine.animated_sprite.add_animation(sprite: any, anim: any)
function ncine.animated_sprite.add_animation(sprite: animatedspriteObj, anim: ncine.rect_animation)
function ncine.animated_sprite.add_animation(sprite: any, anim: any)
function ncine.animated_sprite.add_animation(sprite: animatedspriteObj, anim: ncine.rect_animation)

ncine.animated_sprite.clear_animations

function ncine.animated_sprite.clear_animations(sprite: any)
function ncine.animated_sprite.clear_animations(sprite: animatedspriteObj)
function ncine.animated_sprite.clear_animations(sprite: any)
function ncine.animated_sprite.clear_animations(sprite: animatedspriteObj)

ncine.animated_sprite.clone

function ncine.animated_sprite.clone(sprite: any)
function ncine.animated_sprite.clone(sprite: animatedspriteObj)
  -> animatedspriteObj
function ncine.animated_sprite.clone(sprite: any)
function ncine.animated_sprite.clone(sprite: animatedspriteObj)
  -> animatedspriteObj

ncine.animated_sprite.delete

function ncine.animated_sprite.delete(sprite: any)
function ncine.animated_sprite.delete(sprite: animatedspriteObj)
function ncine.animated_sprite.delete(sprite: any)
function ncine.animated_sprite.delete(sprite: animatedspriteObj)

ncine.animated_sprite.get_animation_index

function ncine.animated_sprite.get_animation_index(sprite: any)
function ncine.animated_sprite.get_animation_index(sprite: animatedspriteObj)
  -> integer
function ncine.animated_sprite.get_animation_index(sprite: any)
function ncine.animated_sprite.get_animation_index(sprite: animatedspriteObj)
  -> integer

ncine.animated_sprite.get_frame

function ncine.animated_sprite.get_frame(sprite: any)
function ncine.animated_sprite.get_frame(sprite: animatedspriteObj)
  -> integer
function ncine.animated_sprite.get_frame(sprite: any)
function ncine.animated_sprite.get_frame(sprite: animatedspriteObj)
  -> integer

ncine.animated_sprite.is_paused

function ncine.animated_sprite.is_paused(sprite: any)
function ncine.animated_sprite.is_paused(sprite: animatedspriteObj)
  -> boolean
function ncine.animated_sprite.is_paused(sprite: any)
function ncine.animated_sprite.is_paused(sprite: animatedspriteObj)
  -> boolean

ncine.animated_sprite.new

function ncine.animated_sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.animated_sprite.new(parent: any, texture: any, pos: any)
function ncine.animated_sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> animatedspriteObj
function ncine.animated_sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> animatedspriteObj
function ncine.animated_sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.animated_sprite.new(parent: any, texture: any, pos: any)
function ncine.animated_sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> animatedspriteObj
function ncine.animated_sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> animatedspriteObj

ncine.animated_sprite.num_animations

function ncine.animated_sprite.num_animations(sprite: any)
function ncine.animated_sprite.num_animations(sprite: animatedspriteObj)
  -> integer
function ncine.animated_sprite.num_animations(sprite: any)
function ncine.animated_sprite.num_animations(sprite: animatedspriteObj)
  -> integer

ncine.animated_sprite.num_frames

function ncine.animated_sprite.num_frames(sprite: any)
function ncine.animated_sprite.num_frames(sprite: animatedspriteObj)
  -> integer
function ncine.animated_sprite.num_frames(sprite: any)
function ncine.animated_sprite.num_frames(sprite: animatedspriteObj)
  -> integer

ncine.animated_sprite.set_animation_index

function ncine.animated_sprite.set_animation_index(sprite: any, index: any)
function ncine.animated_sprite.set_animation_index(sprite: animatedspriteObj, index: integer)
function ncine.animated_sprite.set_animation_index(sprite: any, index: any)
function ncine.animated_sprite.set_animation_index(sprite: animatedspriteObj, index: integer)

ncine.animated_sprite.set_frame

function ncine.animated_sprite.set_frame(sprite: any, frame: any)
function ncine.animated_sprite.set_frame(sprite: animatedspriteObj, frame: integer)
function ncine.animated_sprite.set_frame(sprite: any, frame: any)
function ncine.animated_sprite.set_frame(sprite: animatedspriteObj, frame: integer)

ncine.animated_sprite.set_paused

function ncine.animated_sprite.set_paused(sprite: any, paused: any)
function ncine.animated_sprite.set_paused(sprite: animatedspriteObj, paused: boolean)
function ncine.animated_sprite.set_paused(sprite: any, paused: any)
function ncine.animated_sprite.set_paused(sprite: animatedspriteObj, paused: boolean)

ncine.app_configuration

ncine.app_configuration
ncine.app_configuration

ncine.app_configuration

argc

integer

The number of arguments passed on the command line

argv

string[]

The array of arguments passed on the command line

audio

boolean

The flag is true if the audio subsystem is enabled

binary_shader_cache

boolean

The flag is true if the shader cache is enabled to load and save binary shader programs

buffer_mapping

boolean

The flag is true if mapping is used to update OpenGL buffers

compile_batched_shaders_twice

boolean

The flag is true if, on devices with UBOs smaller than 64 KB, batched shaders will be compiled twice to identify their maximum batch size

console_colors

boolean

The flag is true if console log messages should use colors

console_log_level

ncine.log_level

The minimum level that a log message needs to have to be printed in the console

data_path

string

The data path

debug_overlay

boolean

The flag is true if the debug overlay is enabled

defer_shader_queries

boolean

The flag is true when error checking and introspection of shader programs are deferred to first use

file_log_level

ncine.log_level

The minimum level that a log message needs to have to be written to the log file

fixed_batch_size

integer

Fixed size of render commands to be collected for batching on Emscripten and ANGLE

frame_limit

integer

The maximum number of frames to render per second or 0 for no limit

full_screen

boolean

The flag is true if the application is going to be in full screen mode

gl_debug_context

boolean

The flag is true if the OpenGL debug context is enabled

ibo_size

integer

The maximum size in bytes for each IBO collecting index data

log_file

string

The file used when logging to file is enabled

log_interval

number

The interval for frame timer accumulation average and log

mono_audio_sources

integer

The number of mono audio sources

opengl_core_profile

boolean

True if the OpenGL profile is going to be core (read-only)

opengl_forward_compatible

boolean

True if the OpenGL context is going to be forward compatible (read-only)

opengl_major_version

integer

The major version number of the OpenGL context (read-only)

opengl_minor_version

integer

The minor version number of the OpenGL context (read-only)

output_audio_frequency

integer

The output frequency of the audio system

profile_text_update_time

number

The update time in seconds for the profile text nodes (read-only)

refresh_rate

number

The refresh rate of the screen mode used to go in full screen.
If it is zero or negative, when requesting a full screen mode the current refresh rate will not be changed.

rendercommand_pool_size

integer

The initial size for the pool of render commands

resizable

boolean

The flag is true if the window is going to be resizable

resolution

ncine.vec2

The window size or the resolution of the closest video mode if going full screen.
If either x or y are zero or negative, the application will go in full screen at the current screen resolution.

scenegraph

boolean

The flag is true if the scenegraph based rendering is enabled

shader_cache_dirname

string

The directory name (not the complete path) for the binary shaders cache

stereo_audio_sources

integer

The number of stereo audio sources

threads

boolean

The flag is true if the threading subsystem is enabled

vao_pool_size

integer

The maximum size for the pool of VAOs

vbo_size

integer

The maximum size in bytes for each VBO collecting geometry data

vsync

boolean

The flag is true if the vertical synchronization is enabled

window_icon

string

The window icon filename

window_position

ncine.vec2

The window position coordinates in the virtual screen made of all the connected monitors

window_scaling

boolean

The flag is true if the window size is automatically scaled according to the display factor

window_title

string

The window title


ncine.application

get_app_configuration

function ncine.application.get_app_configuration()

Returns the configuration used to initialize the application

get_auto_suspension

function ncine.application.get_auto_suspension()

Returns true if the application should auto-suspend when it loses focus

get_debugoverlay_settings

function ncine.application.get_debugoverlay_settings()

Returns the run-time debug overlay settings, if debug overlay is available

get_gui_settings

function ncine.application.get_gui_settings()

Returns the run-time GUI settings

get_height

function ncine.application.get_height()

Returns the drawable screen height

get_interval

function ncine.application.get_interval()

Returns the time in seconds that last frame took to complete

get_num_frames

function ncine.application.get_num_frames()

Returns the total number of frames already rendered

get_rendering_settings

function ncine.application.get_rendering_settings()

Returns the run-time rendering settings

get_resolution

function ncine.application.get_resolution()

Returns the drawable screen resolution vector

get_rootnode

function ncine.application.get_rootnode()

Returns the root node of the transformation graph

get_screen_viewport

function ncine.application.get_screen_viewport()

Returns the screen viewport

get_width

function ncine.application.get_width()

Returns the drawable screen width

is_suspended

function ncine.application.is_suspended()

Returns true if the application is suspended.

A suspended application will not update nor receive events.

quit

function ncine.application.quit()

Asks the application to quit as soon as possible

set_auto_suspension

function ncine.application.set_auto_suspension(flag: any)

Sets a new value for the auto-suspension flag

set_debugoverlay_settings

function ncine.application.set_debugoverlay_settings(settings: any)

Sets the run-time debug overlay settings

set_gui_settings

function ncine.application.set_gui_settings(settings: any)

Sets the run-time GUI settings

set_rendering_settings

function ncine.application.set_rendering_settings(settings: any)

Sets the run-time rendering settings

set_suspended

function ncine.application.set_suspended(flag: any)

Sets a new value for the suspension flag


ncine.application

ncine.application
ncine.application

ncine.application.get_app_configuration

function ncine.application.get_app_configuration()
function ncine.application.get_app_configuration()
  -> ncine.app_configuration
function ncine.application.get_app_configuration()
function ncine.application.get_app_configuration()
  -> ncine.app_configuration

ncine.application.get_auto_suspension

function ncine.application.get_auto_suspension()
function ncine.application.get_auto_suspension()
  -> boolean
function ncine.application.get_auto_suspension()
function ncine.application.get_auto_suspension()
  -> boolean

ncine.application.get_debugoverlay_settings

function ncine.application.get_debugoverlay_settings()
function ncine.application.get_debugoverlay_settings()
  -> debug_overlay_settings
function ncine.application.get_debugoverlay_settings()
function ncine.application.get_debugoverlay_settings()
  -> debug_overlay_settings

ncine.application.get_gui_settings

function ncine.application.get_gui_settings()
function ncine.application.get_gui_settings()
  -> gui_settings
function ncine.application.get_gui_settings()
function ncine.application.get_gui_settings()
  -> gui_settings

ncine.application.get_height

function ncine.application.get_height()
function ncine.application.get_height()
  -> number
function ncine.application.get_height()
function ncine.application.get_height()
  -> number

ncine.application.get_interval

function ncine.application.get_interval()
function ncine.application.get_interval()
  -> number
function ncine.application.get_interval()
function ncine.application.get_interval()
  -> number

ncine.application.get_num_frames

function ncine.application.get_num_frames()
function ncine.application.get_num_frames()
  -> integer
function ncine.application.get_num_frames()
function ncine.application.get_num_frames()
  -> integer

ncine.application.get_rendering_settings

function ncine.application.get_rendering_settings()
function ncine.application.get_rendering_settings()
  -> rendering_settings
function ncine.application.get_rendering_settings()
function ncine.application.get_rendering_settings()
  -> rendering_settings

ncine.application.get_resolution

function ncine.application.get_resolution()
function ncine.application.get_resolution()
  -> ncine.vec2
function ncine.application.get_resolution()
function ncine.application.get_resolution()
  -> ncine.vec2

ncine.application.get_rootnode

function ncine.application.get_rootnode()
function ncine.application.get_rootnode()
  -> scenenodeObj
function ncine.application.get_rootnode()
function ncine.application.get_rootnode()
  -> scenenodeObj

ncine.application.get_screen_viewport

function ncine.application.get_screen_viewport()
function ncine.application.get_screen_viewport()
  -> viewportObj
function ncine.application.get_screen_viewport()
function ncine.application.get_screen_viewport()
  -> viewportObj

ncine.application.get_width

function ncine.application.get_width()
function ncine.application.get_width()
  -> number
function ncine.application.get_width()
function ncine.application.get_width()
  -> number

ncine.application.is_suspended

function ncine.application.is_suspended()
function ncine.application.is_suspended()
  -> boolean
function ncine.application.is_suspended()
function ncine.application.is_suspended()
  -> boolean

ncine.application.quit

function ncine.application.quit()
function ncine.application.quit()
function ncine.application.quit()
function ncine.application.quit()

ncine.application.set_auto_suspension

function ncine.application.set_auto_suspension(flag: any)
function ncine.application.set_auto_suspension(flag: boolean)
function ncine.application.set_auto_suspension(flag: any)
function ncine.application.set_auto_suspension(flag: boolean)

ncine.application.set_debugoverlay_settings

function ncine.application.set_debugoverlay_settings(settings: any)
function ncine.application.set_debugoverlay_settings(settings: debug_overlay_settings)
function ncine.application.set_debugoverlay_settings(settings: any)
function ncine.application.set_debugoverlay_settings(settings: debug_overlay_settings)

ncine.application.set_gui_settings

function ncine.application.set_gui_settings(settings: any)
function ncine.application.set_gui_settings(settings: gui_settings)
function ncine.application.set_gui_settings(settings: any)
function ncine.application.set_gui_settings(settings: gui_settings)

ncine.application.set_rendering_settings

function ncine.application.set_rendering_settings(settings: any)
function ncine.application.set_rendering_settings(settings: rendering_settings)
function ncine.application.set_rendering_settings(settings: any)
function ncine.application.set_rendering_settings(settings: rendering_settings)

ncine.application.set_suspended

function ncine.application.set_suspended(flag: any)
function ncine.application.set_suspended(flag: boolean)
function ncine.application.set_suspended(flag: any)
function ncine.application.set_suspended(flag: boolean)

ncine.audio_buffer

buffer_id

function ncine.audio_buffer.buffer_id(audio_buffer: any)

Returns the OpenAL buffer id

buffer_size

function ncine.audio_buffer.buffer_size(audio_buffer: any)

Returns the size of the buffer in bytes

bytes_per_sample

function ncine.audio_buffer.bytes_per_sample(audio_buffer: any)

Returns the number of bytes per sample

delete

function ncine.audio_buffer.delete(audio_buffer: any)

Destroys an audio buffer object and releases its memory

duration

function ncine.audio_buffer.duration(audio_buffer: any)

Returns the duration in seconds

frequency

function ncine.audio_buffer.frequency(audio_buffer: any)

Returns the samples frequency

new

function ncine.audio_buffer.new(filename: any)

Constructs an audio buffer object from an audio file.

Don't forget to call @{delete} when you are done with it!

num_channels

function ncine.audio_buffer.num_channels(audio_buffer: any)

Returns the number of audio channels

num_samples

function ncine.audio_buffer.num_samples(audio_buffer: any)

Returns number of samples


ncine.audio_buffer

ncine.audio_buffer
ncine.audio_buffer

ncine.audio_buffer.buffer_id

function ncine.audio_buffer.buffer_id(audio_buffer: any)
function ncine.audio_buffer.buffer_id(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.buffer_id(audio_buffer: any)
function ncine.audio_buffer.buffer_id(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer.buffer_size

function ncine.audio_buffer.buffer_size(audio_buffer: any)
function ncine.audio_buffer.buffer_size(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.buffer_size(audio_buffer: any)
function ncine.audio_buffer.buffer_size(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer.bytes_per_sample

function ncine.audio_buffer.bytes_per_sample(audio_buffer: any)
function ncine.audio_buffer.bytes_per_sample(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.bytes_per_sample(audio_buffer: any)
function ncine.audio_buffer.bytes_per_sample(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer.delete

function ncine.audio_buffer.delete(audio_buffer: any)
function ncine.audio_buffer.delete(audio_buffer: audiobufferObj)
function ncine.audio_buffer.delete(audio_buffer: any)
function ncine.audio_buffer.delete(audio_buffer: audiobufferObj)

ncine.audio_buffer.duration

function ncine.audio_buffer.duration(audio_buffer: any)
function ncine.audio_buffer.duration(audio_buffer: audiobufferObj)
  -> number
function ncine.audio_buffer.duration(audio_buffer: any)
function ncine.audio_buffer.duration(audio_buffer: audiobufferObj)
  -> number

ncine.audio_buffer.frequency

function ncine.audio_buffer.frequency(audio_buffer: any)
function ncine.audio_buffer.frequency(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.frequency(audio_buffer: any)
function ncine.audio_buffer.frequency(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer.new

function ncine.audio_buffer.new(filename: any)
function ncine.audio_buffer.new(filename: string)
  -> audiobufferObj
function ncine.audio_buffer.new(filename: any)
function ncine.audio_buffer.new(filename: string)
  -> audiobufferObj

ncine.audio_buffer.num_channels

function ncine.audio_buffer.num_channels(audio_buffer: any)
function ncine.audio_buffer.num_channels(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.num_channels(audio_buffer: any)
function ncine.audio_buffer.num_channels(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer.num_samples

function ncine.audio_buffer.num_samples(audio_buffer: any)
function ncine.audio_buffer.num_samples(audio_buffer: audiobufferObj)
  -> integer
function ncine.audio_buffer.num_samples(audio_buffer: any)
function ncine.audio_buffer.num_samples(audio_buffer: audiobufferObj)
  -> integer

ncine.audio_buffer_player

ncine.audio_buffer_player
ncine.audio_buffer_player

ncine.audio_buffer_player

buffer_id

function ncine.audio_player.buffer_id(player: any)

Returns the OpenAL id of the currently playing buffer

buffer_size

function ncine.audio_player.buffer_size(player: any)

Returns the size of the currently playing buffer in bytes

bytes_per_sample

function ncine.audio_player.bytes_per_sample(player: any)

Returns the number of bytes per sample

delete

function ncine.audio_buffer_player.delete(player: any)

Destroys an audio buffer player object and releases its memory

duration

function ncine.audio_player.duration(player: any)

Returns the duration in seconds

frequency

function ncine.audio_player.frequency(player: any)

Returns the samples frequency of the currently playing buffer

get_air_absorption_factor

function ncine.audio_player.get_air_absorption_factor(player: any)

Returns the player air absorption factor (only available with OpenAL EFX)

get_audio_buffer

function ncine.audio_buffer_player.get_audio_buffer(player: any)

Gets the audio buffer used for playing

get_aux_filter_id

function ncine.audio_player.get_aux_filter_id(player: any)

Returns the OpenAL id of the auxiliary filter (only available with OpenAL EFX)

get_cone_inner_angle

function ncine.audio_player.get_cone_inner_angle(player: any)

Returns the player inside angle of the sound cone in degrees

get_cone_outer_angle

function ncine.audio_player.get_cone_outer_angle(player: any)

Returns the player outside angle of the sound cone in degrees

get_cone_outer_gain

function ncine.audio_player.get_cone_outer_gain(player: any)

Returns the player multiplication factor to determine the gain outside the cone

get_cone_outer_gain_hf

function ncine.audio_player.get_cone_outer_gain_hf(player: any)

Returns the player cone outer gain HF value (only available with OpenAL EFX)

get_direct_filter_id

function ncine.audio_player.get_direct_filter_id(player: any)

Returns the OpenAL id of the direct filter (only available with OpenAL EFX)

get_direction

function ncine.audio_player.get_direction(player: any)

Returns the player direction vector

get_effect_slot_id

function ncine.audio_player.get_effect_slot_id(player: any)

Returns the OpenAL id of the effect slot (only available with OpenAL EFX)

get_gain

function ncine.audio_player.get_gain(player: any)

Returns the player gain value

get_pitch

function ncine.audio_player.get_pitch(player: any)

Returns the player pitch value

get_position

function ncine.audio_player.get_position(player: any)

Returns the player position vector

get_room_rolloff_factor

function ncine.audio_player.get_room_rolloff_factor(player: any)

Returns the player room rolloff factor (only available with OpenAL EFX)

get_sample_offset

function ncine.audio_player.get_sample_offset(player: any)

Returns the size of the currently playing buffer in bytes

get_velocity

function ncine.audio_player.get_velocity(player: any)

Returns the player velocity vector

has_aux_filter

function ncine.audio_player.has_aux_filter(player: any)

Returns true if a valid OpenAL auxiliary filter is currently assigned to the player (only available with OpenAL EFX)

has_direct_filter

function ncine.audio_player.has_direct_filter(player: any)

Returns true if a valid OpenAL direct filter is currently assigned to the player (only available with OpenAL EFX)

has_effect_slot

function ncine.audio_player.has_effect_slot(player: any)

Returns true if a valid OpenAL effect slot is currently assigned to the player (only available with OpenAL EFX)

has_source

function ncine.audio_player.has_source(player: any)

Returns true if a valid OpenAL source is currently assigned to the player

is_looping

function ncine.audio_player.is_looping(player: any)

Returns the looping property of the player

is_paused

function ncine.audio_player.is_paused(player: any)

Returns true if the player is paused

is_playing

function ncine.audio_player.is_playing(player: any)

Returns true if the player is playing

is_source_locked

function ncine.audio_player.is_source_locked(player: any)

Returns true if the OpenAL source is locked

is_stopped

function ncine.audio_player.is_stopped(player: any)

Returns true if the player is stopped

new

function ncine.audio_buffer_player.new(buffer: any)

Constructs an audio buffer player object from an audio buffer.

Don't forget to call @{delete} when you are done with it!

num_channels

function ncine.audio_player.num_channels(player: any)

Returns the number of audio channels of the currently playing buffer

num_samples

function ncine.audio_player.num_samples(player: any)

Returns the number of samples

pause

function ncine.audio_player.pause(player: any)

Pauses playing

play

function ncine.audio_player.play(player: any)

Starts playing

set_air_absorption_factor

function ncine.audio_player.set_air_absorption_factor(player: any, factor: any)

Sets the player air absorption factor (only available with OpenAL EFX)

set_audio_buffer

function ncine.audio_buffer_player.set_audio_buffer(player: any, buffer: any)

Sets the audio buffer used for playing

set_cone_inner_angle

function ncine.audio_player.set_cone_inner_angle(player: any, angle: any)

Sets the player inside angle of the sound cone in degrees

set_cone_outer_angle

function ncine.audio_player.set_cone_outer_angle(player: any, angle: any)

Sets the player outside angle of the sound cone in degrees

set_cone_outer_gain

function ncine.audio_player.set_cone_outer_gain(player: any, gain: any)

Sets the player multiplication factor to determine the gain outside the cone

set_cone_outer_gain_hf

function ncine.audio_player.set_cone_outer_gain_hf(player: any, gain: any)

Sets the player cone outer gain HF value (only available with OpenAL EFX)

set_direct_filter

function ncine.audio_player.set_direct_filter(player: any, audio_filter: any)

Sets or removes the filter parameters from a filter object to the direct signal (only available with OpenAL EFX)

set_direction

function ncine.audio_player.set_direction(player: any, direction: any)

Sets the player direction vector

set_effect_slot

function ncine.audio_player.set_effect_slot(player: any, audio_effect_slot: any, audio_filter: any)

Sets or removes an affect slot, with an optional auxiliary filter, to the player (only available with OpenAL EFX)

set_gain

function ncine.audio_player.set_gain(player: any, gain: any)

Sets the player gain value

set_looping

function ncine.audio_player.set_looping(player: any, looping: any)

Sets the looping property of the player

set_pitch

function ncine.audio_player.set_pitch(player: any, pitch: any)

Sets the player pitch value

set_position

function ncine.audio_player.set_position(player: any, position: any)

Sets the player position vector

set_room_rolloff_factor

function ncine.audio_player.set_room_rolloff_factor(player: any, factor: any)

Sets the player room rolloff factor (only available with OpenAL EFX)

set_sample_offset

function ncine.audio_player.set_sample_offset(player: any, offset: any)

Returns the size of the currently playing buffer in bytes

set_source_locked

function ncine.audio_player.set_source_locked(player: any, locked: any)

Locks an OpenAL source so it is not released to the pool when the player stops

set_velocity

function ncine.audio_player.set_velocity(player: any, velocity: any)

Sets the player velocity vector

source_id

function ncine.audio_player.source_id(player: any)

Returns the OpenAL id of the player source

stop

function ncine.audio_player.stop(player: any)

Stops playing and rewinds


ncine.audio_buffer_player.delete

function ncine.audio_buffer_player.delete(player: any)
function ncine.audio_buffer_player.delete(player: audiobufferplayerObj)
function ncine.audio_buffer_player.delete(player: any)
function ncine.audio_buffer_player.delete(player: audiobufferplayerObj)

ncine.audio_buffer_player.get_audio_buffer

function ncine.audio_buffer_player.get_audio_buffer(player: any)
function ncine.audio_buffer_player.get_audio_buffer(player: audiobufferplayerObj)
  -> audiobufferObj
function ncine.audio_buffer_player.get_audio_buffer(player: any)
function ncine.audio_buffer_player.get_audio_buffer(player: audiobufferplayerObj)
  -> audiobufferObj

ncine.audio_buffer_player.new

function ncine.audio_buffer_player.new(buffer: any)
function ncine.audio_buffer_player.new(buffer: audiobufferObj)
  -> audiobufferplayerObj
function ncine.audio_buffer_player.new(buffer: any)
function ncine.audio_buffer_player.new(buffer: audiobufferObj)
  -> audiobufferplayerObj

ncine.audio_buffer_player.set_audio_buffer

function ncine.audio_buffer_player.set_audio_buffer(player: any, buffer: any)
function ncine.audio_buffer_player.set_audio_buffer(player: audiobufferplayerObj, buffer: audiobufferObj)
function ncine.audio_buffer_player.set_audio_buffer(player: any, buffer: any)
function ncine.audio_buffer_player.set_audio_buffer(player: audiobufferplayerObj, buffer: audiobufferObj)

ncine.audio_device

get_gain

function ncine.audio_device.get_gain()

Returns the listener gain value

get_max_num_sources

function ncine.audio_device.get_max_num_sources()

Returns the maximum number of audio sources

get_num_available_sources

function ncine.audio_device.get_num_available_sources()

Returns the number of available audio sources

get_num_players

function ncine.audio_device.get_num_players()

Returns the number of active players

get_player

function ncine.audio_device.get_player(index: any)

Returns the specified active player object

get_position

function ncine.audio_device.get_position()

Returns the listener position vector

get_velocity

function ncine.audio_device.get_velocity()

Returns the listener velocity vector

has_efx_extension

function ncine.audio_device.has_efx_extension()

Returns true if the OpenAL EFX extension is available

name

function ncine.audio_device.name()

Returns the name of the audio device

pause_device

function ncine.audio_device.pause_device()

Pauses all audio device activities using an OpenAL-soft extension (if available).

If the extension is not available, all players are paused.

pause_players

function ncine.audio_device.pause_players()

Pauses every player currently playing.

Paused players can be resumed with resume_players().

resume_device

function ncine.audio_device.resume_device()

Resumes all audio device activities using an OpenAL-soft extension (if available).

If the extension is not available, all paused players resume playing.

resume_players

function ncine.audio_device.resume_players()

Resumes all and only the players that were paused by a pause_players() call

set_gain

function ncine.audio_device.set_gain(gain: any)

Sets the listener gain value

set_position

function ncine.audio_device.set_position(position: any)

Sets the listener position vector

set_velocity

function ncine.audio_device.set_velocity(velocity: any)

Sets the listener velocity vector

stop_players

function ncine.audio_device.stop_players()

Stops every player currently playing


ncine.audio_device

ncine.audio_device
ncine.audio_device

ncine.audio_device.get_gain

function ncine.audio_device.get_gain()
function ncine.audio_device.get_gain()
  -> number
function ncine.audio_device.get_gain()
function ncine.audio_device.get_gain()
  -> number

ncine.audio_device.get_max_num_sources

function ncine.audio_device.get_max_num_sources()
function ncine.audio_device.get_max_num_sources()
  -> integer
function ncine.audio_device.get_max_num_sources()
function ncine.audio_device.get_max_num_sources()
  -> integer

ncine.audio_device.get_num_available_sources

function ncine.audio_device.get_num_available_sources()
function ncine.audio_device.get_num_available_sources()
  -> integer
function ncine.audio_device.get_num_available_sources()
function ncine.audio_device.get_num_available_sources()
  -> integer

ncine.audio_device.get_num_players

function ncine.audio_device.get_num_players()
function ncine.audio_device.get_num_players()
  -> integer
function ncine.audio_device.get_num_players()
function ncine.audio_device.get_num_players()
  -> integer

ncine.audio_device.get_player

function ncine.audio_device.get_player(index: any)
function ncine.audio_device.get_player(index: integer)
  -> audioplayerObj?
function ncine.audio_device.get_player(index: any)
function ncine.audio_device.get_player(index: integer)
  -> audioplayerObj?

ncine.audio_device.get_position

function ncine.audio_device.get_position()
function ncine.audio_device.get_position()
  -> ncine.vec3
function ncine.audio_device.get_position()
function ncine.audio_device.get_position()
  -> ncine.vec3

ncine.audio_device.get_velocity

function ncine.audio_device.get_velocity()
function ncine.audio_device.get_velocity()
  -> ncine.vec3
function ncine.audio_device.get_velocity()
function ncine.audio_device.get_velocity()
  -> ncine.vec3

ncine.audio_device.has_efx_extension

function ncine.audio_device.has_efx_extension()
function ncine.audio_device.has_efx_extension()
  -> boolean
function ncine.audio_device.has_efx_extension()
function ncine.audio_device.has_efx_extension()
  -> boolean

ncine.audio_device.name

function ncine.audio_device.name()
function ncine.audio_device.name()
  -> string
function ncine.audio_device.name()
function ncine.audio_device.name()
  -> string

ncine.audio_device.pause_device

function ncine.audio_device.pause_device()
function ncine.audio_device.pause_device()
function ncine.audio_device.pause_device()
function ncine.audio_device.pause_device()

ncine.audio_device.pause_players

function ncine.audio_device.pause_players()
function ncine.audio_device.pause_players()
function ncine.audio_device.pause_players()
function ncine.audio_device.pause_players()

ncine.audio_device.resume_device

function ncine.audio_device.resume_device()
function ncine.audio_device.resume_device()
function ncine.audio_device.resume_device()
function ncine.audio_device.resume_device()

ncine.audio_device.resume_players

function ncine.audio_device.resume_players()
function ncine.audio_device.resume_players()
function ncine.audio_device.resume_players()
function ncine.audio_device.resume_players()

ncine.audio_device.set_gain

function ncine.audio_device.set_gain(gain: any)
function ncine.audio_device.set_gain(gain: number)
function ncine.audio_device.set_gain(gain: any)
function ncine.audio_device.set_gain(gain: number)

ncine.audio_device.set_position

function ncine.audio_device.set_position(position: any)
function ncine.audio_device.set_position(position_x: any, position_y: any, position_z: any)
function ncine.audio_device.set_position(velocity_x: any, velocity_y: any, velocity_z: any)
function ncine.audio_device.set_position(position: ncine.vec3)
function ncine.audio_device.set_position(position_x: number, position_y: number, position_z: number)
function ncine.audio_device.set_position(velocity_x: number, velocity_y: number, velocity_z: number)
function ncine.audio_device.set_position(position: any)
function ncine.audio_device.set_position(position_x: any, position_y: any, position_z: any)
function ncine.audio_device.set_position(velocity_x: any, velocity_y: any, velocity_z: any)
function ncine.audio_device.set_position(position: ncine.vec3)
function ncine.audio_device.set_position(position_x: number, position_y: number, position_z: number)
function ncine.audio_device.set_position(velocity_x: number, velocity_y: number, velocity_z: number)

ncine.audio_device.set_velocity

function ncine.audio_device.set_velocity(velocity: any)
function ncine.audio_device.set_velocity(velocity: ncine.vec3)
function ncine.audio_device.set_velocity(velocity: any)
function ncine.audio_device.set_velocity(velocity: ncine.vec3)

ncine.audio_device.stop_players

function ncine.audio_device.stop_players()
function ncine.audio_device.stop_players()
function ncine.audio_device.stop_players()
function ncine.audio_device.stop_players()

ncine.audio_effect

ncine.audio_effect
ncine.audio_effect

ncine.audio_effect

apply_properties

function ncine.audio_effect.apply_properties(audio_effect: any, properties: any)

Sets an effect type with all of its properties

delete

function ncine.audio_effect.delete(audio_effect: any)

Destroys an audio effect object and releases its memory

get_effect_id

function ncine.audio_effect.get_effect_id(audio_effect: any)

Returns the OpenAL effect id

get_type

function ncine.audio_effect.get_type(audio_effect: any)

Returns the effect type

new

function ncine.audio_effect.new()

Constructs an audio effect object.

Don't forget to call @{delete} when you are done with it!


ncine.audio_effect.apply_properties

function ncine.audio_effect.apply_properties(audio_effect: any, properties: any)
function ncine.audio_effect.apply_properties(audio_effect: audioeffectObj, properties: audioeffectpropertiesObj)
function ncine.audio_effect.apply_properties(audio_effect: any, properties: any)
function ncine.audio_effect.apply_properties(audio_effect: audioeffectObj, properties: audioeffectpropertiesObj)

ncine.audio_effect.delete

function ncine.audio_effect.delete(audio_effect: any)
function ncine.audio_effect.delete(audio_effect: audioeffectObj)
function ncine.audio_effect.delete(audio_effect: any)
function ncine.audio_effect.delete(audio_effect: audioeffectObj)

ncine.audio_effect.get_effect_id

function ncine.audio_effect.get_effect_id(audio_effect: any)
function ncine.audio_effect.get_effect_id(audio_effect: audioeffectObj)
  -> integer
function ncine.audio_effect.get_effect_id(audio_effect: any)
function ncine.audio_effect.get_effect_id(audio_effect: audioeffectObj)
  -> integer

ncine.audio_effect.get_type

function ncine.audio_effect.get_type(audio_effect: any)
function ncine.audio_effect.get_type(audio_effect: audioeffectObj)
  -> ncine.audio_effect_type
function ncine.audio_effect.get_type(audio_effect: any)
function ncine.audio_effect.get_type(audio_effect: audioeffectObj)
  -> ncine.audio_effect_type

ncine.audio_effect.new

function ncine.audio_effect.new()
function ncine.audio_effect.new()
  -> audioeffectObj
function ncine.audio_effect.new()
function ncine.audio_effect.new()
  -> audioeffectObj

ncine.audio_effect_properties

delete

function ncine.audio_effect_properties.delete(audio_effect_properties: any)

Destroys an audio effect properties object and releases its memory

get_auto_wah_properties

function ncine.audio_effect_properties.get_auto_wah_properties(audio_effect_properties: any)

Returns the current values for the auto wah effect properties

get_chorus_properties

function ncine.audio_effect_properties.get_chorus_properties(audio_effect_properties: any)

Returns the current values for the chorus effect properties

get_compressor_properties

function ncine.audio_effect_properties.get_compressor_properties(audio_effect_properties: any)

Returns the current values for the compressor effect properties

get_distortion_properties

function ncine.audio_effect_properties.get_distortion_properties(audio_effect_properties: any)

Returns the current values for the distortion effect properties

get_eax_reverb_properties

function ncine.audio_effect_properties.get_eax_reverb_properties(audio_effect_properties: any)

Returns the current values for the EAX reverb effect properties

get_echo_properties

function ncine.audio_effect_properties.get_echo_properties(audio_effect_properties: any)

Returns the current values for the echo effect properties

get_equalizer_properties

function ncine.audio_effect_properties.get_equalizer_properties(audio_effect_properties: any)

Returns the current values for the equalizer effect properties

get_flanger_properties

function ncine.audio_effect_properties.get_flanger_properties(audio_effect_properties: any)

Returns the current values for the flanger effect properties

get_frequency_shifter_properties

function ncine.audio_effect_properties.get_frequency_shifter_properties(audio_effect_properties: any)

Returns the current values for the frequency shifter effect properties

get_max_auto_wah_properties

function ncine.audio_effect_properties.get_max_auto_wah_properties(audio_effect_properties: any)

Returns the maximum values for the auto wah effect properties

get_max_chorus_properties

function ncine.audio_effect_properties.get_max_chorus_properties(audio_effect_properties: any)

Returns the maximum values for the chorus effect properties

get_max_compressor_properties

function ncine.audio_effect_properties.get_max_compressor_properties(audio_effect_properties: any)

Returns the maximum values for the compressor effect properties

get_max_distortion_properties

function ncine.audio_effect_properties.get_max_distortion_properties(audio_effect_properties: any)

Returns the maximum values for the distortion effect properties

get_max_eax_reverb_properties

function ncine.audio_effect_properties.get_max_eax_reverb_properties(audio_effect_properties: any)

Returns the maximum values for the EAX reverb effect properties

get_max_echo_properties

function ncine.audio_effect_properties.get_max_echo_properties(audio_effect_properties: any)

Returns the maximum values for the echo effect properties

get_max_equalizer_properties

function ncine.audio_effect_properties.get_max_equalizer_properties(audio_effect_properties: any)

Returns the maximum values for the equalizer effect properties

get_max_flanger_properties

function ncine.audio_effect_properties.get_max_flanger_properties(audio_effect_properties: any)

Returns the maximum values for the flanger effect properties

get_max_frequency_shifter_properties

function ncine.audio_effect_properties.get_max_frequency_shifter_properties(audio_effect_properties: any)

Returns the maximum values for the frequency shifter effect properties

get_max_pitch_shifter_properties

function ncine.audio_effect_properties.get_max_pitch_shifter_properties(audio_effect_properties: any)

Returns the maximum values for the pitch shifter effect properties

get_max_reverb_properties

function ncine.audio_effect_properties.get_max_reverb_properties(audio_effect_properties: any)

Returns the maximum values for the reverb effect properties

get_max_ring_modulator_properties

function ncine.audio_effect_properties.get_max_ring_modulator_properties(audio_effect_properties: any)

Returns the maximum values for the ring modulator effect properties

get_max_vocal_morpher_properties

function ncine.audio_effect_properties.get_max_vocal_morpher_properties(audio_effect_properties: any)

Returns the maximum values for the vocal morpher effect properties

get_min_auto_wah_properties

function ncine.audio_effect_properties.get_min_auto_wah_properties(audio_effect_properties: any)

Returns the minimum values for the auto wah effect properties

get_min_chorus_properties

function ncine.audio_effect_properties.get_min_chorus_properties(audio_effect_properties: any)

Returns the minimum values for the chorus effect properties

get_min_compressor_properties

function ncine.audio_effect_properties.get_min_compressor_properties(audio_effect_properties: any)

Returns the minimum values for the compressor effect properties

get_min_distortion_properties

function ncine.audio_effect_properties.get_min_distortion_properties(audio_effect_properties: any)

Returns the minimum values for the distortion effect properties

get_min_eax_reverb_properties

function ncine.audio_effect_properties.get_min_eax_reverb_properties(audio_effect_properties: any)

Returns the minimum values for the EAX reverb effect properties

get_min_echo_properties

function ncine.audio_effect_properties.get_min_echo_properties(audio_effect_properties: any)

Returns the minimum values for the echo effect properties

get_min_equalizer_properties

function ncine.audio_effect_properties.get_min_equalizer_properties(audio_effect_properties: any)

Returns the minimum values for the equalizer effect properties

get_min_flanger_properties

function ncine.audio_effect_properties.get_min_flanger_properties(audio_effect_properties: any)

Returns the minimum values for the flanger effect properties

get_min_frequency_shifter_properties

function ncine.audio_effect_properties.get_min_frequency_shifter_properties(audio_effect_properties: any)

Returns the minimum values for the frequency shifter effect properties

get_min_pitch_shifter_properties

function ncine.audio_effect_properties.get_min_pitch_shifter_properties(audio_effect_properties: any)

Returns the minimum values for the pitch shifter effect properties

get_min_reverb_properties

function ncine.audio_effect_properties.get_min_reverb_properties(audio_effect_properties: any)

Returns the minimum values for the reverb effect properties

get_min_ring_modulator_properties

function ncine.audio_effect_properties.get_min_ring_modulator_properties(audio_effect_properties: any)

Returns the minimum values for the ring modulator effect properties

get_min_vocal_morpher_properties

function ncine.audio_effect_properties.get_min_vocal_morpher_properties(audio_effect_properties: any)

Returns the minimum values for the vocal morpher effect properties

get_pitch_shifter_properties

function ncine.audio_effect_properties.get_pitch_shifter_properties(audio_effect_properties: any)

Returns the current values for the pitch shifter effect properties

get_reverb_properties

function ncine.audio_effect_properties.get_reverb_properties(audio_effect_properties: any)

Returns the current values for the reverb effect properties

get_ring_modulator_properties

function ncine.audio_effect_properties.get_ring_modulator_properties(audio_effect_properties: any)

Returns the current values for the ring modulator effect properties

get_type

function ncine.audio_effect_properties.get_type(audio_effect_properties: any)

Returns the effect properties type

get_vocal_morpher_properties

function ncine.audio_effect_properties.get_vocal_morpher_properties(audio_effect_properties: any)

Returns the current values for the vocal morpher effect properties

load_efx_reverb_preset

function ncine.audio_effect_properties.load_efx_reverb_preset(audio_effect_properties: any, preset: any)

Loads and sets the effect properties from an EFX reverb preset See: ~EFX_Presets~

new

function ncine.audio_effect_properties.new()

Constructs an audio effect properties object.

Don't forget to call @{delete} when you are done with it!

reset_auto_wah_properties

function ncine.audio_effect_properties.reset_auto_wah_properties(audio_effect_properties: any)

Resets all property values for the auto wah effect to thir default

reset_chorus_properties

function ncine.audio_effect_properties.reset_chorus_properties(audio_effect_properties: any)

Resets all property values for the chorus effect to thir default

reset_compressor_properties

function ncine.audio_effect_properties.reset_compressor_properties(audio_effect_properties: any)

Resets all property values for the compressor effect to thir default

reset_distortion_properties

function ncine.audio_effect_properties.reset_distortion_properties(audio_effect_properties: any)

Resets all property values for the distortion effect to thir default

reset_eax_reverb_properties

function ncine.audio_effect_properties.reset_eax_reverb_properties(audio_effect_properties: any)

Resets all property values for the EAX reverb effect to thir default

reset_echo_properties

function ncine.audio_effect_properties.reset_echo_properties(audio_effect_properties: any)

Resets all property values for the echo effect to thir default

reset_equalizer_properties

function ncine.audio_effect_properties.reset_equalizer_properties(audio_effect_properties: any)

Resets all property values for the equalizer effect to thir default

reset_flanger_properties

function ncine.audio_effect_properties.reset_flanger_properties(audio_effect_properties: any)

Resets all property values for the flanger effect to thir default

reset_frequency_shifter_properties

function ncine.audio_effect_properties.reset_frequency_shifter_properties(audio_effect_properties: any)

Resets all property values for the frequency shifter effect to thir default

reset_pitch_shifter_properties

function ncine.audio_effect_properties.reset_pitch_shifter_properties(audio_effect_properties: any)

Resets all property values for the pitch shifter effect to thir default

reset_reverb_properties

function ncine.audio_effect_properties.reset_reverb_properties(audio_effect_properties: any)

Resets all property values for the reverb effect to thir default

reset_ring_modulator_properties

function ncine.audio_effect_properties.reset_ring_modulator_properties(audio_effect_properties: any)

Resets all property values for the ring modulator effect to thir default

reset_vocal_morpher_properties

function ncine.audio_effect_properties.reset_vocal_morpher_properties(audio_effect_properties: any)

Resets all property values for the vocal morpher effect to thir default

set_auto_wah_properties

function ncine.audio_effect_properties.set_auto_wah_properties(audio_effect_properties: any, properties: any)

Sets all values for the auto wah effect properties

set_chorus_properties

function ncine.audio_effect_properties.set_chorus_properties(audio_effect_properties: any, properties: any)

Sets all values for the chorus effect properties

set_compressor_properties

function ncine.audio_effect_properties.set_compressor_properties(audio_effect_properties: any, properties: any)

Sets all values for the compressor effect properties

set_distortion_properties

function ncine.audio_effect_properties.set_distortion_properties(audio_effect_properties: any, properties: any)

Sets all values for the distortion effect properties

set_eax_reverb_properties

function ncine.audio_effect_properties.set_eax_reverb_properties(audio_effect_properties: any, properties: any)

Sets all values for the EAX reverb effect properties

set_echo_properties

function ncine.audio_effect_properties.set_echo_properties(audio_effect_properties: any, properties: any)

Sets all values for the echo effect properties

set_equalizer_properties

function ncine.audio_effect_properties.set_equalizer_properties(audio_effect_properties: any, properties: any)

Sets all values for the equalizer effect properties

set_flanger_properties

function ncine.audio_effect_properties.set_flanger_properties(audio_effect_properties: any, properties: any)

Sets all values for the flanger effect properties

set_frequency_shifter_properties

function ncine.audio_effect_properties.set_frequency_shifter_properties(audio_effect_properties: any, properties: any)

Sets all values for the frequency shifter effect properties

set_pitch_shifter_properties

function ncine.audio_effect_properties.set_pitch_shifter_properties(audio_effect_properties: any, properties: any)

Sets all values for the pitch shifter effect properties

set_reverb_properties

function ncine.audio_effect_properties.set_reverb_properties(audio_effect_properties: any, properties: any)

Sets all values for the reverb effect properties

set_ring_modulator_properties

function ncine.audio_effect_properties.set_ring_modulator_properties(audio_effect_properties: any, properties: any)

Sets all values for the ring modulator effect properties

set_type

function ncine.audio_effect_properties.set_type(audio_effect_properties: any, audio_effect_type: any)

Sets the effect properties type

set_vocal_morpher_properties

function ncine.audio_effect_properties.set_vocal_morpher_properties(audio_effect_properties: any, properties: any)

Sets all values for the vocal morpher effect properties


ncine.audio_effect_properties

ncine.audio_effect_properties
ncine.audio_effect_properties

ncine.audio_effect_properties.delete

function ncine.audio_effect_properties.delete(audio_effect_properties: any)
function ncine.audio_effect_properties.delete(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.delete(audio_effect_properties: any)
function ncine.audio_effect_properties.delete(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.get_auto_wah_properties

function ncine.audio_effect_properties.get_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties
function ncine.audio_effect_properties.get_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties

ncine.audio_effect_properties.get_chorus_properties

function ncine.audio_effect_properties.get_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties
function ncine.audio_effect_properties.get_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties

ncine.audio_effect_properties.get_compressor_properties

function ncine.audio_effect_properties.get_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties
function ncine.audio_effect_properties.get_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties

ncine.audio_effect_properties.get_distortion_properties

function ncine.audio_effect_properties.get_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties
function ncine.audio_effect_properties.get_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties

ncine.audio_effect_properties.get_eax_reverb_properties

function ncine.audio_effect_properties.get_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties
function ncine.audio_effect_properties.get_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties

ncine.audio_effect_properties.get_echo_properties

function ncine.audio_effect_properties.get_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties
function ncine.audio_effect_properties.get_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties

ncine.audio_effect_properties.get_equalizer_properties

function ncine.audio_effect_properties.get_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties
function ncine.audio_effect_properties.get_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties

ncine.audio_effect_properties.get_flanger_properties

function ncine.audio_effect_properties.get_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties
function ncine.audio_effect_properties.get_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties

ncine.audio_effect_properties.get_frequency_shifter_properties

function ncine.audio_effect_properties.get_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties
function ncine.audio_effect_properties.get_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties

ncine.audio_effect_properties.get_max_auto_wah_properties

function ncine.audio_effect_properties.get_max_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties
function ncine.audio_effect_properties.get_max_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties

ncine.audio_effect_properties.get_max_chorus_properties

function ncine.audio_effect_properties.get_max_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties
function ncine.audio_effect_properties.get_max_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties

ncine.audio_effect_properties.get_max_compressor_properties

function ncine.audio_effect_properties.get_max_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties
function ncine.audio_effect_properties.get_max_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties

ncine.audio_effect_properties.get_max_distortion_properties

function ncine.audio_effect_properties.get_max_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties
function ncine.audio_effect_properties.get_max_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties

ncine.audio_effect_properties.get_max_eax_reverb_properties

function ncine.audio_effect_properties.get_max_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties
function ncine.audio_effect_properties.get_max_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties

ncine.audio_effect_properties.get_max_echo_properties

function ncine.audio_effect_properties.get_max_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties
function ncine.audio_effect_properties.get_max_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties

ncine.audio_effect_properties.get_max_equalizer_properties

function ncine.audio_effect_properties.get_max_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties
function ncine.audio_effect_properties.get_max_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties

ncine.audio_effect_properties.get_max_flanger_properties

function ncine.audio_effect_properties.get_max_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties
function ncine.audio_effect_properties.get_max_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties

ncine.audio_effect_properties.get_max_frequency_shifter_properties

function ncine.audio_effect_properties.get_max_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties
function ncine.audio_effect_properties.get_max_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties

ncine.audio_effect_properties.get_max_pitch_shifter_properties

function ncine.audio_effect_properties.get_max_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties
function ncine.audio_effect_properties.get_max_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties

ncine.audio_effect_properties.get_max_reverb_properties

function ncine.audio_effect_properties.get_max_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties
function ncine.audio_effect_properties.get_max_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties

ncine.audio_effect_properties.get_max_ring_modulator_properties

function ncine.audio_effect_properties.get_max_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties
function ncine.audio_effect_properties.get_max_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties

ncine.audio_effect_properties.get_max_vocal_morpher_properties

function ncine.audio_effect_properties.get_max_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties
function ncine.audio_effect_properties.get_max_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_max_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties

ncine.audio_effect_properties.get_min_auto_wah_properties

function ncine.audio_effect_properties.get_min_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties
function ncine.audio_effect_properties.get_min_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_auto_wah_properties

ncine.audio_effect_properties.get_min_chorus_properties

function ncine.audio_effect_properties.get_min_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties
function ncine.audio_effect_properties.get_min_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_chorus_properties

ncine.audio_effect_properties.get_min_compressor_properties

function ncine.audio_effect_properties.get_min_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties
function ncine.audio_effect_properties.get_min_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_compressor_properties

ncine.audio_effect_properties.get_min_distortion_properties

function ncine.audio_effect_properties.get_min_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties
function ncine.audio_effect_properties.get_min_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_distortion_properties

ncine.audio_effect_properties.get_min_eax_reverb_properties

function ncine.audio_effect_properties.get_min_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties
function ncine.audio_effect_properties.get_min_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_eax_reverb_properties

ncine.audio_effect_properties.get_min_echo_properties

function ncine.audio_effect_properties.get_min_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties
function ncine.audio_effect_properties.get_min_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_echo_properties

ncine.audio_effect_properties.get_min_equalizer_properties

function ncine.audio_effect_properties.get_min_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties
function ncine.audio_effect_properties.get_min_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_equalizer_properties

ncine.audio_effect_properties.get_min_flanger_properties

function ncine.audio_effect_properties.get_min_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties
function ncine.audio_effect_properties.get_min_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_flanger_properties

ncine.audio_effect_properties.get_min_frequency_shifter_properties

function ncine.audio_effect_properties.get_min_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties
function ncine.audio_effect_properties.get_min_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_frequency_shifter_properties

ncine.audio_effect_properties.get_min_pitch_shifter_properties

function ncine.audio_effect_properties.get_min_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties
function ncine.audio_effect_properties.get_min_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties

ncine.audio_effect_properties.get_min_reverb_properties

function ncine.audio_effect_properties.get_min_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties
function ncine.audio_effect_properties.get_min_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties

ncine.audio_effect_properties.get_min_ring_modulator_properties

function ncine.audio_effect_properties.get_min_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties
function ncine.audio_effect_properties.get_min_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties

ncine.audio_effect_properties.get_min_vocal_morpher_properties

function ncine.audio_effect_properties.get_min_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties
function ncine.audio_effect_properties.get_min_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_min_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties

ncine.audio_effect_properties.get_pitch_shifter_properties

function ncine.audio_effect_properties.get_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties
function ncine.audio_effect_properties.get_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_pitch_shifter_properties

ncine.audio_effect_properties.get_reverb_properties

function ncine.audio_effect_properties.get_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties
function ncine.audio_effect_properties.get_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_reverb_properties

ncine.audio_effect_properties.get_ring_modulator_properties

function ncine.audio_effect_properties.get_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties
function ncine.audio_effect_properties.get_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_ring_modulator_properties

ncine.audio_effect_properties.get_type

function ncine.audio_effect_properties.get_type(audio_effect_properties: any)
function ncine.audio_effect_properties.get_type(audio_effect_properties: audioeffectpropertiesObj)
  -> ncine.audio_effect_type
function ncine.audio_effect_properties.get_type(audio_effect_properties: any)
function ncine.audio_effect_properties.get_type(audio_effect_properties: audioeffectpropertiesObj)
  -> ncine.audio_effect_type

ncine.audio_effect_properties.get_vocal_morpher_properties

function ncine.audio_effect_properties.get_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties
function ncine.audio_effect_properties.get_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.get_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
  -> audio_vocal_morpher_properties

ncine.audio_effect_properties.load_efx_reverb_preset

function ncine.audio_effect_properties.load_efx_reverb_preset(audio_effect_properties: any, preset: any)
function ncine.audio_effect_properties.load_efx_reverb_preset(audio_effect_properties: audioeffectpropertiesObj, preset: ncine.efx_reverb_presets)
function ncine.audio_effect_properties.load_efx_reverb_preset(audio_effect_properties: any, preset: any)
function ncine.audio_effect_properties.load_efx_reverb_preset(audio_effect_properties: audioeffectpropertiesObj, preset: ncine.efx_reverb_presets)

ncine.audio_effect_properties.new

function ncine.audio_effect_properties.new()
function ncine.audio_effect_properties.new()
  -> audioeffectpropertiesObj
function ncine.audio_effect_properties.new()
function ncine.audio_effect_properties.new()
  -> audioeffectpropertiesObj

ncine.audio_effect_properties.reset_auto_wah_properties

function ncine.audio_effect_properties.reset_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_auto_wah_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_chorus_properties

function ncine.audio_effect_properties.reset_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_chorus_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_chorus_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_compressor_properties

function ncine.audio_effect_properties.reset_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_compressor_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_compressor_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_distortion_properties

function ncine.audio_effect_properties.reset_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_distortion_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_distortion_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_eax_reverb_properties

function ncine.audio_effect_properties.reset_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_eax_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_echo_properties

function ncine.audio_effect_properties.reset_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_echo_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_echo_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_echo_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_equalizer_properties

function ncine.audio_effect_properties.reset_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_equalizer_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_flanger_properties

function ncine.audio_effect_properties.reset_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_flanger_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_flanger_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_frequency_shifter_properties

function ncine.audio_effect_properties.reset_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_frequency_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_pitch_shifter_properties

function ncine.audio_effect_properties.reset_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_pitch_shifter_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_reverb_properties

function ncine.audio_effect_properties.reset_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_reverb_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_reverb_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_ring_modulator_properties

function ncine.audio_effect_properties.reset_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_ring_modulator_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.reset_vocal_morpher_properties

function ncine.audio_effect_properties.reset_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)
function ncine.audio_effect_properties.reset_vocal_morpher_properties(audio_effect_properties: any)
function ncine.audio_effect_properties.reset_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj)

ncine.audio_effect_properties.set_auto_wah_properties

function ncine.audio_effect_properties.set_auto_wah_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_auto_wah_properties)
function ncine.audio_effect_properties.set_auto_wah_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_auto_wah_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_auto_wah_properties)

ncine.audio_effect_properties.set_chorus_properties

function ncine.audio_effect_properties.set_chorus_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_chorus_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_chorus_properties)
function ncine.audio_effect_properties.set_chorus_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_chorus_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_chorus_properties)

ncine.audio_effect_properties.set_compressor_properties

function ncine.audio_effect_properties.set_compressor_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_compressor_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_compressor_properties)
function ncine.audio_effect_properties.set_compressor_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_compressor_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_compressor_properties)

ncine.audio_effect_properties.set_distortion_properties

function ncine.audio_effect_properties.set_distortion_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_distortion_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_distortion_properties)
function ncine.audio_effect_properties.set_distortion_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_distortion_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_distortion_properties)

ncine.audio_effect_properties.set_eax_reverb_properties

function ncine.audio_effect_properties.set_eax_reverb_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_eax_reverb_properties)
function ncine.audio_effect_properties.set_eax_reverb_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_eax_reverb_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_eax_reverb_properties)

ncine.audio_effect_properties.set_echo_properties

function ncine.audio_effect_properties.set_echo_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_echo_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_echo_properties)
function ncine.audio_effect_properties.set_echo_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_echo_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_echo_properties)

ncine.audio_effect_properties.set_equalizer_properties

function ncine.audio_effect_properties.set_equalizer_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_equalizer_properties)
function ncine.audio_effect_properties.set_equalizer_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_equalizer_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_equalizer_properties)

ncine.audio_effect_properties.set_flanger_properties

function ncine.audio_effect_properties.set_flanger_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_flanger_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_flanger_properties)
function ncine.audio_effect_properties.set_flanger_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_flanger_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_flanger_properties)

ncine.audio_effect_properties.set_frequency_shifter_properties

function ncine.audio_effect_properties.set_frequency_shifter_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_frequency_shifter_properties)
function ncine.audio_effect_properties.set_frequency_shifter_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_frequency_shifter_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_frequency_shifter_properties)

ncine.audio_effect_properties.set_pitch_shifter_properties

function ncine.audio_effect_properties.set_pitch_shifter_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_pitch_shifter_properties)
function ncine.audio_effect_properties.set_pitch_shifter_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_pitch_shifter_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_pitch_shifter_properties)

ncine.audio_effect_properties.set_reverb_properties

function ncine.audio_effect_properties.set_reverb_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_reverb_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_reverb_properties)
function ncine.audio_effect_properties.set_reverb_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_reverb_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_reverb_properties)

ncine.audio_effect_properties.set_ring_modulator_properties

function ncine.audio_effect_properties.set_ring_modulator_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_ring_modulator_properties)
function ncine.audio_effect_properties.set_ring_modulator_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_ring_modulator_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_ring_modulator_properties)

ncine.audio_effect_properties.set_type

function ncine.audio_effect_properties.set_type(audio_effect_properties: any, audio_effect_type: any)
function ncine.audio_effect_properties.set_type(audio_effect_properties: audioeffectpropertiesObj, audio_effect_type: ncine.audio_effect_type)
function ncine.audio_effect_properties.set_type(audio_effect_properties: any, audio_effect_type: any)
function ncine.audio_effect_properties.set_type(audio_effect_properties: audioeffectpropertiesObj, audio_effect_type: ncine.audio_effect_type)

ncine.audio_effect_properties.set_vocal_morpher_properties

function ncine.audio_effect_properties.set_vocal_morpher_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_vocal_morpher_properties)
function ncine.audio_effect_properties.set_vocal_morpher_properties(audio_effect_properties: any, properties: any)
function ncine.audio_effect_properties.set_vocal_morpher_properties(audio_effect_properties: audioeffectpropertiesObj, properties: audio_vocal_morpher_properties)

ncine.audio_effect_slot

apply_effect

function ncine.audio_effect_slot.apply_effect(audio_effect_slot: any, audio_effect: any)

Applies the effect parameters from an effect object

delete

function ncine.audio_effect_slot.delete(audio_effect_slot: any)

Destroys an audio effect slot object and releases its memory

get_aux_send_auto

function ncine.audio_effect_slot.get_aux_send_auto(audio_effect_slot: any)

Returns the state of the auxilary slot send auto flag.

The property is used to enable or disable automatic send adjustments based on the physical positions of the sources and the listener.

get_effect_slot_id

function ncine.audio_effect_slot.get_effect_slot_id(audio_effect_slot: any)

Returns the OpenAL auxilary effect slot id

get_gain

function ncine.audio_effect_slot.get_gain(audio_effect_slot: any)

Returns the gain output level of the auxilary effect slot

new

function ncine.audio_effect_slot.new()

Constructs an audio effect slot object.

Don't forget to call @{delete} when you are done with it!

set_aux_send_auto

function ncine.audio_effect_slot.set_aux_send_auto(audio_effect_slot: any, aux_send_auto: any)

Sets the state of the auxilary slot send auto flag.

The property is used to enable or disable automatic send adjustments based on the physical positions of the sources and the listener.

set_gain

function ncine.audio_effect_slot.set_gain(audio_effect_slot: any, gain: any)

Sets the gain output level of the auxilary effect slot


ncine.audio_effect_slot

ncine.audio_effect_slot
ncine.audio_effect_slot

ncine.audio_effect_slot.apply_effect

function ncine.audio_effect_slot.apply_effect(audio_effect_slot: any, audio_effect: any)
function ncine.audio_effect_slot.apply_effect(audio_effect_slot: audioeffectslotObj, audio_effect: audioeffectObj)
function ncine.audio_effect_slot.apply_effect(audio_effect_slot: any, audio_effect: any)
function ncine.audio_effect_slot.apply_effect(audio_effect_slot: audioeffectslotObj, audio_effect: audioeffectObj)

ncine.audio_effect_slot.delete

function ncine.audio_effect_slot.delete(audio_effect_slot: any)
function ncine.audio_effect_slot.delete(audio_effect_slot: audioeffectslotObj)
function ncine.audio_effect_slot.delete(audio_effect_slot: any)
function ncine.audio_effect_slot.delete(audio_effect_slot: audioeffectslotObj)

ncine.audio_effect_slot.get_aux_send_auto

function ncine.audio_effect_slot.get_aux_send_auto(audio_effect_slot: any)
function ncine.audio_effect_slot.get_aux_send_auto(audio_effect_slot: audioeffectslotObj)
  -> boolean
function ncine.audio_effect_slot.get_aux_send_auto(audio_effect_slot: any)
function ncine.audio_effect_slot.get_aux_send_auto(audio_effect_slot: audioeffectslotObj)
  -> boolean

ncine.audio_effect_slot.get_effect_slot_id

function ncine.audio_effect_slot.get_effect_slot_id(audio_effect_slot: any)
function ncine.audio_effect_slot.get_effect_slot_id(audio_effect_slot: audioeffectslotObj)
  -> integer
function ncine.audio_effect_slot.get_effect_slot_id(audio_effect_slot: any)
function ncine.audio_effect_slot.get_effect_slot_id(audio_effect_slot: audioeffectslotObj)
  -> integer

ncine.audio_effect_slot.get_gain

function ncine.audio_effect_slot.get_gain(audio_effect_slot: any)
function ncine.audio_effect_slot.get_gain(audio_effect_slot: audioeffectslotObj)
  -> number
function ncine.audio_effect_slot.get_gain(audio_effect_slot: any)
function ncine.audio_effect_slot.get_gain(audio_effect_slot: audioeffectslotObj)
  -> number

ncine.audio_effect_slot.new

function ncine.audio_effect_slot.new()
function ncine.audio_effect_slot.new()
  -> audioeffectslotObj
function ncine.audio_effect_slot.new()
function ncine.audio_effect_slot.new()
  -> audioeffectslotObj

ncine.audio_effect_slot.set_aux_send_auto

function ncine.audio_effect_slot.set_aux_send_auto(audio_effect_slot: any, aux_send_auto: any)
function ncine.audio_effect_slot.set_aux_send_auto(audio_effect_slot: audioeffectslotObj, aux_send_auto: boolean)
function ncine.audio_effect_slot.set_aux_send_auto(audio_effect_slot: any, aux_send_auto: any)
function ncine.audio_effect_slot.set_aux_send_auto(audio_effect_slot: audioeffectslotObj, aux_send_auto: boolean)

ncine.audio_effect_slot.set_gain

function ncine.audio_effect_slot.set_gain(audio_effect_slot: any, gain: any)
function ncine.audio_effect_slot.set_gain(audio_effect_slot: audioeffectslotObj, gain: number)
function ncine.audio_effect_slot.set_gain(audio_effect_slot: any, gain: any)
function ncine.audio_effect_slot.set_gain(audio_effect_slot: audioeffectslotObj, gain: number)

ncine.audio_effect_type

table
enum ncine.audio_effect_type
table
enum ncine.audio_effect_type

ncine.audio_filter

apply_properties

function ncine.audio_filter.apply_properties(audio_filter: any, properties: any)

Sets the filter type and all of its properties

delete

function ncine.audio_filter.delete(audio_filter: any)

Destroys an audio filter object and releases its memory

get_default_properties

function ncine.audio_filter.get_default_properties()

Returns a table with the default filter type and properties.

The table is only returned as a reference.

get_filter_id

function ncine.audio_filter.get_filter_id(audio_filter: any)

Returns the OpenAL filter id

get_type

function ncine.audio_filter.get_type(audio_filter: any)

Returns the filter type

new

function ncine.audio_filter.new()

Constructs an audio filter object.

Don't forget to call @{delete} when you are done with it!


ncine.audio_filter

ncine.audio_filter
ncine.audio_filter

ncine.audio_filter.apply_properties

function ncine.audio_filter.apply_properties(audio_filter: any, properties: any)
function ncine.audio_filter.apply_properties(audio_filter: audiofilterObj, properties: audio_filter_properties)
function ncine.audio_filter.apply_properties(audio_filter: any, properties: any)
function ncine.audio_filter.apply_properties(audio_filter: audiofilterObj, properties: audio_filter_properties)

ncine.audio_filter.delete

function ncine.audio_filter.delete(audio_filter: any)
function ncine.audio_filter.delete(audio_filter: audiofilterObj)
function ncine.audio_filter.delete(audio_filter: any)
function ncine.audio_filter.delete(audio_filter: audiofilterObj)

ncine.audio_filter.get_default_properties

function ncine.audio_filter.get_default_properties()
function ncine.audio_filter.get_default_properties()
  -> audio_filter_properties
function ncine.audio_filter.get_default_properties()
function ncine.audio_filter.get_default_properties()
  -> audio_filter_properties

ncine.audio_filter.get_filter_id

function ncine.audio_filter.get_filter_id(audio_filter: any)
function ncine.audio_filter.get_filter_id(audio_filter: audiofilterObj)
  -> integer
function ncine.audio_filter.get_filter_id(audio_filter: any)
function ncine.audio_filter.get_filter_id(audio_filter: audiofilterObj)
  -> integer

ncine.audio_filter.get_type

function ncine.audio_filter.get_type(audio_filter: any)
function ncine.audio_filter.get_type(audio_filter: audiofilterObj)
  -> ncine.audio_filter_type
function ncine.audio_filter.get_type(audio_filter: any)
function ncine.audio_filter.get_type(audio_filter: audiofilterObj)
  -> ncine.audio_filter_type

ncine.audio_filter.new

function ncine.audio_filter.new()
function ncine.audio_filter.new()
  -> audiofilterObj
function ncine.audio_filter.new()
function ncine.audio_filter.new()
  -> audiofilterObj

ncine.audio_filter_type

table
enum ncine.audio_filter_type
table
enum ncine.audio_filter_type

ncine.audio_player

ncine.audio_player
ncine.audio_player

ncine.audio_player

buffer_id

function ncine.audio_player.buffer_id(player: any)

Returns the OpenAL id of the currently playing buffer

buffer_size

function ncine.audio_player.buffer_size(player: any)

Returns the size of the currently playing buffer in bytes

bytes_per_sample

function ncine.audio_player.bytes_per_sample(player: any)

Returns the number of bytes per sample

duration

function ncine.audio_player.duration(player: any)

Returns the duration in seconds

frequency

function ncine.audio_player.frequency(player: any)

Returns the samples frequency of the currently playing buffer

get_air_absorption_factor

function ncine.audio_player.get_air_absorption_factor(player: any)

Returns the player air absorption factor (only available with OpenAL EFX)

get_aux_filter_id

function ncine.audio_player.get_aux_filter_id(player: any)

Returns the OpenAL id of the auxiliary filter (only available with OpenAL EFX)

get_cone_inner_angle

function ncine.audio_player.get_cone_inner_angle(player: any)

Returns the player inside angle of the sound cone in degrees

get_cone_outer_angle

function ncine.audio_player.get_cone_outer_angle(player: any)

Returns the player outside angle of the sound cone in degrees

get_cone_outer_gain

function ncine.audio_player.get_cone_outer_gain(player: any)

Returns the player multiplication factor to determine the gain outside the cone

get_cone_outer_gain_hf

function ncine.audio_player.get_cone_outer_gain_hf(player: any)

Returns the player cone outer gain HF value (only available with OpenAL EFX)

get_direct_filter_id

function ncine.audio_player.get_direct_filter_id(player: any)

Returns the OpenAL id of the direct filter (only available with OpenAL EFX)

get_direction

function ncine.audio_player.get_direction(player: any)

Returns the player direction vector

get_effect_slot_id

function ncine.audio_player.get_effect_slot_id(player: any)

Returns the OpenAL id of the effect slot (only available with OpenAL EFX)

get_gain

function ncine.audio_player.get_gain(player: any)

Returns the player gain value

get_pitch

function ncine.audio_player.get_pitch(player: any)

Returns the player pitch value

get_position

function ncine.audio_player.get_position(player: any)

Returns the player position vector

get_room_rolloff_factor

function ncine.audio_player.get_room_rolloff_factor(player: any)

Returns the player room rolloff factor (only available with OpenAL EFX)

get_sample_offset

function ncine.audio_player.get_sample_offset(player: any)

Returns the size of the currently playing buffer in bytes

get_velocity

function ncine.audio_player.get_velocity(player: any)

Returns the player velocity vector

has_aux_filter

function ncine.audio_player.has_aux_filter(player: any)

Returns true if a valid OpenAL auxiliary filter is currently assigned to the player (only available with OpenAL EFX)

has_direct_filter

function ncine.audio_player.has_direct_filter(player: any)

Returns true if a valid OpenAL direct filter is currently assigned to the player (only available with OpenAL EFX)

has_effect_slot

function ncine.audio_player.has_effect_slot(player: any)

Returns true if a valid OpenAL effect slot is currently assigned to the player (only available with OpenAL EFX)

has_source

function ncine.audio_player.has_source(player: any)

Returns true if a valid OpenAL source is currently assigned to the player

is_looping

function ncine.audio_player.is_looping(player: any)

Returns the looping property of the player

is_paused

function ncine.audio_player.is_paused(player: any)

Returns true if the player is paused

is_playing

function ncine.audio_player.is_playing(player: any)

Returns true if the player is playing

is_source_locked

function ncine.audio_player.is_source_locked(player: any)

Returns true if the OpenAL source is locked

is_stopped

function ncine.audio_player.is_stopped(player: any)

Returns true if the player is stopped

num_channels

function ncine.audio_player.num_channels(player: any)

Returns the number of audio channels of the currently playing buffer

num_samples

function ncine.audio_player.num_samples(player: any)

Returns the number of samples

pause

function ncine.audio_player.pause(player: any)

Pauses playing

play

function ncine.audio_player.play(player: any)

Starts playing

set_air_absorption_factor

function ncine.audio_player.set_air_absorption_factor(player: any, factor: any)

Sets the player air absorption factor (only available with OpenAL EFX)

set_cone_inner_angle

function ncine.audio_player.set_cone_inner_angle(player: any, angle: any)

Sets the player inside angle of the sound cone in degrees

set_cone_outer_angle

function ncine.audio_player.set_cone_outer_angle(player: any, angle: any)

Sets the player outside angle of the sound cone in degrees

set_cone_outer_gain

function ncine.audio_player.set_cone_outer_gain(player: any, gain: any)

Sets the player multiplication factor to determine the gain outside the cone

set_cone_outer_gain_hf

function ncine.audio_player.set_cone_outer_gain_hf(player: any, gain: any)

Sets the player cone outer gain HF value (only available with OpenAL EFX)

set_direct_filter

function ncine.audio_player.set_direct_filter(player: any, audio_filter: any)

Sets or removes the filter parameters from a filter object to the direct signal (only available with OpenAL EFX)

set_direction

function ncine.audio_player.set_direction(player: any, direction: any)

Sets the player direction vector

set_effect_slot

function ncine.audio_player.set_effect_slot(player: any, audio_effect_slot: any, audio_filter: any)

Sets or removes an affect slot, with an optional auxiliary filter, to the player (only available with OpenAL EFX)

set_gain

function ncine.audio_player.set_gain(player: any, gain: any)

Sets the player gain value

set_looping

function ncine.audio_player.set_looping(player: any, looping: any)

Sets the looping property of the player

set_pitch

function ncine.audio_player.set_pitch(player: any, pitch: any)

Sets the player pitch value

set_position

function ncine.audio_player.set_position(player: any, position: any)

Sets the player position vector

set_room_rolloff_factor

function ncine.audio_player.set_room_rolloff_factor(player: any, factor: any)

Sets the player room rolloff factor (only available with OpenAL EFX)

set_sample_offset

function ncine.audio_player.set_sample_offset(player: any, offset: any)

Returns the size of the currently playing buffer in bytes

set_source_locked

function ncine.audio_player.set_source_locked(player: any, locked: any)

Locks an OpenAL source so it is not released to the pool when the player stops

set_velocity

function ncine.audio_player.set_velocity(player: any, velocity: any)

Sets the player velocity vector

source_id

function ncine.audio_player.source_id(player: any)

Returns the OpenAL id of the player source

stop

function ncine.audio_player.stop(player: any)

Stops playing and rewinds


ncine.audio_player.buffer_id

function ncine.audio_player.buffer_id(player: any)
function ncine.audio_player.buffer_id(player: audioplayerObj)
  -> integer
function ncine.audio_player.buffer_id(player: any)
function ncine.audio_player.buffer_id(player: audioplayerObj)
  -> integer

ncine.audio_player.buffer_size

function ncine.audio_player.buffer_size(player: any)
function ncine.audio_player.buffer_size(player: audioplayerObj)
  -> integer
function ncine.audio_player.buffer_size(player: any)
function ncine.audio_player.buffer_size(player: audioplayerObj)
  -> integer

ncine.audio_player.bytes_per_sample

function ncine.audio_player.bytes_per_sample(player: any)
function ncine.audio_player.bytes_per_sample(player: audioplayerObj)
  -> integer
function ncine.audio_player.bytes_per_sample(player: any)
function ncine.audio_player.bytes_per_sample(player: audioplayerObj)
  -> integer

ncine.audio_player.duration

function ncine.audio_player.duration(player: any)
function ncine.audio_player.duration(player: audioplayerObj)
  -> number
function ncine.audio_player.duration(player: any)
function ncine.audio_player.duration(player: audioplayerObj)
  -> number

ncine.audio_player.frequency

function ncine.audio_player.frequency(player: any)
function ncine.audio_player.frequency(player: audioplayerObj)
  -> integer
function ncine.audio_player.frequency(player: any)
function ncine.audio_player.frequency(player: audioplayerObj)
  -> integer

ncine.audio_player.get_air_absorption_factor

function ncine.audio_player.get_air_absorption_factor(player: any)
function ncine.audio_player.get_air_absorption_factor(player: audioplayerObj)
  -> number
function ncine.audio_player.get_air_absorption_factor(player: any)
function ncine.audio_player.get_air_absorption_factor(player: audioplayerObj)
  -> number

ncine.audio_player.get_aux_filter_id

function ncine.audio_player.get_aux_filter_id(player: any)
function ncine.audio_player.get_aux_filter_id(player: audioplayerObj)
  -> integer
function ncine.audio_player.get_aux_filter_id(player: any)
function ncine.audio_player.get_aux_filter_id(player: audioplayerObj)
  -> integer

ncine.audio_player.get_cone_inner_angle

function ncine.audio_player.get_cone_inner_angle(player: any)
function ncine.audio_player.get_cone_inner_angle(player: audioplayerObj)
  -> number
function ncine.audio_player.get_cone_inner_angle(player: any)
function ncine.audio_player.get_cone_inner_angle(player: audioplayerObj)
  -> number

ncine.audio_player.get_cone_outer_angle

function ncine.audio_player.get_cone_outer_angle(player: any)
function ncine.audio_player.get_cone_outer_angle(player: audioplayerObj)
  -> number
function ncine.audio_player.get_cone_outer_angle(player: any)
function ncine.audio_player.get_cone_outer_angle(player: audioplayerObj)
  -> number

ncine.audio_player.get_cone_outer_gain

function ncine.audio_player.get_cone_outer_gain(player: any)
function ncine.audio_player.get_cone_outer_gain(player: audioplayerObj)
  -> number
function ncine.audio_player.get_cone_outer_gain(player: any)
function ncine.audio_player.get_cone_outer_gain(player: audioplayerObj)
  -> number

ncine.audio_player.get_cone_outer_gain_hf

function ncine.audio_player.get_cone_outer_gain_hf(player: any)
function ncine.audio_player.get_cone_outer_gain_hf(player: audioplayerObj)
  -> number
function ncine.audio_player.get_cone_outer_gain_hf(player: any)
function ncine.audio_player.get_cone_outer_gain_hf(player: audioplayerObj)
  -> number

ncine.audio_player.get_direct_filter_id

function ncine.audio_player.get_direct_filter_id(player: any)
function ncine.audio_player.get_direct_filter_id(player: audioplayerObj)
  -> integer
function ncine.audio_player.get_direct_filter_id(player: any)
function ncine.audio_player.get_direct_filter_id(player: audioplayerObj)
  -> integer

ncine.audio_player.get_direction

function ncine.audio_player.get_direction(player: any)
function ncine.audio_player.get_direction(player: audioplayerObj)
  -> ncine.vec3
function ncine.audio_player.get_direction(player: any)
function ncine.audio_player.get_direction(player: audioplayerObj)
  -> ncine.vec3

ncine.audio_player.get_effect_slot_id

function ncine.audio_player.get_effect_slot_id(player: any)
function ncine.audio_player.get_effect_slot_id(player: audioplayerObj)
  -> integer
function ncine.audio_player.get_effect_slot_id(player: any)
function ncine.audio_player.get_effect_slot_id(player: audioplayerObj)
  -> integer

ncine.audio_player.get_gain

function ncine.audio_player.get_gain(player: any)
function ncine.audio_player.get_gain(player: audioplayerObj)
  -> number
function ncine.audio_player.get_gain(player: any)
function ncine.audio_player.get_gain(player: audioplayerObj)
  -> number

ncine.audio_player.get_pitch

function ncine.audio_player.get_pitch(player: any)
function ncine.audio_player.get_pitch(player: audioplayerObj)
  -> number
function ncine.audio_player.get_pitch(player: any)
function ncine.audio_player.get_pitch(player: audioplayerObj)
  -> number

ncine.audio_player.get_position

function ncine.audio_player.get_position(player: any)
function ncine.audio_player.get_position(player: audioplayerObj)
  -> ncine.vec3
function ncine.audio_player.get_position(player: any)
function ncine.audio_player.get_position(player: audioplayerObj)
  -> ncine.vec3

ncine.audio_player.get_room_rolloff_factor

function ncine.audio_player.get_room_rolloff_factor(player: any)
function ncine.audio_player.get_room_rolloff_factor(player: audioplayerObj)
  -> number
function ncine.audio_player.get_room_rolloff_factor(player: any)
function ncine.audio_player.get_room_rolloff_factor(player: audioplayerObj)
  -> number

ncine.audio_player.get_sample_offset

function ncine.audio_player.get_sample_offset(player: any)
function ncine.audio_player.get_sample_offset(player: audioplayerObj)
  -> integer
function ncine.audio_player.get_sample_offset(player: any)
function ncine.audio_player.get_sample_offset(player: audioplayerObj)
  -> integer

ncine.audio_player.get_velocity

function ncine.audio_player.get_velocity(player: any)
function ncine.audio_player.get_velocity(player: audioplayerObj)
  -> ncine.vec3
function ncine.audio_player.get_velocity(player: any)
function ncine.audio_player.get_velocity(player: audioplayerObj)
  -> ncine.vec3

ncine.audio_player.has_aux_filter

function ncine.audio_player.has_aux_filter(player: any)
function ncine.audio_player.has_aux_filter(player: audioplayerObj)
  -> boolean
function ncine.audio_player.has_aux_filter(player: any)
function ncine.audio_player.has_aux_filter(player: audioplayerObj)
  -> boolean

ncine.audio_player.has_direct_filter

function ncine.audio_player.has_direct_filter(player: any)
function ncine.audio_player.has_direct_filter(player: audioplayerObj)
  -> boolean
function ncine.audio_player.has_direct_filter(player: any)
function ncine.audio_player.has_direct_filter(player: audioplayerObj)
  -> boolean

ncine.audio_player.has_effect_slot

function ncine.audio_player.has_effect_slot(player: any)
function ncine.audio_player.has_effect_slot(player: audioplayerObj)
  -> boolean
function ncine.audio_player.has_effect_slot(player: any)
function ncine.audio_player.has_effect_slot(player: audioplayerObj)
  -> boolean

ncine.audio_player.has_source

function ncine.audio_player.has_source(player: any)
function ncine.audio_player.has_source(player: audioplayerObj)
  -> boolean
function ncine.audio_player.has_source(player: any)
function ncine.audio_player.has_source(player: audioplayerObj)
  -> boolean

ncine.audio_player.is_looping

function ncine.audio_player.is_looping(player: any)
function ncine.audio_player.is_looping(player: audioplayerObj)
  -> boolean
function ncine.audio_player.is_looping(player: any)
function ncine.audio_player.is_looping(player: audioplayerObj)
  -> boolean

ncine.audio_player.is_paused

function ncine.audio_player.is_paused(player: any)
function ncine.audio_player.is_paused(player: audioplayerObj)
  -> boolean
function ncine.audio_player.is_paused(player: any)
function ncine.audio_player.is_paused(player: audioplayerObj)
  -> boolean

ncine.audio_player.is_playing

function ncine.audio_player.is_playing(player: any)
function ncine.audio_player.is_playing(player: audioplayerObj)
  -> boolean
function ncine.audio_player.is_playing(player: any)
function ncine.audio_player.is_playing(player: audioplayerObj)
  -> boolean

ncine.audio_player.is_source_locked

function ncine.audio_player.is_source_locked(player: any)
function ncine.audio_player.is_source_locked(player: audioplayerObj)
  -> boolean
function ncine.audio_player.is_source_locked(player: any)
function ncine.audio_player.is_source_locked(player: audioplayerObj)
  -> boolean

ncine.audio_player.is_stopped

function ncine.audio_player.is_stopped(player: any)
function ncine.audio_player.is_stopped(player: audioplayerObj)
  -> boolean
function ncine.audio_player.is_stopped(player: any)
function ncine.audio_player.is_stopped(player: audioplayerObj)
  -> boolean

ncine.audio_player.num_channels

function ncine.audio_player.num_channels(player: any)
function ncine.audio_player.num_channels(player: audioplayerObj)
  -> integer
function ncine.audio_player.num_channels(player: any)
function ncine.audio_player.num_channels(player: audioplayerObj)
  -> integer

ncine.audio_player.num_samples

function ncine.audio_player.num_samples(player: any)
function ncine.audio_player.num_samples(player: audioplayerObj)
  -> integer
function ncine.audio_player.num_samples(player: any)
function ncine.audio_player.num_samples(player: audioplayerObj)
  -> integer

ncine.audio_player.pause

function ncine.audio_player.pause(player: any)
function ncine.audio_player.pause(player: audioplayerObj)
function ncine.audio_player.pause(player: any)
function ncine.audio_player.pause(player: audioplayerObj)

ncine.audio_player.play

function ncine.audio_player.play(player: any)
function ncine.audio_player.play(player: audioplayerObj)
function ncine.audio_player.play(player: any)
function ncine.audio_player.play(player: audioplayerObj)

ncine.audio_player.set_air_absorption_factor

function ncine.audio_player.set_air_absorption_factor(player: any, factor: any)
function ncine.audio_player.set_air_absorption_factor(player: audioplayerObj, factor: number)
function ncine.audio_player.set_air_absorption_factor(player: any, factor: any)
function ncine.audio_player.set_air_absorption_factor(player: audioplayerObj, factor: number)

ncine.audio_player.set_cone_inner_angle

function ncine.audio_player.set_cone_inner_angle(player: any, angle: any)
function ncine.audio_player.set_cone_inner_angle(player: audioplayerObj, angle: number)
function ncine.audio_player.set_cone_inner_angle(player: any, angle: any)
function ncine.audio_player.set_cone_inner_angle(player: audioplayerObj, angle: number)

ncine.audio_player.set_cone_outer_angle

function ncine.audio_player.set_cone_outer_angle(player: any, angle: any)
function ncine.audio_player.set_cone_outer_angle(player: audioplayerObj, angle: number)
function ncine.audio_player.set_cone_outer_angle(player: any, angle: any)
function ncine.audio_player.set_cone_outer_angle(player: audioplayerObj, angle: number)

ncine.audio_player.set_cone_outer_gain

function ncine.audio_player.set_cone_outer_gain(player: any, gain: any)
function ncine.audio_player.set_cone_outer_gain(player: audioplayerObj, gain: number)
function ncine.audio_player.set_cone_outer_gain(player: any, gain: any)
function ncine.audio_player.set_cone_outer_gain(player: audioplayerObj, gain: number)

ncine.audio_player.set_cone_outer_gain_hf

function ncine.audio_player.set_cone_outer_gain_hf(player: any, gain: any)
function ncine.audio_player.set_cone_outer_gain_hf(player: audioplayerObj, gain: number)
function ncine.audio_player.set_cone_outer_gain_hf(player: any, gain: any)
function ncine.audio_player.set_cone_outer_gain_hf(player: audioplayerObj, gain: number)

ncine.audio_player.set_direct_filter

function ncine.audio_player.set_direct_filter(player: any, audio_filter: any)
function ncine.audio_player.set_direct_filter(player: audioplayerObj, audio_filter?: audiofilterObj)
function ncine.audio_player.set_direct_filter(player: any, audio_filter: any)
function ncine.audio_player.set_direct_filter(player: audioplayerObj, audio_filter?: audiofilterObj)

ncine.audio_player.set_direction

function ncine.audio_player.set_direction(player: any, direction: any)
function ncine.audio_player.set_direction(player: any, direction_x: any, direction_y: any, direction_z: any)
function ncine.audio_player.set_direction(player: audioplayerObj, direction: ncine.vec3)
function ncine.audio_player.set_direction(player: audioplayerObj, direction_x: number, direction_y: number, direction_z: number)
function ncine.audio_player.set_direction(player: any, direction: any)
function ncine.audio_player.set_direction(player: any, direction_x: any, direction_y: any, direction_z: any)
function ncine.audio_player.set_direction(player: audioplayerObj, direction: ncine.vec3)
function ncine.audio_player.set_direction(player: audioplayerObj, direction_x: number, direction_y: number, direction_z: number)

ncine.audio_player.set_effect_slot

function ncine.audio_player.set_effect_slot(player: any, audio_effect_slot: any, audio_filter: any)
function ncine.audio_player.set_effect_slot(player: audioplayerObj, audio_effect_slot?: audioeffectslotObj, audio_filter?: audiofilterObj)
function ncine.audio_player.set_effect_slot(player: any, audio_effect_slot: any, audio_filter: any)
function ncine.audio_player.set_effect_slot(player: audioplayerObj, audio_effect_slot?: audioeffectslotObj, audio_filter?: audiofilterObj)

ncine.audio_player.set_gain

function ncine.audio_player.set_gain(player: any, gain: any)
function ncine.audio_player.set_gain(player: audioplayerObj, gain: number)
function ncine.audio_player.set_gain(player: any, gain: any)
function ncine.audio_player.set_gain(player: audioplayerObj, gain: number)

ncine.audio_player.set_looping

function ncine.audio_player.set_looping(player: any, looping: any)
function ncine.audio_player.set_looping(player: audioplayerObj, looping: boolean)
function ncine.audio_player.set_looping(player: any, looping: any)
function ncine.audio_player.set_looping(player: audioplayerObj, looping: boolean)

ncine.audio_player.set_pitch

function ncine.audio_player.set_pitch(player: any, pitch: any)
function ncine.audio_player.set_pitch(player: audioplayerObj, pitch: number)
function ncine.audio_player.set_pitch(player: any, pitch: any)
function ncine.audio_player.set_pitch(player: audioplayerObj, pitch: number)

ncine.audio_player.set_position

function ncine.audio_player.set_position(player: any, position: any)
function ncine.audio_player.set_position(player: any, position_x: any, position_y: any, position_z: any)
function ncine.audio_player.set_position(player: audioplayerObj, position: ncine.vec3)
function ncine.audio_player.set_position(player: audioplayerObj, position_x: number, position_y: number, position_z: number)
function ncine.audio_player.set_position(player: any, position: any)
function ncine.audio_player.set_position(player: any, position_x: any, position_y: any, position_z: any)
function ncine.audio_player.set_position(player: audioplayerObj, position: ncine.vec3)
function ncine.audio_player.set_position(player: audioplayerObj, position_x: number, position_y: number, position_z: number)

ncine.audio_player.set_room_rolloff_factor

function ncine.audio_player.set_room_rolloff_factor(player: any, factor: any)
function ncine.audio_player.set_room_rolloff_factor(player: audioplayerObj, factor: number)
function ncine.audio_player.set_room_rolloff_factor(player: any, factor: any)
function ncine.audio_player.set_room_rolloff_factor(player: audioplayerObj, factor: number)

ncine.audio_player.set_sample_offset

function ncine.audio_player.set_sample_offset(player: any, offset: any)
function ncine.audio_player.set_sample_offset(player: audioplayerObj, offset: integer)
function ncine.audio_player.set_sample_offset(player: any, offset: any)
function ncine.audio_player.set_sample_offset(player: audioplayerObj, offset: integer)

ncine.audio_player.set_source_locked

function ncine.audio_player.set_source_locked(player: any, locked: any)
function ncine.audio_player.set_source_locked(player: audioplayerObj, locked: boolean)
function ncine.audio_player.set_source_locked(player: any, locked: any)
function ncine.audio_player.set_source_locked(player: audioplayerObj, locked: boolean)

ncine.audio_player.set_velocity

function ncine.audio_player.set_velocity(player: any, velocity: any)
function ncine.audio_player.set_velocity(player: any, velocity_x: any, velocity_y: any, velocity_z: any)
function ncine.audio_player.set_velocity(player: audioplayerObj, velocity: ncine.vec3)
function ncine.audio_player.set_velocity(player: audioplayerObj, velocity_x: number, velocity_y: number, velocity_z: number)
function ncine.audio_player.set_velocity(player: any, velocity: any)
function ncine.audio_player.set_velocity(player: any, velocity_x: any, velocity_y: any, velocity_z: any)
function ncine.audio_player.set_velocity(player: audioplayerObj, velocity: ncine.vec3)
function ncine.audio_player.set_velocity(player: audioplayerObj, velocity_x: number, velocity_y: number, velocity_z: number)

ncine.audio_player.source_id

function ncine.audio_player.source_id(player: any)
function ncine.audio_player.source_id(player: audioplayerObj)
  -> integer
function ncine.audio_player.source_id(player: any)
function ncine.audio_player.source_id(player: audioplayerObj)
  -> integer

ncine.audio_player.stop

function ncine.audio_player.stop(player: any)
function ncine.audio_player.stop(player: audioplayerObj)
function ncine.audio_player.stop(player: any)
function ncine.audio_player.stop(player: audioplayerObj)

ncine.audio_stream_player

buffer_id

function ncine.audio_player.buffer_id(player: any)

Returns the OpenAL id of the currently playing buffer

buffer_size

function ncine.audio_player.buffer_size(player: any)

Returns the size of the currently playing buffer in bytes

bytes_per_sample

function ncine.audio_player.bytes_per_sample(player: any)

Returns the number of bytes per sample

delete

function ncine.audio_stream_player.delete(player: any)

Destroys an audio stream player object and releases its memory

duration

function ncine.audio_player.duration(player: any)

Returns the duration in seconds

frequency

function ncine.audio_player.frequency(player: any)

Returns the samples frequency of the currently playing buffer

get_air_absorption_factor

function ncine.audio_player.get_air_absorption_factor(player: any)

Returns the player air absorption factor (only available with OpenAL EFX)

get_aux_filter_id

function ncine.audio_player.get_aux_filter_id(player: any)

Returns the OpenAL id of the auxiliary filter (only available with OpenAL EFX)

get_cone_inner_angle

function ncine.audio_player.get_cone_inner_angle(player: any)

Returns the player inside angle of the sound cone in degrees

get_cone_outer_angle

function ncine.audio_player.get_cone_outer_angle(player: any)

Returns the player outside angle of the sound cone in degrees

get_cone_outer_gain

function ncine.audio_player.get_cone_outer_gain(player: any)

Returns the player multiplication factor to determine the gain outside the cone

get_cone_outer_gain_hf

function ncine.audio_player.get_cone_outer_gain_hf(player: any)

Returns the player cone outer gain HF value (only available with OpenAL EFX)

get_direct_filter_id

function ncine.audio_player.get_direct_filter_id(player: any)

Returns the OpenAL id of the direct filter (only available with OpenAL EFX)

get_direction

function ncine.audio_player.get_direction(player: any)

Returns the player direction vector

get_effect_slot_id

function ncine.audio_player.get_effect_slot_id(player: any)

Returns the OpenAL id of the effect slot (only available with OpenAL EFX)

get_gain

function ncine.audio_player.get_gain(player: any)

Returns the player gain value

get_pitch

function ncine.audio_player.get_pitch(player: any)

Returns the player pitch value

get_position

function ncine.audio_player.get_position(player: any)

Returns the player position vector

get_room_rolloff_factor

function ncine.audio_player.get_room_rolloff_factor(player: any)

Returns the player room rolloff factor (only available with OpenAL EFX)

get_sample_offset

function ncine.audio_player.get_sample_offset(player: any)

Returns the size of the currently playing buffer in bytes

get_velocity

function ncine.audio_player.get_velocity(player: any)

Returns the player velocity vector

has_aux_filter

function ncine.audio_player.has_aux_filter(player: any)

Returns true if a valid OpenAL auxiliary filter is currently assigned to the player (only available with OpenAL EFX)

has_direct_filter

function ncine.audio_player.has_direct_filter(player: any)

Returns true if a valid OpenAL direct filter is currently assigned to the player (only available with OpenAL EFX)

has_effect_slot

function ncine.audio_player.has_effect_slot(player: any)

Returns true if a valid OpenAL effect slot is currently assigned to the player (only available with OpenAL EFX)

has_source

function ncine.audio_player.has_source(player: any)

Returns true if a valid OpenAL source is currently assigned to the player

is_looping

function ncine.audio_player.is_looping(player: any)

Returns the looping property of the player

is_paused

function ncine.audio_player.is_paused(player: any)

Returns true if the player is paused

is_playing

function ncine.audio_player.is_playing(player: any)

Returns true if the player is playing

is_source_locked

function ncine.audio_player.is_source_locked(player: any)

Returns true if the OpenAL source is locked

is_stopped

function ncine.audio_player.is_stopped(player: any)

Returns true if the player is stopped

new

function ncine.audio_stream_player.new(filename: any)

Constructs an audio stream player object from an audio file.

Don't forget to call @{delete} when you are done with it!

num_channels

function ncine.audio_player.num_channels(player: any)

Returns the number of audio channels of the currently playing buffer

num_samples

function ncine.audio_player.num_samples(player: any)

Returns the number of samples

num_samples_in_stream_buffer

function ncine.audio_stream_player.num_samples_in_stream_buffer(player: any)

Returns the number of samples in the streaming buffer

pause

function ncine.audio_player.pause(player: any)

Pauses playing

play

function ncine.audio_player.play(player: any)

Starts playing

sample_offset_in_stream

function ncine.audio_stream_player.sample_offset_in_stream(player: any)

Returns the sample offset relative to the whole stream

set_air_absorption_factor

function ncine.audio_player.set_air_absorption_factor(player: any, factor: any)

Sets the player air absorption factor (only available with OpenAL EFX)

set_cone_inner_angle

function ncine.audio_player.set_cone_inner_angle(player: any, angle: any)

Sets the player inside angle of the sound cone in degrees

set_cone_outer_angle

function ncine.audio_player.set_cone_outer_angle(player: any, angle: any)

Sets the player outside angle of the sound cone in degrees

set_cone_outer_gain

function ncine.audio_player.set_cone_outer_gain(player: any, gain: any)

Sets the player multiplication factor to determine the gain outside the cone

set_cone_outer_gain_hf

function ncine.audio_player.set_cone_outer_gain_hf(player: any, gain: any)

Sets the player cone outer gain HF value (only available with OpenAL EFX)

set_direct_filter

function ncine.audio_player.set_direct_filter(player: any, audio_filter: any)

Sets or removes the filter parameters from a filter object to the direct signal (only available with OpenAL EFX)

set_direction

function ncine.audio_player.set_direction(player: any, direction: any)

Sets the player direction vector

set_effect_slot

function ncine.audio_player.set_effect_slot(player: any, audio_effect_slot: any, audio_filter: any)

Sets or removes an affect slot, with an optional auxiliary filter, to the player (only available with OpenAL EFX)

set_gain

function ncine.audio_player.set_gain(player: any, gain: any)

Sets the player gain value

set_looping

function ncine.audio_player.set_looping(player: any, looping: any)

Sets the looping property of the player

set_pitch

function ncine.audio_player.set_pitch(player: any, pitch: any)

Sets the player pitch value

set_position

function ncine.audio_player.set_position(player: any, position: any)

Sets the player position vector

set_room_rolloff_factor

function ncine.audio_player.set_room_rolloff_factor(player: any, factor: any)

Sets the player room rolloff factor (only available with OpenAL EFX)

set_sample_offset

function ncine.audio_player.set_sample_offset(player: any, offset: any)

Returns the size of the currently playing buffer in bytes

set_source_locked

function ncine.audio_player.set_source_locked(player: any, locked: any)

Locks an OpenAL source so it is not released to the pool when the player stops

set_velocity

function ncine.audio_player.set_velocity(player: any, velocity: any)

Sets the player velocity vector

source_id

function ncine.audio_player.source_id(player: any)

Returns the OpenAL id of the player source

stop

function ncine.audio_player.stop(player: any)

Stops playing and rewinds

stream_buffer_size

function ncine.audio_stream_player.stream_buffer_size(player: any)

Returns the size of the streaming buffer in bytes


ncine.audio_stream_player

ncine.audio_stream_player
ncine.audio_stream_player

ncine.audio_stream_player.delete

function ncine.audio_stream_player.delete(player: any)
function ncine.audio_stream_player.delete(player: audiostreamplayerObj)
function ncine.audio_stream_player.delete(player: any)
function ncine.audio_stream_player.delete(player: audiostreamplayerObj)

ncine.audio_stream_player.new

function ncine.audio_stream_player.new(filename: any)
function ncine.audio_stream_player.new(filename: string)
  -> audiostreamplayerObj
function ncine.audio_stream_player.new(filename: any)
function ncine.audio_stream_player.new(filename: string)
  -> audiostreamplayerObj

ncine.audio_stream_player.num_samples_in_stream_buffer

function ncine.audio_stream_player.num_samples_in_stream_buffer(player: any)
function ncine.audio_stream_player.num_samples_in_stream_buffer(player: audiostreamplayerObj)
  -> integer
function ncine.audio_stream_player.num_samples_in_stream_buffer(player: any)
function ncine.audio_stream_player.num_samples_in_stream_buffer(player: audiostreamplayerObj)
  -> integer

ncine.audio_stream_player.sample_offset_in_stream

function ncine.audio_stream_player.sample_offset_in_stream(player: any)
function ncine.audio_stream_player.sample_offset_in_stream(player: audiostreamplayerObj)
  -> integer
function ncine.audio_stream_player.sample_offset_in_stream(player: any)
function ncine.audio_stream_player.sample_offset_in_stream(player: audiostreamplayerObj)
  -> integer

ncine.audio_stream_player.stream_buffer_size

function ncine.audio_stream_player.stream_buffer_size(player: any)
function ncine.audio_stream_player.stream_buffer_size(player: audiostreamplayerObj)
  -> integer
function ncine.audio_stream_player.stream_buffer_size(player: any)
function ncine.audio_stream_player.stream_buffer_size(player: audiostreamplayerObj)
  -> integer

ncine.base_sprite

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_height

function ncine.drawable_node.get_height(node: any)

Returns the height of the node area

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_texrect

function ncine.base_sprite.get_texrect(sprite: any)

Returns the texture source rectangle for blitting

get_texture

function ncine.base_sprite.get_texture(sprite: any)

Returns the texture object

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.drawable_node.get_width(node: any)

Returns the width of the node area

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

is_flipped_x

function ncine.base_sprite.is_flipped_x(sprite: any)

Returns true if the sprite texture is horizontally flipped

is_flipped_y

function ncine.base_sprite.is_flipped_y(sprite: any)

Returns true if the sprite texture is vertically flipped

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

reset_texture

function ncine.base_sprite.reset_texture(sprite: any)

Triggers a texture update without setting a new texture

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_flipped_x

function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)

Flips the texture rect horizontally

set_flipped_y

function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)

Flips the texture rect vertically

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_size

function ncine.base_sprite.set_size(sprite: any, width: any, height: any)

Sets the sprite size

set_texrect

function ncine.base_sprite.set_texrect(sprite: any, rect: any)

Sets the texture source rectangle for blitting

set_texture

function ncine.base_sprite.set_texture(sprite: any, texture: any)

Sets the texture object

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.base_sprite

ncine.base_sprite
ncine.base_sprite

ncine.base_sprite.get_texrect

function ncine.base_sprite.get_texrect(sprite: any)
function ncine.base_sprite.get_texrect(sprite: basespriteObj)
  -> ncine.rect
function ncine.base_sprite.get_texrect(sprite: any)
function ncine.base_sprite.get_texrect(sprite: basespriteObj)
  -> ncine.rect

ncine.base_sprite.get_texture

function ncine.base_sprite.get_texture(sprite: any)
function ncine.base_sprite.get_texture(sprite: basespriteObj)
  -> textureObj?
function ncine.base_sprite.get_texture(sprite: any)
function ncine.base_sprite.get_texture(sprite: basespriteObj)
  -> textureObj?

ncine.base_sprite.is_flipped_x

function ncine.base_sprite.is_flipped_x(sprite: any)
function ncine.base_sprite.is_flipped_x(sprite: basespriteObj)
  -> boolean
function ncine.base_sprite.is_flipped_x(sprite: any)
function ncine.base_sprite.is_flipped_x(sprite: basespriteObj)
  -> boolean

ncine.base_sprite.is_flipped_y

function ncine.base_sprite.is_flipped_y(sprite: any)
function ncine.base_sprite.is_flipped_y(sprite: basespriteObj)
  -> boolean
function ncine.base_sprite.is_flipped_y(sprite: any)
function ncine.base_sprite.is_flipped_y(sprite: basespriteObj)
  -> boolean

ncine.base_sprite.reset_texture

function ncine.base_sprite.reset_texture(sprite: any)
function ncine.base_sprite.reset_texture(sprite: basespriteObj)
function ncine.base_sprite.reset_texture(sprite: any)
function ncine.base_sprite.reset_texture(sprite: basespriteObj)

ncine.base_sprite.set_flipped_x

function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)
function ncine.base_sprite.set_flipped_x(sprite: basespriteObj, flipped_x: boolean)
function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)
function ncine.base_sprite.set_flipped_x(sprite: basespriteObj, flipped_x: boolean)

ncine.base_sprite.set_flipped_y

function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)
function ncine.base_sprite.set_flipped_y(sprite: basespriteObj, flipped_y: boolean)
function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)
function ncine.base_sprite.set_flipped_y(sprite: basespriteObj, flipped_y: boolean)

ncine.base_sprite.set_size

function ncine.base_sprite.set_size(sprite: any, width: any, height: any)
function ncine.base_sprite.set_size(sprite: basespriteObj, width: number, height: number)
function ncine.base_sprite.set_size(sprite: any, width: any, height: any)
function ncine.base_sprite.set_size(sprite: basespriteObj, width: number, height: number)

ncine.base_sprite.set_texrect

function ncine.base_sprite.set_texrect(sprite: any, rect: any)
function ncine.base_sprite.set_texrect(sprite: basespriteObj, rect: ncine.rect)
function ncine.base_sprite.set_texrect(sprite: any, rect: any)
function ncine.base_sprite.set_texrect(sprite: basespriteObj, rect: ncine.rect)

ncine.base_sprite.set_texture

function ncine.base_sprite.set_texture(sprite: any, texture: any)
function ncine.base_sprite.set_texture(sprite: basespriteObj, texture?: textureObj)
function ncine.base_sprite.set_texture(sprite: any, texture: any)
function ncine.base_sprite.set_texture(sprite: basespriteObj, texture?: textureObj)

ncine.blending_factor

table
enum ncine.blending_factor
table
enum ncine.blending_factor

ncine.blending_preset

table
enum ncine.blending_preset
table
enum ncine.blending_preset

ncine.camera

delete

function ncine.camera.delete(camera: any)

Destroys a camera object and releases its memory

get_projection_values

function ncine.camera.get_projection_values(camera: any)

Returns the projection values that are used to create the projection matrix

get_view_values

function ncine.camera.get_view_values(camera: any)

Returns the view values that are used to create the model matrix

new

function ncine.camera.new()

Constructs a camera object.

Don't forget to call @{delete} when you are done with it!

set_ortho_projection

function ncine.camera.set_ortho_projection(camera: any, projection_values: any)

Updates the projection matrix using the projection values from the table

set_view

function ncine.camera.set_view(camera: any, view_values: any)

Updates the model matrix using the view values from the table


ncine.camera

ncine.camera
ncine.camera

ncine.camera.delete

function ncine.camera.delete(camera: any)
function ncine.camera.delete(camera: cameraObj)
function ncine.camera.delete(camera: any)
function ncine.camera.delete(camera: cameraObj)

ncine.camera.get_projection_values

function ncine.camera.get_projection_values(camera: any)
function ncine.camera.get_projection_values(camera: cameraObj)
  -> camera_projection_values
function ncine.camera.get_projection_values(camera: any)
function ncine.camera.get_projection_values(camera: cameraObj)
  -> camera_projection_values

ncine.camera.get_view_values

function ncine.camera.get_view_values(camera: any)
function ncine.camera.get_view_values(camera: cameraObj)
  -> camera_view_values
function ncine.camera.get_view_values(camera: any)
function ncine.camera.get_view_values(camera: cameraObj)
  -> camera_view_values

ncine.camera.new

function ncine.camera.new()
function ncine.camera.new()
  -> cameraObj
function ncine.camera.new()
function ncine.camera.new()
  -> cameraObj

ncine.camera.set_ortho_projection

function ncine.camera.set_ortho_projection(camera: any, projection_values: any)
function ncine.camera.set_ortho_projection(camera: cameraObj, projection_values: camera_projection_values)
function ncine.camera.set_ortho_projection(camera: any, projection_values: any)
function ncine.camera.set_ortho_projection(camera: cameraObj, projection_values: camera_projection_values)

ncine.camera.set_view

function ncine.camera.set_view(camera: any, view_values: any)
function ncine.camera.set_view(camera: cameraObj, view_values: camera_view_values)
function ncine.camera.set_view(camera: any, view_values: any)
function ncine.camera.set_view(camera: cameraObj, view_values: camera_view_values)

ncine.clear_mode

table
enum ncine.clear_mode
table
enum ncine.clear_mode

ncine.color

ncine.color
ncine.color

ncine.color

a

number

The alpha component

add

function ncine.color.add(color0: any, color1: any)

Adds two colors together, component-wise, clamping to 1.0

b

number

The blue component

create

function ncine.color.create(r: any, g: any, b: any, a: any)

Creates a color table from its components

g

number

The green component

mul

function ncine.color.mul(color0: any, color1: any)

Multiplies two colors together, component-wise, clamping to 1.0

r

number

The red component

sub

function ncine.color.sub(color0: any, color1: any)

Subtracts the second color from the first one, component-wise, clamping to 0.0


ncine.color.add

function ncine.color.add(color0: any, color1: any)
function ncine.color.add(color0: ncine.color, color1: ncine.color)
  -> ncine.color
function ncine.color.add(color0: any, color1: any)
function ncine.color.add(color0: ncine.color, color1: ncine.color)
  -> ncine.color

ncine.color.create

function ncine.color.create(r: any, g: any, b: any, a: any)
function ncine.color.create(r: number, g: number, b: number, a: number)
  -> ncine.color
function ncine.color.create(r: any, g: any, b: any, a: any)
function ncine.color.create(r: number, g: number, b: number, a: number)
  -> ncine.color

ncine.color.mul

function ncine.color.mul(color0: any, color1: any)
function ncine.color.mul(color0: any, scalar: any)
function ncine.color.mul(color0: ncine.color, color1: ncine.color)
  -> ncine.color
function ncine.color.mul(color0: ncine.color, scalar: number)
  -> ncine.color
function ncine.color.mul(color0: any, color1: any)
function ncine.color.mul(color0: any, scalar: any)
function ncine.color.mul(color0: ncine.color, color1: ncine.color)
  -> ncine.color
function ncine.color.mul(color0: ncine.color, scalar: number)
  -> ncine.color

ncine.color.sub

function ncine.color.sub(color0: any, color1: any)
function ncine.color.sub(color0: ncine.color, color1: ncine.color)
  -> ncine.color
function ncine.color.sub(color0: any, color1: any)
function ncine.color.sub(color0: ncine.color, color1: ncine.color)
  -> ncine.color

ncine.colors

table
table

ncine.colors.BLACK

table
table
table
table

ncine.colors.BLUE

table
table
table
table

ncine.colors.CYAN

table
table
table
table

ncine.colors.GREEN

table
table
table
table

ncine.colors.MAGENTA

table
table
table
table

ncine.colors.RED

table
table
table
table

ncine.colors.WHITE

table
table
table
table

ncine.colors.YELLOW

table
table
table
table

ncine.depth_stencil_format

table
enum ncine.depth_stencil_format
table
enum ncine.depth_stencil_format

ncine.drawable_node

ncine.drawable_node
ncine.drawable_node

ncine.drawable_node

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_height

function ncine.drawable_node.get_height(node: any)

Returns the height of the node area

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.drawable_node.get_width(node: any)

Returns the width of the node area

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.drawable_node.get_aabb

function ncine.drawable_node.get_aabb(node: any)
function ncine.drawable_node.get_aabb(node: drawablenodeObj)
  -> ncine.rect
function ncine.drawable_node.get_aabb(node: any)
function ncine.drawable_node.get_aabb(node: drawablenodeObj)
  -> ncine.rect

ncine.drawable_node.get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)
function ncine.drawable_node.get_anchor_point(node: drawablenodeObj)
  -> ncine.vec2
function ncine.drawable_node.get_anchor_point(node: any)
function ncine.drawable_node.get_anchor_point(node: drawablenodeObj)
  -> ncine.vec2

ncine.drawable_node.get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)
function ncine.drawable_node.get_dest_blending_factor(node: drawablenodeObj)
  -> ncine.blending_factor
function ncine.drawable_node.get_dest_blending_factor(node: any)
function ncine.drawable_node.get_dest_blending_factor(node: drawablenodeObj)
  -> ncine.blending_factor

ncine.drawable_node.get_height

function ncine.drawable_node.get_height(node: any)
function ncine.drawable_node.get_height(node: drawablenodeObj)
  -> number
function ncine.drawable_node.get_height(node: any)
function ncine.drawable_node.get_height(node: drawablenodeObj)
  -> number

ncine.drawable_node.get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)
function ncine.drawable_node.get_last_frame_rendered(node: drawablenodeObj)
  -> integer
function ncine.drawable_node.get_last_frame_rendered(node: any)
function ncine.drawable_node.get_last_frame_rendered(node: drawablenodeObj)
  -> integer

ncine.drawable_node.get_size

function ncine.drawable_node.get_size(node: any)
function ncine.drawable_node.get_size(node: drawablenodeObj)
  -> ncine.vec2
function ncine.drawable_node.get_size(node: any)
function ncine.drawable_node.get_size(node: drawablenodeObj)
  -> ncine.vec2

ncine.drawable_node.get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)
function ncine.drawable_node.get_src_blending_factor(node: drawablenodeObj)
  -> ncine.blending_factor
function ncine.drawable_node.get_src_blending_factor(node: any)
function ncine.drawable_node.get_src_blending_factor(node: drawablenodeObj)
  -> ncine.blending_factor

ncine.drawable_node.get_width

function ncine.drawable_node.get_width(node: any)
function ncine.drawable_node.get_width(node: drawablenodeObj)
  -> number
function ncine.drawable_node.get_width(node: any)
function ncine.drawable_node.get_width(node: drawablenodeObj)
  -> number

ncine.drawable_node.is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)
function ncine.drawable_node.is_blending_enabled(node: drawablenodeObj)
  -> boolean
function ncine.drawable_node.is_blending_enabled(node: any)
function ncine.drawable_node.is_blending_enabled(node: drawablenodeObj)
  -> boolean

ncine.drawable_node.set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)
function ncine.drawable_node.set_anchor_point(node: any, x: any, y: any)
function ncine.drawable_node.set_anchor_point(node: drawablenodeObj, anchor_point: ncine.vec2)
function ncine.drawable_node.set_anchor_point(node: drawablenodeObj, x: number, y: number)
function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)
function ncine.drawable_node.set_anchor_point(node: any, x: any, y: any)
function ncine.drawable_node.set_anchor_point(node: drawablenodeObj, anchor_point: ncine.vec2)
function ncine.drawable_node.set_anchor_point(node: drawablenodeObj, x: number, y: number)

ncine.drawable_node.set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)
function ncine.drawable_node.set_blending_enabled(node: drawablenodeObj, enabled: boolean)
function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)
function ncine.drawable_node.set_blending_enabled(node: drawablenodeObj, enabled: boolean)

ncine.drawable_node.set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)
function ncine.drawable_node.set_blending_factors(node: drawablenodeObj, src_factor: ncine.blending_factor, dest_factor: ncine.blending_factor)
function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)
function ncine.drawable_node.set_blending_factors(node: drawablenodeObj, src_factor: ncine.blending_factor, dest_factor: ncine.blending_factor)

ncine.drawable_node.set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)
function ncine.drawable_node.set_blending_preset(node: drawablenodeObj, preset: ncine.blending_preset)
function ncine.drawable_node.set_blending_preset(node: any, preset: any)
function ncine.drawable_node.set_blending_preset(node: drawablenodeObj, preset: ncine.blending_preset)

ncine.efx_reverb_presets

table
enum ncine.efx_reverb_presets
table
enum ncine.efx_reverb_presets

ncine.font

ncine.font
ncine.font

ncine.font

delete

function ncine.font.delete(font: any)

Destroys a font object and releases its memory

get_base

function ncine.font.get_base(font: any)

Returns the font base

get_line_height

function ncine.font.get_line_height(font: any)

Returns the font line height

get_render_mode

function ncine.font.get_render_mode(font: any)

Returns the mode detected by the font to render text nodes

get_texture

function ncine.font.get_texture(font: any)

Returns the texture object in use by the font

get_texture_size

function ncine.font.get_texture_size(font: any)

Returns the texture atlas size

new

function ncine.font.new(fnt_file: any, texture_file: any)

Constructs the font object from an AngelCode's FNT file and a texture file.

If the texture_file parameter is an empty string, then a texture with the same name as the FNT file is searched in the same path.

Don't forget to call @{delete} when you are done with it!

num_glyphs

function ncine.font.num_glyphs(font: any)

Returns the number of glyphs

num_kernings

function ncine.font.num_kernings(font: any)

Returns the number of kerning pairs

set_texture

function ncine.font.set_texture(font: any, texture: any)

Sets a new shared texture object without modifying any glyphs or kerning data


ncine.font.delete

function ncine.font.delete(font: any)
function ncine.font.delete(font: fontObj)
function ncine.font.delete(font: any)
function ncine.font.delete(font: fontObj)

ncine.font.get_base

function ncine.font.get_base(font: any)
function ncine.font.get_base(font: fontObj)
  -> integer
function ncine.font.get_base(font: any)
function ncine.font.get_base(font: fontObj)
  -> integer

ncine.font.get_line_height

function ncine.font.get_line_height(font: any)
function ncine.font.get_line_height(font: fontObj)
  -> integer
function ncine.font.get_line_height(font: any)
function ncine.font.get_line_height(font: fontObj)
  -> integer

ncine.font.get_render_mode

function ncine.font.get_render_mode(font: any)
function ncine.font.get_render_mode(font: fontObj)
  -> ncine.font_render_mode
function ncine.font.get_render_mode(font: any)
function ncine.font.get_render_mode(font: fontObj)
  -> ncine.font_render_mode

ncine.font.get_texture

function ncine.font.get_texture(font: any)
function ncine.font.get_texture(font: fontObj)
  -> textureObj?
function ncine.font.get_texture(font: any)
function ncine.font.get_texture(font: fontObj)
  -> textureObj?

ncine.font.get_texture_size

function ncine.font.get_texture_size(font: any)
function ncine.font.get_texture_size(font: fontObj)
  -> ncine.vec2
function ncine.font.get_texture_size(font: any)
function ncine.font.get_texture_size(font: fontObj)
  -> ncine.vec2

ncine.font.new

function ncine.font.new(fnt_file: any, texture_file: any)
function ncine.font.new(fnt_file: string, texture_file: string)
  -> fontObj
function ncine.font.new(fnt_file: any, texture_file: any)
function ncine.font.new(fnt_file: string, texture_file: string)
  -> fontObj

ncine.font.num_glyphs

function ncine.font.num_glyphs(font: any)
function ncine.font.num_glyphs(font: fontObj)
  -> integer
function ncine.font.num_glyphs(font: any)
function ncine.font.num_glyphs(font: fontObj)
  -> integer

ncine.font.num_kernings

function ncine.font.num_kernings(font: any)
function ncine.font.num_kernings(font: fontObj)
  -> integer
function ncine.font.num_kernings(font: any)
function ncine.font.num_kernings(font: fontObj)
  -> integer

ncine.font.set_texture

function ncine.font.set_texture(font: any, texture: any)
function ncine.font.set_texture(font: fontObj, texture?: textureObj)
function ncine.font.set_texture(font: any, texture: any)
function ncine.font.set_texture(font: fontObj, texture?: textureObj)

ncine.font_render_mode

table
enum ncine.font_render_mode
table
enum ncine.font_render_mode

ncine.frame_timer

average_fps

function ncine.frame_timer.average_fps()

Returns the average FPS during the update interval

average_frame_time

function ncine.frame_timer.average_frame_time()

Returns the average frame time in seconds during the update interval

current_frame_duration

function ncine.frame_timer.current_frame_duration()

Returns the elapsed time in seconds since current frame started

get_average_interval

function ncine.frame_timer.get_average_interval()

Returns the number of seconds between two average FPS calculations

get_log_level

function ncine.frame_timer.get_log_level()

Returns the level for the logging events

get_logging_interval

function ncine.frame_timer.get_logging_interval()

Returns the number of seconds between two logging events.

A different and independent average is calculated over this time interval.

is_average_enabled

function ncine.frame_timer.is_average_enabled()

Returns true if the average FPS calculation is enabled

is_logging_enabled

function ncine.frame_timer.is_logging_enabled()

Returns true if logging of averages is enabled

last_frame_duration

function ncine.frame_timer.last_frame_duration()

Returns the time in seconds that last frame took to complete

set_average_interval

function ncine.frame_timer.set_average_interval(interval: any)

Sets the number of seconds between two average FPS calculations

set_log_level

function ncine.frame_timer.set_log_level(log_level: any)

Sets the level for the logging events

set_logging_interval

function ncine.frame_timer.set_logging_interval(interval: any)

Sets the number of seconds between two logging events

total_number_frames

function ncine.frame_timer.total_number_frames()

Returns the total number of frames rendered since the application started


ncine.frame_timer

ncine.frame_timer
ncine.frame_timer

ncine.frame_timer.average_fps

function ncine.frame_timer.average_fps()
function ncine.frame_timer.average_fps()
  -> number
function ncine.frame_timer.average_fps()
function ncine.frame_timer.average_fps()
  -> number

ncine.frame_timer.average_frame_time

function ncine.frame_timer.average_frame_time()
function ncine.frame_timer.average_frame_time()
  -> number
function ncine.frame_timer.average_frame_time()
function ncine.frame_timer.average_frame_time()
  -> number

ncine.frame_timer.current_frame_duration

function ncine.frame_timer.current_frame_duration()
function ncine.frame_timer.current_frame_duration()
  -> number
function ncine.frame_timer.current_frame_duration()
function ncine.frame_timer.current_frame_duration()
  -> number

ncine.frame_timer.get_average_interval

function ncine.frame_timer.get_average_interval()
function ncine.frame_timer.get_average_interval()
  -> number
function ncine.frame_timer.get_average_interval()
function ncine.frame_timer.get_average_interval()
  -> number

ncine.frame_timer.get_log_level

function ncine.frame_timer.get_log_level()
function ncine.frame_timer.get_log_level()
  -> ncine.log_level
function ncine.frame_timer.get_log_level()
function ncine.frame_timer.get_log_level()
  -> ncine.log_level

ncine.frame_timer.get_logging_interval

function ncine.frame_timer.get_logging_interval()
function ncine.frame_timer.get_logging_interval()
  -> number
function ncine.frame_timer.get_logging_interval()
function ncine.frame_timer.get_logging_interval()
  -> number

ncine.frame_timer.is_average_enabled

function ncine.frame_timer.is_average_enabled()
function ncine.frame_timer.is_average_enabled()
  -> boolean
function ncine.frame_timer.is_average_enabled()
function ncine.frame_timer.is_average_enabled()
  -> boolean

ncine.frame_timer.is_logging_enabled

function ncine.frame_timer.is_logging_enabled()
function ncine.frame_timer.is_logging_enabled()
  -> boolean
function ncine.frame_timer.is_logging_enabled()
function ncine.frame_timer.is_logging_enabled()
  -> boolean

ncine.frame_timer.last_frame_duration

function ncine.frame_timer.last_frame_duration()
function ncine.frame_timer.last_frame_duration()
  -> number
function ncine.frame_timer.last_frame_duration()
function ncine.frame_timer.last_frame_duration()
  -> number

ncine.frame_timer.set_average_interval

function ncine.frame_timer.set_average_interval(interval: any)
function ncine.frame_timer.set_average_interval(interval: number)
function ncine.frame_timer.set_average_interval(interval: any)
function ncine.frame_timer.set_average_interval(interval: number)

ncine.frame_timer.set_log_level

function ncine.frame_timer.set_log_level(log_level: any)
function ncine.frame_timer.set_log_level(log_level: ncine.log_level)
function ncine.frame_timer.set_log_level(log_level: any)
function ncine.frame_timer.set_log_level(log_level: ncine.log_level)

ncine.frame_timer.set_logging_interval

function ncine.frame_timer.set_logging_interval(interval: any)
function ncine.frame_timer.set_logging_interval(interval: number)
function ncine.frame_timer.set_logging_interval(interval: any)
function ncine.frame_timer.set_logging_interval(interval: number)

ncine.frame_timer.total_number_frames

function ncine.frame_timer.total_number_frames()
function ncine.frame_timer.total_number_frames()
  -> integer
function ncine.frame_timer.total_number_frames()
function ncine.frame_timer.total_number_frames()
  -> integer

ncine.fs

absolute_join_path

function ncine.fs.absolute_join_path(first: any, second: any)

Returns the absolute path after joining together two path components

absolute_path

function ncine.fs.absolute_path(path: any)

Returns an absolute path from a relative one.

It also resolves dot references to current and parent directories, and double separators.

add_permissions

function ncine.fs.add_permissions(path: any, mode: any)

Adds the permissions in the mask to a file or a directory See: ncine.permission

basename

function ncine.fs.basename(path: any)

Returns the path component after the final separator

change_permissions

function ncine.fs.change_permissions(path: any, mode: any)

Returns the file or directory permissions in a mask See: ncine.permission

copy

function ncine.fs.copy(old_path: any, new_path: any)

Copies a file

create_dir

function ncine.fs.create_dir(path: any)

Creates a new directory

delete_empty_dir

function ncine.fs.delete_empty_dir(path: any)

Deletes an empty directory

delete_file

function ncine.fs.delete_file(path: any)

Deletes a file

dirname

function ncine.fs.dirname(path: any)

Returns the path up to, but not including, the final separator

exists

function ncine.fs.exists(path: any)

Returns true if the file or directory exists

file_size

function ncine.fs.file_size(path: any)

Returns the file size in bytes

get_cache_path

function ncine.fs.get_cache_path()

Returns the writable directory for saving cache data

get_current_dir

function ncine.fs.get_current_dir()

Returns the path of the current working directory

get_data_path

function ncine.fs.get_data_path()

Returns the base directory for data loading

get_extension

function ncine.fs.get_extension(path: any)

Returns the extension position in the string or nil if it is not found

get_home_path

function ncine.fs.get_home_path()

Returns the current user home directory

get_permissions

function ncine.fs.get_permissions(path: any)

Returns the file or directory permissions in a mask See: ncine.permission

get_save_path

function ncine.fs.get_save_path()

Returns the writable directory for saving data

has_extension

function ncine.fs.has_extension(path: any, extension: any)

Returns true if the path has the specified extension (case-insensitive comparison)

is_directory

function ncine.fs.is_directory(path: any)

Returns true if the specified path is a directory

is_executable

function ncine.fs.is_executable(path: any)

Returns true if the file or directory is executable

is_file

function ncine.fs.is_file(path: any)

Returns true if the specified path is a file

is_hidden

function ncine.fs.is_hidden(path: any)

Returns true if the file or directory is hidden

is_readable

function ncine.fs.is_readable(path: any)

Returns true if the file or directory is readable

is_readable_file

function ncine.fs.is_readable_file(path: any)

Returns true if the path is a file and is readable

is_writable

function ncine.fs.is_writable(path: any)

Returns true if the file or directory is writable

is_writable_file

function ncine.fs.is_writable_file(path: any)

Returns true if the path is a file and is writeable

join_path

function ncine.fs.join_path(first: any, second: any)

Joins together two path components

last_access_time

function ncine.fs.last_access_time(path: any)

Returns the last time the file or directory was accessed

See: file_date

last_modification_time

function ncine.fs.last_modification_time(path: any)

Returns the last time the file or directory was modified

See: file_date

logical_drive_strings

function ncine.fs.logical_drive_strings()

Returns a buffer with strings that specify valid drives in the system on Windows

logical_drives

function ncine.fs.logical_drives()

Returns a bitmask representing the currently available disk drives on Windows

remove_permissions

function ncine.fs.remove_permissions(path: any, mode: any)

Removes the permissions in the mask from a file or a directory See: ncine.permission

rename

function ncine.fs.rename(old_path: any, new_path: any)

Renames or moves a file or a directory

set_current_dir

function ncine.fs.set_current_dir(path: any)

Sets the current working directory, the starting point for interpreting relative paths

set_hidden

function ncine.fs.set_hidden(path: any, hidden: any)

Makes a file or a directory hidden or not


ncine.fs

ncine.fs
ncine.fs

ncine.fs.absolute_join_path

function ncine.fs.absolute_join_path(first: any, second: any)
function ncine.fs.absolute_join_path(first: string, second: string)
  -> string
function ncine.fs.absolute_join_path(first: any, second: any)
function ncine.fs.absolute_join_path(first: string, second: string)
  -> string

ncine.fs.absolute_path

function ncine.fs.absolute_path(path: any)
function ncine.fs.absolute_path(path: string)
  -> string
function ncine.fs.absolute_path(path: any)
function ncine.fs.absolute_path(path: string)
  -> string

ncine.fs.add_permissions

function ncine.fs.add_permissions(path: any, mode: any)
function ncine.fs.add_permissions(path: string, mode: integer)
  -> boolean
function ncine.fs.add_permissions(path: any, mode: any)
function ncine.fs.add_permissions(path: string, mode: integer)
  -> boolean

ncine.fs.basename

function ncine.fs.basename(path: any)
function ncine.fs.basename(path: string)
  -> string
function ncine.fs.basename(path: any)
function ncine.fs.basename(path: string)
  -> string

ncine.fs.change_permissions

function ncine.fs.change_permissions(path: any, mode: any)
function ncine.fs.change_permissions(path: string, mode: integer)
  -> boolean
function ncine.fs.change_permissions(path: any, mode: any)
function ncine.fs.change_permissions(path: string, mode: integer)
  -> boolean

ncine.fs.copy

function ncine.fs.copy(old_path: any, new_path: any)
function ncine.fs.copy(old_path: string, new_path: string)
  -> boolean
function ncine.fs.copy(old_path: any, new_path: any)
function ncine.fs.copy(old_path: string, new_path: string)
  -> boolean

ncine.fs.create_dir

function ncine.fs.create_dir(path: any)
function ncine.fs.create_dir(path: string)
  -> boolean
function ncine.fs.create_dir(path: any)
function ncine.fs.create_dir(path: string)
  -> boolean

ncine.fs.delete_empty_dir

function ncine.fs.delete_empty_dir(path: any)
function ncine.fs.delete_empty_dir(path: string)
  -> boolean
function ncine.fs.delete_empty_dir(path: any)
function ncine.fs.delete_empty_dir(path: string)
  -> boolean

ncine.fs.delete_file

function ncine.fs.delete_file(path: any)
function ncine.fs.delete_file(path: string)
  -> boolean
function ncine.fs.delete_file(path: any)
function ncine.fs.delete_file(path: string)
  -> boolean

ncine.fs.dirname

function ncine.fs.dirname(path: any)
function ncine.fs.dirname(path: string)
  -> string
function ncine.fs.dirname(path: any)
function ncine.fs.dirname(path: string)
  -> string

ncine.fs.exists

function ncine.fs.exists(path: any)
function ncine.fs.exists(path: string)
  -> boolean
function ncine.fs.exists(path: any)
function ncine.fs.exists(path: string)
  -> boolean

ncine.fs.file_size

function ncine.fs.file_size(path: any)
function ncine.fs.file_size(path: string)
  -> integer
function ncine.fs.file_size(path: any)
function ncine.fs.file_size(path: string)
  -> integer

ncine.fs.get_cache_path

function ncine.fs.get_cache_path()
function ncine.fs.get_cache_path()
  -> string
function ncine.fs.get_cache_path()
function ncine.fs.get_cache_path()
  -> string

ncine.fs.get_current_dir

function ncine.fs.get_current_dir()
function ncine.fs.get_current_dir()
  -> string
function ncine.fs.get_current_dir()
function ncine.fs.get_current_dir()
  -> string

ncine.fs.get_data_path

function ncine.fs.get_data_path()
function ncine.fs.get_data_path()
  -> string
function ncine.fs.get_data_path()
function ncine.fs.get_data_path()
  -> string

ncine.fs.get_extension

function ncine.fs.get_extension(path: any)
function ncine.fs.get_extension(path: string)
  -> string?
function ncine.fs.get_extension(path: any)
function ncine.fs.get_extension(path: string)
  -> string?

ncine.fs.get_home_path

function ncine.fs.get_home_path()
function ncine.fs.get_home_path()
  -> string
function ncine.fs.get_home_path()
function ncine.fs.get_home_path()
  -> string

ncine.fs.get_permissions

function ncine.fs.get_permissions(path: any)
function ncine.fs.get_permissions(path: string)
  -> integer
function ncine.fs.get_permissions(path: any)
function ncine.fs.get_permissions(path: string)
  -> integer

ncine.fs.get_save_path

function ncine.fs.get_save_path()
function ncine.fs.get_save_path()
  -> string
function ncine.fs.get_save_path()
function ncine.fs.get_save_path()
  -> string

ncine.fs.has_extension

function ncine.fs.has_extension(path: any, extension: any)
function ncine.fs.has_extension(path: string, extension: string)
  -> boolean
function ncine.fs.has_extension(path: any, extension: any)
function ncine.fs.has_extension(path: string, extension: string)
  -> boolean

ncine.fs.is_directory

function ncine.fs.is_directory(path: any)
function ncine.fs.is_directory(path: string)
  -> boolean
function ncine.fs.is_directory(path: any)
function ncine.fs.is_directory(path: string)
  -> boolean

ncine.fs.is_executable

function ncine.fs.is_executable(path: any)
function ncine.fs.is_executable(path: string)
  -> boolean
function ncine.fs.is_executable(path: any)
function ncine.fs.is_executable(path: string)
  -> boolean

ncine.fs.is_file

function ncine.fs.is_file(path: any)
function ncine.fs.is_file(path: string)
  -> boolean
function ncine.fs.is_file(path: any)
function ncine.fs.is_file(path: string)
  -> boolean

ncine.fs.is_hidden

function ncine.fs.is_hidden(path: any)
function ncine.fs.is_hidden(path: string)
  -> boolean
function ncine.fs.is_hidden(path: any)
function ncine.fs.is_hidden(path: string)
  -> boolean

ncine.fs.is_readable

function ncine.fs.is_readable(path: any)
function ncine.fs.is_readable(path: string)
  -> boolean
function ncine.fs.is_readable(path: any)
function ncine.fs.is_readable(path: string)
  -> boolean

ncine.fs.is_readable_file

function ncine.fs.is_readable_file(path: any)
function ncine.fs.is_readable_file(path: string)
  -> boolean
function ncine.fs.is_readable_file(path: any)
function ncine.fs.is_readable_file(path: string)
  -> boolean

ncine.fs.is_writable

function ncine.fs.is_writable(path: any)
function ncine.fs.is_writable(path: string)
  -> boolean
function ncine.fs.is_writable(path: any)
function ncine.fs.is_writable(path: string)
  -> boolean

ncine.fs.is_writable_file

function ncine.fs.is_writable_file(path: any)
function ncine.fs.is_writable_file(path: string)
  -> boolean
function ncine.fs.is_writable_file(path: any)
function ncine.fs.is_writable_file(path: string)
  -> boolean

ncine.fs.join_path

function ncine.fs.join_path(first: any, second: any)
function ncine.fs.join_path(first: string, second: string)
  -> string
function ncine.fs.join_path(first: any, second: any)
function ncine.fs.join_path(first: string, second: string)
  -> string

ncine.fs.last_access_time

function ncine.fs.last_access_time(path: any)
function ncine.fs.last_access_time(path: string)
  -> file_date
function ncine.fs.last_access_time(path: any)
function ncine.fs.last_access_time(path: string)
  -> file_date

ncine.fs.last_modification_time

function ncine.fs.last_modification_time(path: any)
function ncine.fs.last_modification_time(path: string)
  -> file_date
function ncine.fs.last_modification_time(path: any)
function ncine.fs.last_modification_time(path: string)
  -> file_date

ncine.fs.logical_drive_strings

function ncine.fs.logical_drive_strings()
function ncine.fs.logical_drive_strings()
  -> string
function ncine.fs.logical_drive_strings()
function ncine.fs.logical_drive_strings()
  -> string

ncine.fs.logical_drives

function ncine.fs.logical_drives()
function ncine.fs.logical_drives()
  -> integer
function ncine.fs.logical_drives()
function ncine.fs.logical_drives()
  -> integer

ncine.fs.remove_permissions

function ncine.fs.remove_permissions(path: any, mode: any)
function ncine.fs.remove_permissions(path: string, mode: integer)
  -> boolean
function ncine.fs.remove_permissions(path: any, mode: any)
function ncine.fs.remove_permissions(path: string, mode: integer)
  -> boolean

ncine.fs.rename

function ncine.fs.rename(old_path: any, new_path: any)
function ncine.fs.rename(old_path: string, new_path: string)
  -> boolean
function ncine.fs.rename(old_path: any, new_path: any)
function ncine.fs.rename(old_path: string, new_path: string)
  -> boolean

ncine.fs.set_current_dir

function ncine.fs.set_current_dir(path: any)
function ncine.fs.set_current_dir(path: string)
  -> boolean
function ncine.fs.set_current_dir(path: any)
function ncine.fs.set_current_dir(path: string)
  -> boolean

ncine.fs.set_hidden

function ncine.fs.set_hidden(path: any, hidden: any)
function ncine.fs.set_hidden(path: string, hidden: boolean)
  -> boolean
function ncine.fs.set_hidden(path: any, hidden: any)
function ncine.fs.set_hidden(path: string, hidden: boolean)
  -> boolean

ncine.gfx_device

ncine.gfx_device
ncine.gfx_device

ncine.gfx_device

flash_window

function ncine.gfx_device.flash_window()

Highlights the application window to notify the user

get_aspect_ratio

function ncine.gfx_device.get_aspect_ratio()

Returns the window or video mode resolution aspect ratio

get_current_video_mode

function ncine.gfx_device.get_current_video_mode()

Returns the current video mode for the specified monitor`

get_drawable_height

function ncine.gfx_device.get_drawable_height()

Returns the window height in pixels.

It may differs from width() on HiDPI screens.

get_drawable_resolution

function ncine.gfx_device.get_drawable_resolution()

Returns the window resolution in pixels as a ncine.vec2.

It may differs from width() on HiDPI screens.

get_drawable_width

function ncine.gfx_device.get_drawable_width()

Returns the window width in pixels.

It may differs from width() on HiDPI screens.

get_height

function ncine.gfx_device.get_height()

Returns the window or video mode height in screen coordinates

get_monitor

function ncine.gfx_device.get_monitor(index: any)

Returns the specified monitor

get_primary_monitor_index

function ncine.gfx_device.get_primary_monitor_index()

Returns the array index of the primary monitor.

This is usually the monitor where elements like the task bar or global menu bar are located.

get_resolution

function ncine.gfx_device.get_resolution()

Returns the window or video mode resolution in screen coordinates as a ncine.vec2

get_width

function ncine.gfx_device.get_width()

Returns the window or video mode width in screen coordinates

get_window_monitor_index

function ncine.gfx_device.get_window_monitor_index()

Returns the array index of the monitor associated with the window

get_window_position

function ncine.gfx_device.get_window_position()

Returns the window position as a ncine.vec2

get_window_position_x

function ncine.gfx_device.get_window_position_x()

Returns the window horizontal position

get_window_position_y

function ncine.gfx_device.get_window_position_y()

Returns the window vertical position

get_window_scaling_factor

function ncine.gfx_device.get_window_scaling_factor()

Returns the scaling factor for application window

is_fullscreen

function ncine.gfx_device.is_fullscreen()

Returns true if the device renders in full screen

is_resizable

function ncine.gfx_device.is_resizable()

Returns true if the window is resizable

num_monitors

function ncine.gfx_device.num_monitors()

Returns the number of connected monitors

set_fullscreen

function ncine.gfx_device.set_fullscreen(in_fullscreen: any)

Sets the full screen flag of the window

set_swap_interval

function ncine.gfx_device.set_swap_interval(interval: any)

Sets the number of vertical blanks to occur before a buffer swap.

An interval of -1 will enable adaptive v-sync if available.

set_video_mode

function ncine.gfx_device.set_video_mode(mode_index: any)

Sets the video mode that will be used in full screen by the monitor that hosts the window.

Call this method before enabling full screen.

set_window_icon

function ncine.gfx_device.set_window_icon(icon_filename: any)

Sets the application window icon

set_window_position

function ncine.gfx_device.set_window_position(position: any)

Sets the position of the application window with a ncine.vec2

set_window_size

function ncine.gfx_device.set_window_size(size: any)

Sets the window size with a ncine.vec2.

If the application is in full screen this method will have no effect.

set_window_title

function ncine.gfx_device.set_window_title(title: any)

Sets the application window title


ncine.gfx_device.flash_window

function ncine.gfx_device.flash_window()
function ncine.gfx_device.flash_window()
function ncine.gfx_device.flash_window()
function ncine.gfx_device.flash_window()

ncine.gfx_device.get_aspect_ratio

function ncine.gfx_device.get_aspect_ratio()
function ncine.gfx_device.get_aspect_ratio()
  -> number
function ncine.gfx_device.get_aspect_ratio()
function ncine.gfx_device.get_aspect_ratio()
  -> number

ncine.gfx_device.get_current_video_mode

function ncine.gfx_device.get_current_video_mode()
function ncine.gfx_device.get_current_video_mode()
  -> video_mode
function ncine.gfx_device.get_current_video_mode()
function ncine.gfx_device.get_current_video_mode()
  -> video_mode

ncine.gfx_device.get_drawable_height

function ncine.gfx_device.get_drawable_height()
function ncine.gfx_device.get_drawable_height()
  -> integer
function ncine.gfx_device.get_drawable_height()
function ncine.gfx_device.get_drawable_height()
  -> integer

ncine.gfx_device.get_drawable_resolution

function ncine.gfx_device.get_drawable_resolution()
function ncine.gfx_device.get_drawable_resolution()
  -> ncine.vec2
function ncine.gfx_device.get_drawable_resolution()
function ncine.gfx_device.get_drawable_resolution()
  -> ncine.vec2

ncine.gfx_device.get_drawable_width

function ncine.gfx_device.get_drawable_width()
function ncine.gfx_device.get_drawable_width()
  -> integer
function ncine.gfx_device.get_drawable_width()
function ncine.gfx_device.get_drawable_width()
  -> integer

ncine.gfx_device.get_height

function ncine.gfx_device.get_height()
function ncine.gfx_device.get_height()
  -> integer
function ncine.gfx_device.get_height()
function ncine.gfx_device.get_height()
  -> integer

ncine.gfx_device.get_monitor

function ncine.gfx_device.get_monitor(index: any)
function ncine.gfx_device.get_monitor(index: integer)
  -> monitor
function ncine.gfx_device.get_monitor(index: any)
function ncine.gfx_device.get_monitor(index: integer)
  -> monitor

ncine.gfx_device.get_primary_monitor_index

function ncine.gfx_device.get_primary_monitor_index()
function ncine.gfx_device.get_primary_monitor_index()
  -> integer
function ncine.gfx_device.get_primary_monitor_index()
function ncine.gfx_device.get_primary_monitor_index()
  -> integer

ncine.gfx_device.get_resolution

function ncine.gfx_device.get_resolution()
function ncine.gfx_device.get_resolution()
  -> ncine.vec2
function ncine.gfx_device.get_resolution()
function ncine.gfx_device.get_resolution()
  -> ncine.vec2

ncine.gfx_device.get_width

function ncine.gfx_device.get_width()
function ncine.gfx_device.get_width()
  -> integer
function ncine.gfx_device.get_width()
function ncine.gfx_device.get_width()
  -> integer

ncine.gfx_device.get_window_monitor_index

function ncine.gfx_device.get_window_monitor_index()
function ncine.gfx_device.get_window_monitor_index()
  -> integer
function ncine.gfx_device.get_window_monitor_index()
function ncine.gfx_device.get_window_monitor_index()
  -> integer

ncine.gfx_device.get_window_position

function ncine.gfx_device.get_window_position()
function ncine.gfx_device.get_window_position()
  -> ncine.vec2
function ncine.gfx_device.get_window_position()
function ncine.gfx_device.get_window_position()
  -> ncine.vec2

ncine.gfx_device.get_window_position_x

function ncine.gfx_device.get_window_position_x()
function ncine.gfx_device.get_window_position_x()
  -> integer
function ncine.gfx_device.get_window_position_x()
function ncine.gfx_device.get_window_position_x()
  -> integer

ncine.gfx_device.get_window_position_y

function ncine.gfx_device.get_window_position_y()
function ncine.gfx_device.get_window_position_y()
  -> integer
function ncine.gfx_device.get_window_position_y()
function ncine.gfx_device.get_window_position_y()
  -> integer

ncine.gfx_device.get_window_scaling_factor

function ncine.gfx_device.get_window_scaling_factor()
function ncine.gfx_device.get_window_scaling_factor()
  -> number
function ncine.gfx_device.get_window_scaling_factor()
function ncine.gfx_device.get_window_scaling_factor()
  -> number

ncine.gfx_device.is_fullscreen

function ncine.gfx_device.is_fullscreen()
function ncine.gfx_device.is_fullscreen()
  -> boolean
function ncine.gfx_device.is_fullscreen()
function ncine.gfx_device.is_fullscreen()
  -> boolean

ncine.gfx_device.is_resizable

function ncine.gfx_device.is_resizable()
function ncine.gfx_device.is_resizable()
  -> boolean
function ncine.gfx_device.is_resizable()
function ncine.gfx_device.is_resizable()
  -> boolean

ncine.gfx_device.num_monitors

function ncine.gfx_device.num_monitors()
function ncine.gfx_device.num_monitors()
  -> integer
function ncine.gfx_device.num_monitors()
function ncine.gfx_device.num_monitors()
  -> integer

ncine.gfx_device.set_fullscreen

function ncine.gfx_device.set_fullscreen(in_fullscreen: any)
function ncine.gfx_device.set_fullscreen(in_fullscreen: boolean)
function ncine.gfx_device.set_fullscreen(in_fullscreen: any)
function ncine.gfx_device.set_fullscreen(in_fullscreen: boolean)

ncine.gfx_device.set_swap_interval

function ncine.gfx_device.set_swap_interval(interval: any)
function ncine.gfx_device.set_swap_interval(interval: integer)
function ncine.gfx_device.set_swap_interval(interval: any)
function ncine.gfx_device.set_swap_interval(interval: integer)

ncine.gfx_device.set_video_mode

function ncine.gfx_device.set_video_mode(mode_index: any)
function ncine.gfx_device.set_video_mode(mode_index: integer)
function ncine.gfx_device.set_video_mode(mode_index: any)
function ncine.gfx_device.set_video_mode(mode_index: integer)

ncine.gfx_device.set_window_icon

function ncine.gfx_device.set_window_icon(icon_filename: any)
function ncine.gfx_device.set_window_icon(icon_filename: string)
function ncine.gfx_device.set_window_icon(icon_filename: any)
function ncine.gfx_device.set_window_icon(icon_filename: string)

ncine.gfx_device.set_window_position

function ncine.gfx_device.set_window_position(position: any)
function ncine.gfx_device.set_window_position(position_x: any, position_y: any)
function ncine.gfx_device.set_window_position(position: ncine.vec2)
function ncine.gfx_device.set_window_position(position_x: integer, position_y: integer)
function ncine.gfx_device.set_window_position(position: any)
function ncine.gfx_device.set_window_position(position_x: any, position_y: any)
function ncine.gfx_device.set_window_position(position: ncine.vec2)
function ncine.gfx_device.set_window_position(position_x: integer, position_y: integer)

ncine.gfx_device.set_window_size

function ncine.gfx_device.set_window_size(size: any)
function ncine.gfx_device.set_window_size(width: any, height: any)
function ncine.gfx_device.set_window_size(size: ncine.vec2)
function ncine.gfx_device.set_window_size(width: integer, height: integer)
function ncine.gfx_device.set_window_size(size: any)
function ncine.gfx_device.set_window_size(width: any, height: any)
function ncine.gfx_device.set_window_size(size: ncine.vec2)
function ncine.gfx_device.set_window_size(width: integer, height: integer)

ncine.gfx_device.set_window_title

function ncine.gfx_device.set_window_title(title: any)
function ncine.gfx_device.set_window_title(title: string)
function ncine.gfx_device.set_window_title(title: any)
function ncine.gfx_device.set_window_title(title: string)

ncine.hash64

table
table

ncine.input

ncine.input
ncine.input

ncine.input

add_joymappings_from_file

function ncine.input.add_joymappings_from_file(filename: any)

Adds joystick mapping configurations from a text file

add_joymappings_from_strings

function ncine.input.add_joymappings_from_strings(strings: any)

Adds joystick mapping configurations from a strings array

deadzone_normalize

function ncine.input.deadzone_normalize(joy_vector: any, deadzone_value: any)

Modifies the joystick axis vector to account for a dead zone

get_mouse_cursor_mode

function ncine.input.get_mouse_cursor_mode(joy_id: any)

Returns current mouse cursor mode

joy_axis_normvalue

function ncine.input.joy_axis_normvalue(joystick_state: any, axis_id: any)

Returns a normalized value between -1.0 and 1.0 for a joystick axis

joy_axis_value

function ncine.input.joy_axis_value(joystick_state: any, axis_id: any)

Returns a value between -32768 and 32767 for a joystick axis

joy_button_pressed

function ncine.input.joy_button_pressed(joystick_state: any, button_id: any)

Returns true if the specified joystick button is pressed

joy_guid

function ncine.input.joy_guid(joy_id: any)

Returns the GUID of the specified joystick

joy_hat_state

function ncine.input.joy_hat_state(joystick_state: any, hat_id: any)

Returns the state of the specified hat

joy_mapped

function ncine.input.joy_mapped(joy_id: any)

Returns true if the joystick has a valid mapping configuration

joy_name

function ncine.input.joy_name(joy_id: any)

Returns the name of the specified joystick

joy_num_axes

function ncine.input.joy_num_axes(joy_id: any)

Returns the number of available axes for the specified joystick

joy_num_buttons

function ncine.input.joy_num_buttons(joy_id: any)

Returns the number of available buttons for the specified joystick

joy_num_hats

function ncine.input.joy_num_hats(joy_id: any)

Returns the number of available hats for the specified joystick

joy_present

function ncine.input.joy_present(joy_id: any)

Returns true if the specified joystick is connected

joy_state

function ncine.input.joy_state()

Returns the state of the joystick

joymapped_state

function ncine.input.joymapped_state()

Returns the state of the mapped joystick

key_down

function ncine.input.key_down(key_state: any, keysym: any)

Returns true if the specified key is down

key_state

function ncine.input.key_state()

Returns current keyboard state

mouse_state

function ncine.input.mouse_state()

Returns current mouse state

num_joymappings

function ncine.input.num_joymappings(strings: any)

Returns the current number of valid joystick mappings

set_mouse_cursor_mode

function ncine.input.set_mouse_cursor_mode(mouse_cursor_mode: any)

Sets the mouse cursor mode


ncine.input.add_joymappings_from_file

function ncine.input.add_joymappings_from_file(filename: any)
function ncine.input.add_joymappings_from_file(filename: string)
function ncine.input.add_joymappings_from_file(filename: any)
function ncine.input.add_joymappings_from_file(filename: string)

ncine.input.add_joymappings_from_strings

function ncine.input.add_joymappings_from_strings(strings: any)
function ncine.input.add_joymappings_from_strings(strings: string[])
function ncine.input.add_joymappings_from_strings(strings: any)
function ncine.input.add_joymappings_from_strings(strings: string[])

ncine.input.deadzone_normalize

function ncine.input.deadzone_normalize(joy_vector: any, deadzone_value: any)
function ncine.input.deadzone_normalize(joy_vector: ncine.vec2, deadzone_value: number)
function ncine.input.deadzone_normalize(joy_vector: any, deadzone_value: any)
function ncine.input.deadzone_normalize(joy_vector: ncine.vec2, deadzone_value: number)

ncine.input.get_mouse_cursor_mode

function ncine.input.get_mouse_cursor_mode(joy_id: any)
function ncine.input.get_mouse_cursor_mode(joy_id: any)
  -> ncine.mouse_cursor_mode
function ncine.input.get_mouse_cursor_mode(joy_id: any)
function ncine.input.get_mouse_cursor_mode(joy_id: any)
  -> ncine.mouse_cursor_mode

ncine.input.joy_axis_normvalue

function ncine.input.joy_axis_normvalue(joystick_state: any, axis_id: any)
function ncine.input.joy_axis_normvalue(joystick_state: joystickstateObj, axis_id: integer)
  -> number
function ncine.input.joy_axis_normvalue(joystick_state: any, axis_id: any)
function ncine.input.joy_axis_normvalue(joystick_state: joystickstateObj, axis_id: integer)
  -> number

ncine.input.joy_axis_value

function ncine.input.joy_axis_value(joystick_state: any, axis_id: any)
function ncine.input.joy_axis_value(joystick_state: any, axis_name: any)
function ncine.input.joy_axis_value(joystick_state: joystickstateObj, axis_id: integer)
  -> integer
function ncine.input.joy_axis_value(joystick_state: joymappedstateObj, axis_name: ncine.joy_axis)
  -> number
function ncine.input.joy_axis_value(joystick_state: any, axis_id: any)
function ncine.input.joy_axis_value(joystick_state: any, axis_name: any)
function ncine.input.joy_axis_value(joystick_state: joystickstateObj, axis_id: integer)
  -> integer
function ncine.input.joy_axis_value(joystick_state: joymappedstateObj, axis_name: ncine.joy_axis)
  -> number

ncine.input.joy_button_pressed

function ncine.input.joy_button_pressed(joystick_state: any, button_id: any)
function ncine.input.joy_button_pressed(joystick_state: any, button_name: any)
function ncine.input.joy_button_pressed(joystick_state: joystickstateObj, button_id: integer)
  -> boolean
function ncine.input.joy_button_pressed(joystick_state: joymappedstateObj, button_name: ncine.joy_button)
  -> boolean
function ncine.input.joy_button_pressed(joystick_state: any, button_id: any)
function ncine.input.joy_button_pressed(joystick_state: any, button_name: any)
function ncine.input.joy_button_pressed(joystick_state: joystickstateObj, button_id: integer)
  -> boolean
function ncine.input.joy_button_pressed(joystick_state: joymappedstateObj, button_name: ncine.joy_button)
  -> boolean

ncine.input.joy_guid

function ncine.input.joy_guid(joy_id: any)
function ncine.input.joy_guid(joy_id: integer)
  -> string
function ncine.input.joy_guid(joy_id: any)
function ncine.input.joy_guid(joy_id: integer)
  -> string

ncine.input.joy_hat_state

function ncine.input.joy_hat_state(joystick_state: any, hat_id: any)
function ncine.input.joy_hat_state(joystick_state: joystickstateObj, hat_id: integer)
  -> ncine.joy_hat_state
function ncine.input.joy_hat_state(joystick_state: any, hat_id: any)
function ncine.input.joy_hat_state(joystick_state: joystickstateObj, hat_id: integer)
  -> ncine.joy_hat_state

ncine.input.joy_mapped

function ncine.input.joy_mapped(joy_id: any)
function ncine.input.joy_mapped(joy_id: integer)
  -> boolean
function ncine.input.joy_mapped(joy_id: any)
function ncine.input.joy_mapped(joy_id: integer)
  -> boolean

ncine.input.joy_name

function ncine.input.joy_name(joy_id: any)
function ncine.input.joy_name(joy_id: integer)
  -> string
function ncine.input.joy_name(joy_id: any)
function ncine.input.joy_name(joy_id: integer)
  -> string

ncine.input.joy_num_axes

function ncine.input.joy_num_axes(joy_id: any)
function ncine.input.joy_num_axes(joy_id: integer)
  -> integer
function ncine.input.joy_num_axes(joy_id: any)
function ncine.input.joy_num_axes(joy_id: integer)
  -> integer

ncine.input.joy_num_buttons

function ncine.input.joy_num_buttons(joy_id: any)
function ncine.input.joy_num_buttons(joy_id: integer)
  -> integer
function ncine.input.joy_num_buttons(joy_id: any)
function ncine.input.joy_num_buttons(joy_id: integer)
  -> integer

ncine.input.joy_num_hats

function ncine.input.joy_num_hats(joy_id: any)
function ncine.input.joy_num_hats(joy_id: integer)
  -> integer
function ncine.input.joy_num_hats(joy_id: any)
function ncine.input.joy_num_hats(joy_id: integer)
  -> integer

ncine.input.joy_present

function ncine.input.joy_present(joy_id: any)
function ncine.input.joy_present(joy_id: integer)
  -> boolean
function ncine.input.joy_present(joy_id: any)
function ncine.input.joy_present(joy_id: integer)
  -> boolean

ncine.input.joy_state

function ncine.input.joy_state()
function ncine.input.joy_state()
  -> joystickstateObj
function ncine.input.joy_state()
function ncine.input.joy_state()
  -> joystickstateObj

ncine.input.joymapped_state

function ncine.input.joymapped_state()
function ncine.input.joymapped_state()
  -> joymappedstateObj
function ncine.input.joymapped_state()
function ncine.input.joymapped_state()
  -> joymappedstateObj

ncine.input.key_down

function ncine.input.key_down(key_state: any, keysym: any)
function ncine.input.key_down(key_state: keystateObj, keysym: integer)
  -> boolean
function ncine.input.key_down(key_state: any, keysym: any)
function ncine.input.key_down(key_state: keystateObj, keysym: integer)
  -> boolean

ncine.input.key_state

function ncine.input.key_state()
function ncine.input.key_state()
  -> keystateObj
function ncine.input.key_state()
function ncine.input.key_state()
  -> keystateObj

ncine.input.mouse_state

function ncine.input.mouse_state()
function ncine.input.mouse_state()
  -> mouse_state
function ncine.input.mouse_state()
function ncine.input.mouse_state()
  -> mouse_state

ncine.input.num_joymappings

function ncine.input.num_joymappings(strings: any)
function ncine.input.num_joymappings(strings: any)
  -> integer
function ncine.input.num_joymappings(strings: any)
function ncine.input.num_joymappings(strings: any)
  -> integer

ncine.input.set_mouse_cursor_mode

function ncine.input.set_mouse_cursor_mode(mouse_cursor_mode: any)
function ncine.input.set_mouse_cursor_mode(mouse_cursor_mode: ncine.mouse_cursor_mode)
function ncine.input.set_mouse_cursor_mode(mouse_cursor_mode: any)
function ncine.input.set_mouse_cursor_mode(mouse_cursor_mode: ncine.mouse_cursor_mode)

ncine.joy_axis

table
enum ncine.joy_axis
table
enum ncine.joy_axis

ncine.joy_button

table
enum ncine.joy_button
table
enum ncine.joy_button

ncine.joy_dead_zone

table
table
table
table

ncine.joy_hat_state

table
enum ncine.joy_hat_state
table
enum ncine.joy_hat_state

ncine.keymod

table
enum ncine.keymod
table
enum ncine.keymod

ncine.keysym

table
enum ncine.keysym
table
enum ncine.keysym

ncine.log

debug

function ncine.log.debug(msg: any)

Logs a message with a ncine.log_level.DEBUG level

error

function ncine.log.error(msg: any)

Logs a message with a ncine.log_level.ERROR level

fatal

function ncine.log.fatal(msg: any)

Logs a message with a ncine.log_level.FATAL level

info

function ncine.log.info(msg: any)

Logs a message with a ncine.log_level.INFO level

verbose

function ncine.log.verbose(msg: any)

Logs a message with a ncine.log_level.VERBOSE level

warn

function ncine.log.warn(msg: any)

Logs a message with a ncine.log_level.WARN level


ncine.log

ncine.log
ncine.log

ncine.log.debug

function ncine.log.debug(msg: any)
function ncine.log.debug(msg: string)
function ncine.log.debug(msg: any)
function ncine.log.debug(msg: string)

ncine.log.error

function ncine.log.error(msg: any)
function ncine.log.error(msg: string)
function ncine.log.error(msg: any)
function ncine.log.error(msg: string)

ncine.log.fatal

function ncine.log.fatal(msg: any)
function ncine.log.fatal(msg: string)
function ncine.log.fatal(msg: any)
function ncine.log.fatal(msg: string)

ncine.log.info

function ncine.log.info(msg: any)
function ncine.log.info(msg: string)
function ncine.log.info(msg: any)
function ncine.log.info(msg: string)

ncine.log.verbose

function ncine.log.verbose(msg: any)
function ncine.log.verbose(msg: string)
function ncine.log.verbose(msg: any)
function ncine.log.verbose(msg: string)

ncine.log.warn

function ncine.log.warn(msg: any)
function ncine.log.warn(msg: string)
function ncine.log.warn(msg: any)
function ncine.log.warn(msg: string)

ncine.log_level

table
enum ncine.log_level
table
enum ncine.log_level

ncine.loop_mode

table
enum ncine.loop_mode
table
enum ncine.loop_mode

ncine.mesh_sprite

ncine.mesh_sprite
ncine.mesh_sprite

ncine.mesh_sprite

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

are_unique_indices

function ncine.mesh_sprite.are_unique_indices(sprite: any)

Returns true if the indices belong to the sprite and are not stored externally

are_unique_vertices

function ncine.mesh_sprite.are_unique_vertices(sprite: any)

Returns true if the vertices belong to the sprite and are not stored externally

clone

function ncine.mesh_sprite.clone(sprite: any)

Constructs a new mesh sprite object as a clone of the specified one.

Don't forget to call @{delete} when you are done with it!

copy_indices

function ncine.mesh_sprite.copy_indices(sprite: any, indices: any)

Copies the indices data from a table into the sprite (no texture version)

copy_vertices

function ncine.mesh_sprite.copy_vertices(sprite: any, vertices: any)

Copies the vertices data from a table into the sprite

create_vertices_from_texels

function ncine.mesh_sprite.create_vertices_from_texels(sprite: any, texels: any, texture_cut_mode: any)

Creates an internal set of vertices from an external table of points in texture space, with optional texture cut mode

delete

function ncine.mesh_sprite.delete(sprite: any)

Destroys a mesh sprite object and releases its memory

emplace_indices

function ncine.mesh_sprite.emplace_indices(sprite: any, indices: any)

Emplaces the indices data from an array of integers into the sprite

emplace_vertices

function ncine.mesh_sprite.emplace_vertices(sprite: any, vertices: any)

Emplaces the vertices data from an array of numbers into the sprite

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_bytes_per_vertex

function ncine.mesh_sprite.get_bytes_per_vertex(sprite: any)

Returns the number of bytes used by each vertex

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_height

function ncine.drawable_node.get_height(node: any)

Returns the height of the node area

get_indices

function ncine.mesh_sprite.get_indices(sprite: any)

Returns the indices used to draw the sprite mesh

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_texrect

function ncine.base_sprite.get_texrect(sprite: any)

Returns the texture source rectangle for blitting

get_texture

function ncine.base_sprite.get_texture(sprite: any)

Returns the texture object

get_vertices

function ncine.mesh_sprite.get_vertices(sprite: any)

Returns the vertices data of the sprite mesh

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.drawable_node.get_width(node: any)

Returns the width of the node area

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

is_flipped_x

function ncine.base_sprite.is_flipped_x(sprite: any)

Returns true if the sprite texture is horizontally flipped

is_flipped_y

function ncine.base_sprite.is_flipped_y(sprite: any)

Returns true if the sprite texture is vertically flipped

new

function ncine.mesh_sprite.new(parent: any, texture: any, x: any, y: any)

Constructs a mesh sprite object with a parent scene node, a texture, and position components.

Don't forget to call @{delete} when you are done with it!

num_bytes

function ncine.mesh_sprite.num_bytes(sprite: any)

Returns the total number of bytes used by all sprite's vertices

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

num_indices

function ncine.mesh_sprite.num_indices(sprite: any)

Returns the number of indices used to draw the sprite mesh

num_vertices

function ncine.mesh_sprite.num_vertices(sprite: any)

Returns the number of vertices of the sprite mesh

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

reset_texture

function ncine.base_sprite.reset_texture(sprite: any)

Triggers a texture update without setting a new texture

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_flipped_x

function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)

Flips the texture rect horizontally

set_flipped_y

function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)

Flips the texture rect vertically

set_indices

function ncine.mesh_sprite.set_indices(sprite: any, source_sprite: any)

Sets the indices data to the data used by another sprite

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_size

function ncine.base_sprite.set_size(sprite: any, width: any, height: any)

Sets the sprite size

set_texrect

function ncine.base_sprite.set_texrect(sprite: any, rect: any)

Sets the texture source rectangle for blitting

set_texture

function ncine.base_sprite.set_texture(sprite: any, texture: any)

Sets the texture object

set_vertices

function ncine.mesh_sprite.set_vertices(sprite: any, source_sprite: any)

Sets the vertices data to the data used by another sprite

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.mesh_sprite.are_unique_indices

function ncine.mesh_sprite.are_unique_indices(sprite: any)
function ncine.mesh_sprite.are_unique_indices(sprite: meshspriteObj)
  -> boolean
function ncine.mesh_sprite.are_unique_indices(sprite: any)
function ncine.mesh_sprite.are_unique_indices(sprite: meshspriteObj)
  -> boolean

ncine.mesh_sprite.are_unique_vertices

function ncine.mesh_sprite.are_unique_vertices(sprite: any)
function ncine.mesh_sprite.are_unique_vertices(sprite: meshspriteObj)
  -> boolean
function ncine.mesh_sprite.are_unique_vertices(sprite: any)
function ncine.mesh_sprite.are_unique_vertices(sprite: meshspriteObj)
  -> boolean

ncine.mesh_sprite.clone

function ncine.mesh_sprite.clone(sprite: any)
function ncine.mesh_sprite.clone(sprite: meshspriteObj)
  -> meshspriteObj
function ncine.mesh_sprite.clone(sprite: any)
function ncine.mesh_sprite.clone(sprite: meshspriteObj)
  -> meshspriteObj

ncine.mesh_sprite.copy_indices

function ncine.mesh_sprite.copy_indices(sprite: any, indices: any)
function ncine.mesh_sprite.copy_indices(sprite: meshspriteObj, indices: integer[])
function ncine.mesh_sprite.copy_indices(sprite: any, indices: any)
function ncine.mesh_sprite.copy_indices(sprite: meshspriteObj, indices: integer[])

ncine.mesh_sprite.copy_vertices

function ncine.mesh_sprite.copy_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.copy_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.copy_vertices(sprite: meshspriteObj, vertices: mesh_sprite_vertex[])
function ncine.mesh_sprite.copy_vertices(sprite: meshspriteObj, vertices: mesh_sprite_vertex_notexture[])
function ncine.mesh_sprite.copy_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.copy_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.copy_vertices(sprite: meshspriteObj, vertices: mesh_sprite_vertex[])
function ncine.mesh_sprite.copy_vertices(sprite: meshspriteObj, vertices: mesh_sprite_vertex_notexture[])

ncine.mesh_sprite.create_vertices_from_texels

function ncine.mesh_sprite.create_vertices_from_texels(sprite: any, texels: any, texture_cut_mode: any)
function ncine.mesh_sprite.create_vertices_from_texels(sprite: meshspriteObj, texels: ncine.vec2[], texture_cut_mode: ncine.texture_cut_mode)
function ncine.mesh_sprite.create_vertices_from_texels(sprite: any, texels: any, texture_cut_mode: any)
function ncine.mesh_sprite.create_vertices_from_texels(sprite: meshspriteObj, texels: ncine.vec2[], texture_cut_mode: ncine.texture_cut_mode)

ncine.mesh_sprite.delete

function ncine.mesh_sprite.delete(sprite: any)
function ncine.mesh_sprite.delete(sprite: meshspriteObj)
function ncine.mesh_sprite.delete(sprite: any)
function ncine.mesh_sprite.delete(sprite: meshspriteObj)

ncine.mesh_sprite.emplace_indices

function ncine.mesh_sprite.emplace_indices(sprite: any, indices: any)
function ncine.mesh_sprite.emplace_indices(sprite: meshspriteObj, indices: integer[])
function ncine.mesh_sprite.emplace_indices(sprite: any, indices: any)
function ncine.mesh_sprite.emplace_indices(sprite: meshspriteObj, indices: integer[])

ncine.mesh_sprite.emplace_vertices

function ncine.mesh_sprite.emplace_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.emplace_vertices(sprite: meshspriteObj, vertices: number[])
function ncine.mesh_sprite.emplace_vertices(sprite: any, vertices: any)
function ncine.mesh_sprite.emplace_vertices(sprite: meshspriteObj, vertices: number[])

ncine.mesh_sprite.get_bytes_per_vertex

function ncine.mesh_sprite.get_bytes_per_vertex(sprite: any)
function ncine.mesh_sprite.get_bytes_per_vertex(sprite: meshspriteObj)
  -> integer
function ncine.mesh_sprite.get_bytes_per_vertex(sprite: any)
function ncine.mesh_sprite.get_bytes_per_vertex(sprite: meshspriteObj)
  -> integer

ncine.mesh_sprite.get_indices

function ncine.mesh_sprite.get_indices(sprite: any)
function ncine.mesh_sprite.get_indices(sprite: meshspriteObj)
  -> integer[]
function ncine.mesh_sprite.get_indices(sprite: any)
function ncine.mesh_sprite.get_indices(sprite: meshspriteObj)
  -> integer[]

ncine.mesh_sprite.get_vertices

function ncine.mesh_sprite.get_vertices(sprite: any)
function ncine.mesh_sprite.get_vertices(sprite: meshspriteObj)
  -> number[]
function ncine.mesh_sprite.get_vertices(sprite: any)
function ncine.mesh_sprite.get_vertices(sprite: meshspriteObj)
  -> number[]

ncine.mesh_sprite.new

function ncine.mesh_sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.mesh_sprite.new(parent: any, texture: any, pos: any)
function ncine.mesh_sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> meshspriteObj
function ncine.mesh_sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> meshspriteObj
function ncine.mesh_sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.mesh_sprite.new(parent: any, texture: any, pos: any)
function ncine.mesh_sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> meshspriteObj
function ncine.mesh_sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> meshspriteObj

ncine.mesh_sprite.num_bytes

function ncine.mesh_sprite.num_bytes(sprite: any)
function ncine.mesh_sprite.num_bytes(sprite: meshspriteObj)
  -> integer
function ncine.mesh_sprite.num_bytes(sprite: any)
function ncine.mesh_sprite.num_bytes(sprite: meshspriteObj)
  -> integer

ncine.mesh_sprite.num_indices

function ncine.mesh_sprite.num_indices(sprite: any)
function ncine.mesh_sprite.num_indices(sprite: meshspriteObj)
  -> integer
function ncine.mesh_sprite.num_indices(sprite: any)
function ncine.mesh_sprite.num_indices(sprite: meshspriteObj)
  -> integer

ncine.mesh_sprite.num_vertices

function ncine.mesh_sprite.num_vertices(sprite: any)
function ncine.mesh_sprite.num_vertices(sprite: meshspriteObj)
  -> integer
function ncine.mesh_sprite.num_vertices(sprite: any)
function ncine.mesh_sprite.num_vertices(sprite: meshspriteObj)
  -> integer

ncine.mesh_sprite.set_indices

function ncine.mesh_sprite.set_indices(sprite: any, source_sprite: any)
function ncine.mesh_sprite.set_indices(sprite: meshspriteObj, source_sprite: meshspriteObj)
function ncine.mesh_sprite.set_indices(sprite: any, source_sprite: any)
function ncine.mesh_sprite.set_indices(sprite: meshspriteObj, source_sprite: meshspriteObj)

ncine.mesh_sprite.set_vertices

function ncine.mesh_sprite.set_vertices(sprite: any, source_sprite: any)
function ncine.mesh_sprite.set_vertices(sprite: meshspriteObj, source_sprite: meshspriteObj)
function ncine.mesh_sprite.set_vertices(sprite: any, source_sprite: any)
function ncine.mesh_sprite.set_vertices(sprite: meshspriteObj, source_sprite: meshspriteObj)

ncine.mouse_button

table
enum ncine.mouse_button
table
enum ncine.mouse_button

ncine.mouse_cursor_mode

table
enum ncine.mouse_cursor_mode
table
enum ncine.mouse_cursor_mode

ncine.on_acceleration

function ncine.on_acceleration(event: any)
function ncine.on_acceleration(event: accelerometer_event)
function ncine.on_acceleration(event: any)
function ncine.on_acceleration(event: accelerometer_event)

ncine.on_change_scaling_factor

function ncine.on_change_scaling_factor(factor: any)
function ncine.on_change_scaling_factor(factor: number)
function ncine.on_change_scaling_factor(factor: any)
function ncine.on_change_scaling_factor(factor: number)

ncine.on_draw_viewport

function ncine.on_draw_viewport(viewport: any)
function ncine.on_draw_viewport(viewport: viewportObj)
function ncine.on_draw_viewport(viewport: any)
function ncine.on_draw_viewport(viewport: viewportObj)

ncine.on_frame_end

function ncine.on_frame_end()
function ncine.on_frame_end()
function ncine.on_frame_end()
function ncine.on_frame_end()

ncine.on_frame_start

function ncine.on_frame_start()
function ncine.on_frame_start()
function ncine.on_frame_start()
function ncine.on_frame_start()

ncine.on_init

function ncine.on_init()
function ncine.on_init()
function ncine.on_init()
function ncine.on_init()

ncine.on_joy_axis_moved

function ncine.on_joy_axis_moved(event: any)
function ncine.on_joy_axis_moved(event: joy_axis_event)
function ncine.on_joy_axis_moved(event: any)
function ncine.on_joy_axis_moved(event: joy_axis_event)

ncine.on_joy_button_pressed

function ncine.on_joy_button_pressed(event: any)
function ncine.on_joy_button_pressed(event: joy_button_event)
function ncine.on_joy_button_pressed(event: any)
function ncine.on_joy_button_pressed(event: joy_button_event)

ncine.on_joy_button_released

function ncine.on_joy_button_released(event: any)
function ncine.on_joy_button_released(event: joy_button_event)
function ncine.on_joy_button_released(event: any)
function ncine.on_joy_button_released(event: joy_button_event)

ncine.on_joy_connected

function ncine.on_joy_connected(event: any)
function ncine.on_joy_connected(event: joy_connection_event)
function ncine.on_joy_connected(event: any)
function ncine.on_joy_connected(event: joy_connection_event)

ncine.on_joy_disconnected

function ncine.on_joy_disconnected(event: any)
function ncine.on_joy_disconnected(event: joy_connection_event)
function ncine.on_joy_disconnected(event: any)
function ncine.on_joy_disconnected(event: joy_connection_event)

ncine.on_joy_hat_moved

function ncine.on_joy_hat_moved(event: any)
function ncine.on_joy_hat_moved(event: joy_hat_event)
function ncine.on_joy_hat_moved(event: any)
function ncine.on_joy_hat_moved(event: joy_hat_event)

ncine.on_joymapped_axis_moved

function ncine.on_joymapped_axis_moved(event: any)
function ncine.on_joymapped_axis_moved(event: joymapped_axis_event)
function ncine.on_joymapped_axis_moved(event: any)
function ncine.on_joymapped_axis_moved(event: joymapped_axis_event)

ncine.on_joymapped_button_pressed

function ncine.on_joymapped_button_pressed(event: any)
function ncine.on_joymapped_button_pressed(event: joymapped_button_event)
function ncine.on_joymapped_button_pressed(event: any)
function ncine.on_joymapped_button_pressed(event: joymapped_button_event)

ncine.on_joymapped_button_released

function ncine.on_joymapped_button_released(event: any)
function ncine.on_joymapped_button_released(event: joymapped_button_event)
function ncine.on_joymapped_button_released(event: any)
function ncine.on_joymapped_button_released(event: joymapped_button_event)

ncine.on_key_pressed

function ncine.on_key_pressed(event: any)
function ncine.on_key_pressed(event: keyboard_event)
function ncine.on_key_pressed(event: any)
function ncine.on_key_pressed(event: keyboard_event)

ncine.on_key_released

function ncine.on_key_released(event: any)
function ncine.on_key_released(event: keyboard_event)
function ncine.on_key_released(event: any)
function ncine.on_key_released(event: keyboard_event)

ncine.on_mouse_button_pressed

function ncine.on_mouse_button_pressed(event: any)
function ncine.on_mouse_button_pressed(event: mouse_event)
function ncine.on_mouse_button_pressed(event: any)
function ncine.on_mouse_button_pressed(event: mouse_event)

ncine.on_mouse_button_released

function ncine.on_mouse_button_released(event: any)
function ncine.on_mouse_button_released(event: mouse_event)
function ncine.on_mouse_button_released(event: any)
function ncine.on_mouse_button_released(event: mouse_event)

ncine.on_mouse_moved

function ncine.on_mouse_moved(event: any)
function ncine.on_mouse_moved(event: mouse_state)
function ncine.on_mouse_moved(event: any)
function ncine.on_mouse_moved(event: mouse_state)

ncine.on_pointer_down

function ncine.on_pointer_down(event: any)
function ncine.on_pointer_down(event: touch_event)
function ncine.on_pointer_down(event: any)
function ncine.on_pointer_down(event: touch_event)

ncine.on_pointer_up

function ncine.on_pointer_up(event: any)
function ncine.on_pointer_up(event: touch_event)
function ncine.on_pointer_up(event: any)
function ncine.on_pointer_up(event: touch_event)

ncine.on_post_update

function ncine.on_post_update()
function ncine.on_post_update()
function ncine.on_post_update()
function ncine.on_post_update()

ncine.on_pre_init

function ncine.on_pre_init(cfg: any)
function ncine.on_pre_init(cfg: ncine.app_configuration)
function ncine.on_pre_init(cfg: any)
function ncine.on_pre_init(cfg: ncine.app_configuration)

ncine.on_quit_request

function ncine.on_quit_request()
function ncine.on_quit_request()
  -> boolean
function ncine.on_quit_request()
function ncine.on_quit_request()
  -> boolean

ncine.on_resize_window

function ncine.on_resize_window(width: any, height: any)
function ncine.on_resize_window(width: integer, height: integer)
function ncine.on_resize_window(width: any, height: any)
function ncine.on_resize_window(width: integer, height: integer)

ncine.on_resume

function ncine.on_resume()
function ncine.on_resume()
function ncine.on_resume()
function ncine.on_resume()

ncine.on_scroll_input

function ncine.on_scroll_input(event: any)
function ncine.on_scroll_input(event: scroll_event)
function ncine.on_scroll_input(event: any)
function ncine.on_scroll_input(event: scroll_event)

ncine.on_shutdown

function ncine.on_shutdown()
function ncine.on_shutdown()
function ncine.on_shutdown()
function ncine.on_shutdown()

ncine.on_suspend

function ncine.on_suspend()
function ncine.on_suspend()
function ncine.on_suspend()
function ncine.on_suspend()

ncine.on_text_input

function ncine.on_text_input(event: any)
function ncine.on_text_input(event: text_input_event)
function ncine.on_text_input(event: any)
function ncine.on_text_input(event: text_input_event)

ncine.on_touch_down

function ncine.on_touch_down(event: any)
function ncine.on_touch_down(event: touch_event)
function ncine.on_touch_down(event: any)
function ncine.on_touch_down(event: touch_event)

ncine.on_touch_move

function ncine.on_touch_move(event: any)
function ncine.on_touch_move(event: touch_event)
function ncine.on_touch_move(event: any)
function ncine.on_touch_move(event: touch_event)

ncine.on_touch_up

function ncine.on_touch_up(event: any)
function ncine.on_touch_up(event: touch_event)
function ncine.on_touch_up(event: any)
function ncine.on_touch_up(event: touch_event)

ncine.particle_affector

ncine.particle_affector
ncine.particle_affector

ncine.particle_affector

add_color_step

function ncine.particle_affector.add_color_step(affector: any, age: any, color: any)

Adds a color step (if the affector type is COLOR)

add_position_step

function ncine.particle_affector.add_position_step(affector: any, age: any, position: any)

Adds a position step (if the affector type is POSITION)

add_rotation_step

function ncine.particle_affector.add_rotation_step(affector: any, age: any, angle: any)

Adds a rotation step (if the affector type is ROTATION)

add_size_step

function ncine.particle_affector.add_size_step(affector: any, age: any, scale: any)

Adds a size step (if the affector type is SIZE)

add_velocity_step

function ncine.particle_affector.add_velocity_step(affector: any, age: any, velocity: any)

Adds a velocity step (if the affector type is VELOCITY)

clear_steps

function ncine.particle_affector.clear_steps(affector: any)

Removes all steps

get_base_scale

function ncine.particle_affector.get_base_scale(affector: any)

Returns a base scale factor that will be multiplied by all size steps.

The affector type should be SIZE or the function will return nil.

get_color_steps

function ncine.particle_affector.get_color_steps(affector: any)

Returns the color steps as a table (or nil if the affector type is not COLOR)

get_position_steps

function ncine.particle_affector.get_position_steps(affector: any)

Returns the position steps as a table (or nil if the affector type is not POSITION)

get_rotation_steps

function ncine.particle_affector.get_rotation_steps(affector: any)

Returns the rotation steps as a table (or nil if the affector type is not ROTATION)

get_size_steps

function ncine.particle_affector.get_size_steps(affector: any)

Returns the size steps as a table (or nil if the affector type is not SIZE)

get_type

function ncine.particle_affector.get_type(affector: any)

Returns the affector type

get_velocity_steps

function ncine.particle_affector.get_velocity_steps(affector: any)

Returns the velocity steps as a table (or nil if the affector type is not VELOCITY)

is_enabled

function ncine.particle_affector.is_enabled(affector: any)

Returns true if the affector is enabled

num_steps

function ncine.particle_affector.num_steps(affector: any)

Returns the number of steps

remove_steps

function ncine.particle_affector.remove_steps(affector: any, index: any)

Removes the step at the specified position index

set_base_scale

function ncine.particle_affector.set_base_scale(affector: any, base_scale: any)

Sets a base scale factor that will be multiplied by all size steps.

The affector type should be SIZE or the function will do nothing.

set_enabled

function ncine.particle_affector.set_enabled(affector: any, enabled: any)

Enables or disables the affector


ncine.particle_affector.add_color_step

function ncine.particle_affector.add_color_step(affector: any, age: any, color: any)
function ncine.particle_affector.add_color_step(affector: any, age: any, red: any, green: any, blue: any, alpha: any)
function ncine.particle_affector.add_color_step(affector: affectorObj, age: number, color: ncine.color)
function ncine.particle_affector.add_color_step(affector: affectorObj, age: number, red: number, green: number, blue: number, alpha: number)
function ncine.particle_affector.add_color_step(affector: any, age: any, color: any)
function ncine.particle_affector.add_color_step(affector: any, age: any, red: any, green: any, blue: any, alpha: any)
function ncine.particle_affector.add_color_step(affector: affectorObj, age: number, color: ncine.color)
function ncine.particle_affector.add_color_step(affector: affectorObj, age: number, red: number, green: number, blue: number, alpha: number)

ncine.particle_affector.add_position_step

function ncine.particle_affector.add_position_step(affector: any, age: any, position: any)
function ncine.particle_affector.add_position_step(affector: any, age: any, position_x: any, position_y: any)
function ncine.particle_affector.add_position_step(affector: affectorObj, age: number, position: ncine.vec2)
function ncine.particle_affector.add_position_step(affector: affectorObj, age: number, position_x: number, position_y: number)
function ncine.particle_affector.add_position_step(affector: any, age: any, position: any)
function ncine.particle_affector.add_position_step(affector: any, age: any, position_x: any, position_y: any)
function ncine.particle_affector.add_position_step(affector: affectorObj, age: number, position: ncine.vec2)
function ncine.particle_affector.add_position_step(affector: affectorObj, age: number, position_x: number, position_y: number)

ncine.particle_affector.add_rotation_step

function ncine.particle_affector.add_rotation_step(affector: any, age: any, angle: any)
function ncine.particle_affector.add_rotation_step(affector: affectorObj, age: number, angle: number)
function ncine.particle_affector.add_rotation_step(affector: any, age: any, angle: any)
function ncine.particle_affector.add_rotation_step(affector: affectorObj, age: number, angle: number)

ncine.particle_affector.add_size_step

function ncine.particle_affector.add_size_step(affector: any, age: any, scale: any)
function ncine.particle_affector.add_size_step(affector: any, age: any, scale_x: any, scale_y: any)
function ncine.particle_affector.add_size_step(affector: affectorObj, age: number, scale: ncine.vec2)
function ncine.particle_affector.add_size_step(affector: affectorObj, age: number, scale_x: number, scale_y: number)
function ncine.particle_affector.add_size_step(affector: any, age: any, scale: any)
function ncine.particle_affector.add_size_step(affector: any, age: any, scale_x: any, scale_y: any)
function ncine.particle_affector.add_size_step(affector: affectorObj, age: number, scale: ncine.vec2)
function ncine.particle_affector.add_size_step(affector: affectorObj, age: number, scale_x: number, scale_y: number)

ncine.particle_affector.add_velocity_step

function ncine.particle_affector.add_velocity_step(affector: any, age: any, velocity: any)
function ncine.particle_affector.add_velocity_step(affector: any, age: any, velocity_x: any, velocity_y: any)
function ncine.particle_affector.add_velocity_step(affector: affectorObj, age: number, velocity: ncine.vec2)
function ncine.particle_affector.add_velocity_step(affector: affectorObj, age: number, velocity_x: number, velocity_y: number)
function ncine.particle_affector.add_velocity_step(affector: any, age: any, velocity: any)
function ncine.particle_affector.add_velocity_step(affector: any, age: any, velocity_x: any, velocity_y: any)
function ncine.particle_affector.add_velocity_step(affector: affectorObj, age: number, velocity: ncine.vec2)
function ncine.particle_affector.add_velocity_step(affector: affectorObj, age: number, velocity_x: number, velocity_y: number)

ncine.particle_affector.clear_steps

function ncine.particle_affector.clear_steps(affector: any)
function ncine.particle_affector.clear_steps(affector: affectorObj)
function ncine.particle_affector.clear_steps(affector: any)
function ncine.particle_affector.clear_steps(affector: affectorObj)

ncine.particle_affector.get_base_scale

function ncine.particle_affector.get_base_scale(affector: any)
function ncine.particle_affector.get_base_scale(affector: affectorObj)
  -> (ncine.vec2)?
function ncine.particle_affector.get_base_scale(affector: any)
function ncine.particle_affector.get_base_scale(affector: affectorObj)
  -> (ncine.vec2)?

ncine.particle_affector.get_color_steps

function ncine.particle_affector.get_color_steps(affector: any)
function ncine.particle_affector.get_color_steps(affector: affectorObj)
  -> affector_color_step[]?
function ncine.particle_affector.get_color_steps(affector: any)
function ncine.particle_affector.get_color_steps(affector: affectorObj)
  -> affector_color_step[]?

ncine.particle_affector.get_position_steps

function ncine.particle_affector.get_position_steps(affector: any)
function ncine.particle_affector.get_position_steps(affector: affectorObj)
  -> affector_position_step[]?
function ncine.particle_affector.get_position_steps(affector: any)
function ncine.particle_affector.get_position_steps(affector: affectorObj)
  -> affector_position_step[]?

ncine.particle_affector.get_rotation_steps

function ncine.particle_affector.get_rotation_steps(affector: any)
function ncine.particle_affector.get_rotation_steps(affector: affectorObj)
  -> affector_rotation_step[]?
function ncine.particle_affector.get_rotation_steps(affector: any)
function ncine.particle_affector.get_rotation_steps(affector: affectorObj)
  -> affector_rotation_step[]?

ncine.particle_affector.get_size_steps

function ncine.particle_affector.get_size_steps(affector: any)
function ncine.particle_affector.get_size_steps(affector: affectorObj)
  -> affector_size_step_vector[]?
function ncine.particle_affector.get_size_steps(affector: any)
function ncine.particle_affector.get_size_steps(affector: affectorObj)
  -> affector_size_step_vector[]?

ncine.particle_affector.get_type

function ncine.particle_affector.get_type(affector: any)
function ncine.particle_affector.get_type(affector: affectorObj)
  -> ncine.affector_type
function ncine.particle_affector.get_type(affector: any)
function ncine.particle_affector.get_type(affector: affectorObj)
  -> ncine.affector_type

ncine.particle_affector.get_velocity_steps

function ncine.particle_affector.get_velocity_steps(affector: any)
function ncine.particle_affector.get_velocity_steps(affector: affectorObj)
  -> affector_velocity_step[]?
function ncine.particle_affector.get_velocity_steps(affector: any)
function ncine.particle_affector.get_velocity_steps(affector: affectorObj)
  -> affector_velocity_step[]?

ncine.particle_affector.is_enabled

function ncine.particle_affector.is_enabled(affector: any)
function ncine.particle_affector.is_enabled(affector: affectorObj)
  -> boolean
function ncine.particle_affector.is_enabled(affector: any)
function ncine.particle_affector.is_enabled(affector: affectorObj)
  -> boolean

ncine.particle_affector.num_steps

function ncine.particle_affector.num_steps(affector: any)
function ncine.particle_affector.num_steps(affector: affectorObj)
  -> integer
function ncine.particle_affector.num_steps(affector: any)
function ncine.particle_affector.num_steps(affector: affectorObj)
  -> integer

ncine.particle_affector.remove_steps

function ncine.particle_affector.remove_steps(affector: any, index: any)
function ncine.particle_affector.remove_steps(affector: affectorObj, index: integer)
function ncine.particle_affector.remove_steps(affector: any, index: any)
function ncine.particle_affector.remove_steps(affector: affectorObj, index: integer)

ncine.particle_affector.set_base_scale

function ncine.particle_affector.set_base_scale(affector: any, base_scale: any)
function ncine.particle_affector.set_base_scale(affector: affectorObj, base_scale: ncine.vec2)
function ncine.particle_affector.set_base_scale(affector: any, base_scale: any)
function ncine.particle_affector.set_base_scale(affector: affectorObj, base_scale: ncine.vec2)

ncine.particle_affector.set_enabled

function ncine.particle_affector.set_enabled(affector: any, enabled: any)
function ncine.particle_affector.set_enabled(affector: affectorObj, enabled: boolean)
function ncine.particle_affector.set_enabled(affector: any, enabled: any)
function ncine.particle_affector.set_enabled(affector: affectorObj, enabled: boolean)

ncine.particle_system

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

add_color_affector

function ncine.particle_system.add_color_affector(particle_system: any, color_steps: any)

Adds a color particle affector

add_position_affector

function ncine.particle_system.add_position_affector(particle_system: any, position_steps: any)

Adds a position particle affector

add_rotation_affector

function ncine.particle_system.add_rotation_affector(particle_system: any, rotation_steps: any)

Adds a rotation particle affector

add_size_affector

function ncine.particle_system.add_size_affector(particle_system: any, base_scale: any, size_steps: any)

Adds a size particle affector

add_velocity_affector

function ncine.particle_system.add_velocity_affector(particle_system: any, velocity_steps: any)

Adds a velocity particle affector

clear_affectors

function ncine.particle_system.clear_affectors(particle_system: any)

Deletes all particle affectors

clone

function ncine.particle_system.clone(particle_system: any)

Constructs a new particle system object as a clone of the specified one.

Don't forget to call @{delete} when you are done with it!

delete

function ncine.particle_system.delete(particle_system: any)

Destroys a particle system object and releases its memory

emit_particles

function ncine.particle_system.emit_particles(particle_system: any, initializer: any)

Emits particles with the specified initialization parameters

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_affector

function ncine.particle_system.get_affector(particle_system: any, index: any)

Returns the affector at the specified index

get_affectors_enabled

function ncine.particle_system.get_affectors_enabled(particle_system: any)

Returns true if affectors are modifying particles properties

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_in_local_space

function ncine.particle_system.get_in_local_space(particle_system: any)

Returns true if particles are positioned using the particle system as their origin

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_particles_update_enabled

function ncine.particle_system.get_particles_update_enabled(particle_system: any)

Returns true if particles are updating

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

kill_particles

function ncine.particle_system.kill_particles(particle_system: any)

Kills all alive particles

new

function ncine.particle_system.new(parent: any, count: any, texture: any, tex_rect: any)

Constructs a particle system.

Don't forget to call @{delete} when you are done with it!

num_affectors

function ncine.particle_system.num_affectors(particle_system: any)

Returns the number of affectors

num_alive_particles

function ncine.particle_system.num_alive_particles(particle_system: any)

Returns the number of particles currently alive

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

num_particles

function ncine.particle_system.num_particles(particle_system: any)

Returns the total number of particles in the system

remove_affector

function ncine.particle_system.remove_affector(particle_system: any, index: any)

Removes the affector at the specified index

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_affectors_enabled

function ncine.particle_system.set_affectors_enabled(particle_system: any, enabled: any)

Enables or disables affectors modifying particles properties

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.particle_system.set_anchor_point(particle_system: any, point: any)

Sets the transformation anchor point for every particle in the system with a ncine.vec2

set_blending_factors

function ncine.particle_system.set_blending_factors(particle_system: any, src_factor: any, dest_factor: any)

Sets the source and destination blending factors for every particle in the system

set_blending_preset

function ncine.particle_system.set_blending_preset(particle_system: any, blending_preset: any)

Sets the blending factors preset for every particle in the system

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_flipped_x

function ncine.particle_system.set_flipped_x(particle_system: any, flipped_x: any)

Flips the texture rect horizontally for every particle in the system

set_flipped_y

function ncine.particle_system.set_flipped_y(particle_system: any, flipped_y: any)

Flips the texture rect vertically for every particle in the system

set_in_local_space

function ncine.particle_system.set_in_local_space(particle_system: any, local_space: any)

Sets or clears the local space flag, to move particles around the particle system or freely

set_layer

function ncine.particle_system.set_layer(particle_system: any, layer: any)

Sets the rendering layer for every particle in the system

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_particles_update_enabled

function ncine.particle_system.set_particles_update_enabled(particle_system: any, enabled: any)

Enables or disables particles updating

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_texture

function ncine.particle_system.set_texture(particle_system: any, texture: any)

Sets the texture object for every particle in the system

set_texture_rect

function ncine.particle_system.set_texture_rect(particle_system: any, tex_rect: any)

Sets the texture source rectangle for every particle in the system

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.particle_system

ncine.particle_system
ncine.particle_system

ncine.particle_system.add_color_affector

function ncine.particle_system.add_color_affector(particle_system: any, color_steps: any)
function ncine.particle_system.add_color_affector(particle_system: particlesystemObj, color_steps: affector_color_step[])
function ncine.particle_system.add_color_affector(particle_system: any, color_steps: any)
function ncine.particle_system.add_color_affector(particle_system: particlesystemObj, color_steps: affector_color_step[])

ncine.particle_system.add_position_affector

function ncine.particle_system.add_position_affector(particle_system: any, position_steps: any)
function ncine.particle_system.add_position_affector(particle_system: particlesystemObj, position_steps: affector_position_step[])
function ncine.particle_system.add_position_affector(particle_system: any, position_steps: any)
function ncine.particle_system.add_position_affector(particle_system: particlesystemObj, position_steps: affector_position_step[])

ncine.particle_system.add_rotation_affector

function ncine.particle_system.add_rotation_affector(particle_system: any, rotation_steps: any)
function ncine.particle_system.add_rotation_affector(particle_system: particlesystemObj, rotation_steps: affector_rotation_step[])
function ncine.particle_system.add_rotation_affector(particle_system: any, rotation_steps: any)
function ncine.particle_system.add_rotation_affector(particle_system: particlesystemObj, rotation_steps: affector_rotation_step[])

ncine.particle_system.add_size_affector

function ncine.particle_system.add_size_affector(particle_system: any, base_scale: any, size_steps: any)
function ncine.particle_system.add_size_affector(particle_system: any, base_scale: any, size_steps: any)
function ncine.particle_system.add_size_affector(particle_system: particlesystemObj, base_scale: number, size_steps: affector_size_step_factor[])
function ncine.particle_system.add_size_affector(particle_system: particlesystemObj, base_scale: number, size_steps: affector_size_step_vector[])
function ncine.particle_system.add_size_affector(particle_system: any, base_scale: any, size_steps: any)
function ncine.particle_system.add_size_affector(particle_system: any, base_scale: any, size_steps: any)
function ncine.particle_system.add_size_affector(particle_system: particlesystemObj, base_scale: number, size_steps: affector_size_step_factor[])
function ncine.particle_system.add_size_affector(particle_system: particlesystemObj, base_scale: number, size_steps: affector_size_step_vector[])

ncine.particle_system.add_velocity_affector

function ncine.particle_system.add_velocity_affector(particle_system: any, velocity_steps: any)
function ncine.particle_system.add_velocity_affector(particle_system: particlesystemObj, velocity_steps: affector_velocity_step[])
function ncine.particle_system.add_velocity_affector(particle_system: any, velocity_steps: any)
function ncine.particle_system.add_velocity_affector(particle_system: particlesystemObj, velocity_steps: affector_velocity_step[])

ncine.particle_system.clear_affectors

function ncine.particle_system.clear_affectors(particle_system: any)
function ncine.particle_system.clear_affectors(particle_system: particlesystemObj)
function ncine.particle_system.clear_affectors(particle_system: any)
function ncine.particle_system.clear_affectors(particle_system: particlesystemObj)

ncine.particle_system.clone

function ncine.particle_system.clone(particle_system: any)
function ncine.particle_system.clone(particle_system: particlesystemObj)
  -> particlesystemObj
function ncine.particle_system.clone(particle_system: any)
function ncine.particle_system.clone(particle_system: particlesystemObj)
  -> particlesystemObj

ncine.particle_system.delete

function ncine.particle_system.delete(particle_system: any)
function ncine.particle_system.delete(particle_system: particlesystemObj)
function ncine.particle_system.delete(particle_system: any)
function ncine.particle_system.delete(particle_system: particlesystemObj)

ncine.particle_system.emit_particles

function ncine.particle_system.emit_particles(particle_system: any, initializer: any)
function ncine.particle_system.emit_particles(particle_system: particlesystemObj, initializer: particle_initializer)
function ncine.particle_system.emit_particles(particle_system: any, initializer: any)
function ncine.particle_system.emit_particles(particle_system: particlesystemObj, initializer: particle_initializer)

ncine.particle_system.get_affector

function ncine.particle_system.get_affector(particle_system: any, index: any)
function ncine.particle_system.get_affector(particle_system: particlesystemObj, index: integer)
  -> affectorObj?
function ncine.particle_system.get_affector(particle_system: any, index: any)
function ncine.particle_system.get_affector(particle_system: particlesystemObj, index: integer)
  -> affectorObj?

ncine.particle_system.get_affectors_enabled

function ncine.particle_system.get_affectors_enabled(particle_system: any)
function ncine.particle_system.get_affectors_enabled(particle_system: particlesystemObj)
  -> boolean
function ncine.particle_system.get_affectors_enabled(particle_system: any)
function ncine.particle_system.get_affectors_enabled(particle_system: particlesystemObj)
  -> boolean

ncine.particle_system.get_in_local_space

function ncine.particle_system.get_in_local_space(particle_system: any)
function ncine.particle_system.get_in_local_space(particle_system: particlesystemObj)
  -> boolean
function ncine.particle_system.get_in_local_space(particle_system: any)
function ncine.particle_system.get_in_local_space(particle_system: particlesystemObj)
  -> boolean

ncine.particle_system.get_particles_update_enabled

function ncine.particle_system.get_particles_update_enabled(particle_system: any)
function ncine.particle_system.get_particles_update_enabled(particle_system: particlesystemObj)
  -> boolean
function ncine.particle_system.get_particles_update_enabled(particle_system: any)
function ncine.particle_system.get_particles_update_enabled(particle_system: particlesystemObj)
  -> boolean

ncine.particle_system.kill_particles

function ncine.particle_system.kill_particles(particle_system: any)
function ncine.particle_system.kill_particles(particle_system: particlesystemObj)
function ncine.particle_system.kill_particles(particle_system: any)
function ncine.particle_system.kill_particles(particle_system: particlesystemObj)

ncine.particle_system.new

function ncine.particle_system.new(parent: any, count: any, texture: any, tex_rect: any)
function ncine.particle_system.new(parent?: scenenodeObj, count: integer, texture?: textureObj, tex_rect: ncine.rect)
  -> particlesystemObj
function ncine.particle_system.new(parent: any, count: any, texture: any, tex_rect: any)
function ncine.particle_system.new(parent?: scenenodeObj, count: integer, texture?: textureObj, tex_rect: ncine.rect)
  -> particlesystemObj

ncine.particle_system.num_affectors

function ncine.particle_system.num_affectors(particle_system: any)
function ncine.particle_system.num_affectors(particle_system: particlesystemObj)
  -> integer
function ncine.particle_system.num_affectors(particle_system: any)
function ncine.particle_system.num_affectors(particle_system: particlesystemObj)
  -> integer

ncine.particle_system.num_alive_particles

function ncine.particle_system.num_alive_particles(particle_system: any)
function ncine.particle_system.num_alive_particles(particle_system: particlesystemObj)
  -> integer
function ncine.particle_system.num_alive_particles(particle_system: any)
function ncine.particle_system.num_alive_particles(particle_system: particlesystemObj)
  -> integer

ncine.particle_system.num_particles

function ncine.particle_system.num_particles(particle_system: any)
function ncine.particle_system.num_particles(particle_system: particlesystemObj)
  -> integer
function ncine.particle_system.num_particles(particle_system: any)
function ncine.particle_system.num_particles(particle_system: particlesystemObj)
  -> integer

ncine.particle_system.remove_affector

function ncine.particle_system.remove_affector(particle_system: any, index: any)
function ncine.particle_system.remove_affector(particle_system: particlesystemObj, index: integer)
function ncine.particle_system.remove_affector(particle_system: any, index: any)
function ncine.particle_system.remove_affector(particle_system: particlesystemObj, index: integer)

ncine.particle_system.set_affectors_enabled

function ncine.particle_system.set_affectors_enabled(particle_system: any, enabled: any)
function ncine.particle_system.set_affectors_enabled(particle_system: particlesystemObj, enabled: boolean)
function ncine.particle_system.set_affectors_enabled(particle_system: any, enabled: any)
function ncine.particle_system.set_affectors_enabled(particle_system: particlesystemObj, enabled: boolean)

ncine.particle_system.set_anchor_point

function ncine.particle_system.set_anchor_point(particle_system: any, point: any)
function ncine.particle_system.set_anchor_point(particle_system: any, point_x: any, point_y: any)
function ncine.particle_system.set_anchor_point(particle_system: particlesystemObj, point: ncine.vec2)
function ncine.particle_system.set_anchor_point(particle_system: particlesystemObj, point_x: number, point_y: number)
function ncine.particle_system.set_anchor_point(particle_system: any, point: any)
function ncine.particle_system.set_anchor_point(particle_system: any, point_x: any, point_y: any)
function ncine.particle_system.set_anchor_point(particle_system: particlesystemObj, point: ncine.vec2)
function ncine.particle_system.set_anchor_point(particle_system: particlesystemObj, point_x: number, point_y: number)

ncine.particle_system.set_blending_factors

function ncine.particle_system.set_blending_factors(particle_system: any, src_factor: any, dest_factor: any)
function ncine.particle_system.set_blending_factors(particle_system: particlesystemObj, src_factor: ncine.blending_factor, dest_factor: ncine.blending_factor)
function ncine.particle_system.set_blending_factors(particle_system: any, src_factor: any, dest_factor: any)
function ncine.particle_system.set_blending_factors(particle_system: particlesystemObj, src_factor: ncine.blending_factor, dest_factor: ncine.blending_factor)

ncine.particle_system.set_blending_preset

function ncine.particle_system.set_blending_preset(particle_system: any, blending_preset: any)
function ncine.particle_system.set_blending_preset(particle_system: particlesystemObj, blending_preset: ncine.blending_preset)
function ncine.particle_system.set_blending_preset(particle_system: any, blending_preset: any)
function ncine.particle_system.set_blending_preset(particle_system: particlesystemObj, blending_preset: ncine.blending_preset)

ncine.particle_system.set_flipped_x

function ncine.particle_system.set_flipped_x(particle_system: any, flipped_x: any)
function ncine.particle_system.set_flipped_x(particle_system: particlesystemObj, flipped_x: boolean)
function ncine.particle_system.set_flipped_x(particle_system: any, flipped_x: any)
function ncine.particle_system.set_flipped_x(particle_system: particlesystemObj, flipped_x: boolean)

ncine.particle_system.set_flipped_y

function ncine.particle_system.set_flipped_y(particle_system: any, flipped_y: any)
function ncine.particle_system.set_flipped_y(particle_system: particlesystemObj, flipped_y: boolean)
function ncine.particle_system.set_flipped_y(particle_system: any, flipped_y: any)
function ncine.particle_system.set_flipped_y(particle_system: particlesystemObj, flipped_y: boolean)

ncine.particle_system.set_in_local_space

function ncine.particle_system.set_in_local_space(particle_system: any, local_space: any)
function ncine.particle_system.set_in_local_space(particle_system: particlesystemObj, local_space: boolean)
function ncine.particle_system.set_in_local_space(particle_system: any, local_space: any)
function ncine.particle_system.set_in_local_space(particle_system: particlesystemObj, local_space: boolean)

ncine.particle_system.set_layer

function ncine.particle_system.set_layer(particle_system: any, layer: any)
function ncine.particle_system.set_layer(particle_system: particlesystemObj, layer: integer)
function ncine.particle_system.set_layer(particle_system: any, layer: any)
function ncine.particle_system.set_layer(particle_system: particlesystemObj, layer: integer)

ncine.particle_system.set_particles_update_enabled

function ncine.particle_system.set_particles_update_enabled(particle_system: any, enabled: any)
function ncine.particle_system.set_particles_update_enabled(particle_system: particlesystemObj, enabled: boolean)
function ncine.particle_system.set_particles_update_enabled(particle_system: any, enabled: any)
function ncine.particle_system.set_particles_update_enabled(particle_system: particlesystemObj, enabled: boolean)

ncine.particle_system.set_texture

function ncine.particle_system.set_texture(particle_system: any, texture: any)
function ncine.particle_system.set_texture(particle_system: particlesystemObj, texture: textureObj)
function ncine.particle_system.set_texture(particle_system: any, texture: any)
function ncine.particle_system.set_texture(particle_system: particlesystemObj, texture: textureObj)

ncine.particle_system.set_texture_rect

function ncine.particle_system.set_texture_rect(particle_system: any, tex_rect: any)
function ncine.particle_system.set_texture_rect(particle_system: particlesystemObj, tex_rect: ncine.rect)
function ncine.particle_system.set_texture_rect(particle_system: any, tex_rect: any)
function ncine.particle_system.set_texture_rect(particle_system: particlesystemObj, tex_rect: ncine.rect)

ncine.permission

table
enum ncine.permission
table
enum ncine.permission

ncine.rect

ncine.rect
ncine.rect

ncine.rect

create

function ncine.rect.create(x: any, y: any, w: any, h: any)

Creates a rect table from top-left point and size

create_center_size

function ncine.rect.create_center_size(x: any, y: any, w: any, h: any)

Creates a vec2 table from center and size

create_min_max

function ncine.rect.create_min_max(min_x: any, min_y: any, max_x: any, max_y: any)

Creates a vec2 table from its components

h

number

The height

set_min_max

function ncine.rect.set_min_max(min_x: any, min_y: any, max_x: any, max_y: any)

Sets rectangle minimum and maximum coordinates

w

number

The width

x

number

The top-left X coordinate (left with positive width)

y

number

The top-left Y coordinate (top with positive height)


ncine.rect.create

function ncine.rect.create(x: any, y: any, w: any, h: any)
function ncine.rect.create(x: number, y: number, w: number, h: number)
  -> ncine.rect
function ncine.rect.create(x: any, y: any, w: any, h: any)
function ncine.rect.create(x: number, y: number, w: number, h: number)
  -> ncine.rect

ncine.rect.create_center_size

function ncine.rect.create_center_size(x: any, y: any, w: any, h: any)
function ncine.rect.create_center_size(x: number, y: number, w: number, h: number)
  -> ncine.rect
function ncine.rect.create_center_size(x: any, y: any, w: any, h: any)
function ncine.rect.create_center_size(x: number, y: number, w: number, h: number)
  -> ncine.rect

ncine.rect.create_min_max

function ncine.rect.create_min_max(min_x: any, min_y: any, max_x: any, max_y: any)
function ncine.rect.create_min_max(min_x: number, min_y: number, max_x: number, max_y: number)
  -> ncine.rect
function ncine.rect.create_min_max(min_x: any, min_y: any, max_x: any, max_y: any)
function ncine.rect.create_min_max(min_x: number, min_y: number, max_x: number, max_y: number)
  -> ncine.rect

ncine.rect.set_min_max

function ncine.rect.set_min_max(min_x: any, min_y: any, max_x: any, max_y: any)
function ncine.rect.set_min_max(min_x: number, min_y: number, max_x: number, max_y: number)
  -> ncine.rect
function ncine.rect.set_min_max(min_x: any, min_y: any, max_x: any, max_y: any)
function ncine.rect.set_min_max(min_x: number, min_y: number, max_x: number, max_y: number)
  -> ncine.rect

ncine.rect_animation

ncine.rect_animation
ncine.rect_animation

ncine.rect_animation

frame_duration

number

Frame duration in seconds

loop

ncine.loop_mode

Loop state

num_rectangles_to_skip

integer?

Optional field, default is 0

padding

(ncine.vec2)?

Optional field, default is { x = 0, y = 0 }

rect_size

ncine.vec2

A two component vector

rewind

ncine.rewind_mode

Rewind modes

source_rect

ncine.rect

A rectangle in 2D


ncine.rewind_mode

table
enum ncine.rewind_mode
table
enum ncine.rewind_mode

ncine.scenenode

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.scenenode

ncine.scenenode
ncine.scenenode

ncine.scenenode.add_child

function ncine.scenenode.add_child(parent: any, node: any)
function ncine.scenenode.add_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean
function ncine.scenenode.add_child(parent: any, node: any)
function ncine.scenenode.add_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean

ncine.scenenode.get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)
function ncine.scenenode.get_abs_anchor_point(node: scenenodeObj)
  -> ncine.vec2
function ncine.scenenode.get_abs_anchor_point(node: any)
function ncine.scenenode.get_abs_anchor_point(node: scenenodeObj)
  -> ncine.vec2

ncine.scenenode.get_alpha

function ncine.scenenode.get_alpha(node: any)
function ncine.scenenode.get_alpha(node: scenenodeObj)
  -> number
function ncine.scenenode.get_alpha(node: any)
function ncine.scenenode.get_alpha(node: scenenodeObj)
  -> number

ncine.scenenode.get_child

function ncine.scenenode.get_child(node: any, index: any)
function ncine.scenenode.get_child(node: scenenodeObj, index: integer)
  -> scenenodeObj?
function ncine.scenenode.get_child(node: any, index: any)
function ncine.scenenode.get_child(node: scenenodeObj, index: integer)
  -> scenenodeObj?

ncine.scenenode.get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)
function ncine.scenenode.get_child_order_index(node: scenenodeObj)
  -> integer
function ncine.scenenode.get_child_order_index(node: any)
function ncine.scenenode.get_child_order_index(node: scenenodeObj)
  -> integer

ncine.scenenode.get_children

function ncine.scenenode.get_children(node: any)
function ncine.scenenode.get_children(node: scenenodeObj)
  -> scenenodeObj[]
function ncine.scenenode.get_children(node: any)
function ncine.scenenode.get_children(node: scenenodeObj)
  -> scenenodeObj[]

ncine.scenenode.get_color

function ncine.scenenode.get_color(node: any)
function ncine.scenenode.get_color(node: scenenodeObj)
  -> ncine.color
function ncine.scenenode.get_color(node: any)
function ncine.scenenode.get_color(node: scenenodeObj)
  -> ncine.color

ncine.scenenode.get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)
function ncine.scenenode.get_last_frame_updated(node: scenenodeObj)
  -> integer
function ncine.scenenode.get_last_frame_updated(node: any)
function ncine.scenenode.get_last_frame_updated(node: scenenodeObj)
  -> integer

ncine.scenenode.get_layer

function ncine.scenenode.get_layer(node: any)
function ncine.scenenode.get_layer(node: scenenodeObj)
  -> integer
function ncine.scenenode.get_layer(node: any)
function ncine.scenenode.get_layer(node: scenenodeObj)
  -> integer

ncine.scenenode.get_parent

function ncine.scenenode.get_parent(node: any)
function ncine.scenenode.get_parent(node: scenenodeObj)
  -> scenenodeObj?
function ncine.scenenode.get_parent(node: any)
function ncine.scenenode.get_parent(node: scenenodeObj)
  -> scenenodeObj?

ncine.scenenode.get_position

function ncine.scenenode.get_position(node: any)
function ncine.scenenode.get_position(node: scenenodeObj)
  -> ncine.vec2
function ncine.scenenode.get_position(node: any)
function ncine.scenenode.get_position(node: scenenodeObj)
  -> ncine.vec2

ncine.scenenode.get_rotation

function ncine.scenenode.get_rotation(node: any)
function ncine.scenenode.get_rotation(node: scenenodeObj)
  -> number
function ncine.scenenode.get_rotation(node: any)
function ncine.scenenode.get_rotation(node: scenenodeObj)
  -> number

ncine.scenenode.get_scale

function ncine.scenenode.get_scale(node: any)
function ncine.scenenode.get_scale(node: scenenodeObj)
  -> ncine.vec2
function ncine.scenenode.get_scale(node: any)
function ncine.scenenode.get_scale(node: scenenodeObj)
  -> ncine.vec2

ncine.scenenode.get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)
function ncine.scenenode.get_visit_order_index(node: scenenodeObj)
  -> integer
function ncine.scenenode.get_visit_order_index(node: any)
function ncine.scenenode.get_visit_order_index(node: scenenodeObj)
  -> integer

ncine.scenenode.get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)
function ncine.scenenode.get_visit_order_state(node: scenenodeObj)
  -> ncine.visit_order_state
function ncine.scenenode.get_visit_order_state(node: any)
function ncine.scenenode.get_visit_order_state(node: scenenodeObj)
  -> ncine.visit_order_state

ncine.scenenode.is_enabled

function ncine.scenenode.is_enabled(node: any)
function ncine.scenenode.is_enabled(node: scenenodeObj)
  -> boolean
function ncine.scenenode.is_enabled(node: any)
function ncine.scenenode.is_enabled(node: scenenodeObj)
  -> boolean

ncine.scenenode.num_children

function ncine.scenenode.num_children(node: any)
function ncine.scenenode.num_children(node: scenenodeObj)
  -> integer
function ncine.scenenode.num_children(node: any)
function ncine.scenenode.num_children(node: scenenodeObj)
  -> integer

ncine.scenenode.remove_all_children

function ncine.scenenode.remove_all_children(parent: any)
function ncine.scenenode.remove_all_children(parent: scenenodeObj)
  -> boolean
function ncine.scenenode.remove_all_children(parent: any)
function ncine.scenenode.remove_all_children(parent: scenenodeObj)
  -> boolean

ncine.scenenode.remove_child

function ncine.scenenode.remove_child(parent: any, node: any)
function ncine.scenenode.remove_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean
function ncine.scenenode.remove_child(parent: any, node: any)
function ncine.scenenode.remove_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean

ncine.scenenode.remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)
function ncine.scenenode.remove_child_at(parent: scenenodeObj, index: integer)
  -> boolean
function ncine.scenenode.remove_child_at(parent: any, index: any)
function ncine.scenenode.remove_child_at(parent: scenenodeObj, index: integer)
  -> boolean

ncine.scenenode.set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)
function ncine.scenenode.set_abs_anchor_point(node: any, x: any, y: any)
function ncine.scenenode.set_abs_anchor_point(node: scenenodeObj, pos: ncine.vec2)
function ncine.scenenode.set_abs_anchor_point(node: scenenodeObj, x: number, y: number)
function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)
function ncine.scenenode.set_abs_anchor_point(node: any, x: any, y: any)
function ncine.scenenode.set_abs_anchor_point(node: scenenodeObj, pos: ncine.vec2)
function ncine.scenenode.set_abs_anchor_point(node: scenenodeObj, x: number, y: number)

ncine.scenenode.set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)
function ncine.scenenode.set_alpha(node: scenenodeObj, alpha: number)
function ncine.scenenode.set_alpha(node: any, alpha: any)
function ncine.scenenode.set_alpha(node: scenenodeObj, alpha: number)

ncine.scenenode.set_color

function ncine.scenenode.set_color(node: any, color: any)
function ncine.scenenode.set_color(node: any, red: any, green: any, blue: any, alpha: any)
function ncine.scenenode.set_color(node: scenenodeObj, color: ncine.color)
function ncine.scenenode.set_color(node: scenenodeObj, red: number, green: number, blue: number, alpha: number)
function ncine.scenenode.set_color(node: any, color: any)
function ncine.scenenode.set_color(node: any, red: any, green: any, blue: any, alpha: any)
function ncine.scenenode.set_color(node: scenenodeObj, color: ncine.color)
function ncine.scenenode.set_color(node: scenenodeObj, red: number, green: number, blue: number, alpha: number)

ncine.scenenode.set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)
function ncine.scenenode.set_enabled(node: scenenodeObj, enabled: boolean)
function ncine.scenenode.set_enabled(node: any, enabled: any)
function ncine.scenenode.set_enabled(node: scenenodeObj, enabled: boolean)

ncine.scenenode.set_layer

function ncine.scenenode.set_layer(node: any, layer: any)
function ncine.scenenode.set_layer(node: scenenodeObj, layer: integer)
function ncine.scenenode.set_layer(node: any, layer: any)
function ncine.scenenode.set_layer(node: scenenodeObj, layer: integer)

ncine.scenenode.set_parent

function ncine.scenenode.set_parent(node: any, parent: any)
function ncine.scenenode.set_parent(node: scenenodeObj, parent?: scenenodeObj)
  -> boolean
function ncine.scenenode.set_parent(node: any, parent: any)
function ncine.scenenode.set_parent(node: scenenodeObj, parent?: scenenodeObj)
  -> boolean

ncine.scenenode.set_position

function ncine.scenenode.set_position(node: any, pos: any)
function ncine.scenenode.set_position(node: any, x: any, y: any)
function ncine.scenenode.set_position(node: scenenodeObj, pos: ncine.vec2)
function ncine.scenenode.set_position(node: scenenodeObj, x: number, y: number)
function ncine.scenenode.set_position(node: any, pos: any)
function ncine.scenenode.set_position(node: any, x: any, y: any)
function ncine.scenenode.set_position(node: scenenodeObj, pos: ncine.vec2)
function ncine.scenenode.set_position(node: scenenodeObj, x: number, y: number)

ncine.scenenode.set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)
function ncine.scenenode.set_rotation(node: scenenodeObj, rot: number)
function ncine.scenenode.set_rotation(node: any, rot: any)
function ncine.scenenode.set_rotation(node: scenenodeObj, rot: number)

ncine.scenenode.set_scale

function ncine.scenenode.set_scale(node: any, factor: any)
function ncine.scenenode.set_scale(node: scenenodeObj, factor: number)
function ncine.scenenode.set_scale(node: any, factor: any)
function ncine.scenenode.set_scale(node: scenenodeObj, factor: number)

ncine.scenenode.set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)
function ncine.scenenode.set_scale_x(node: scenenodeObj, factor: number)
function ncine.scenenode.set_scale_x(node: any, factor: any)
function ncine.scenenode.set_scale_x(node: scenenodeObj, factor: number)

ncine.scenenode.set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)
function ncine.scenenode.set_scale_y(node: scenenodeObj, factor: number)
function ncine.scenenode.set_scale_y(node: any, factor: any)
function ncine.scenenode.set_scale_y(node: scenenodeObj, factor: number)

ncine.scenenode.set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)
function ncine.scenenode.set_visit_order_state(node: scenenodeObj, state: ncine.visit_order_state)
function ncine.scenenode.set_visit_order_state(node: any, state: any)
function ncine.scenenode.set_visit_order_state(node: scenenodeObj, state: ncine.visit_order_state)

ncine.scenenode.swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)
function ncine.scenenode.swap_children(parent: scenenodeObj, firstIndex: integer, secondIndex: integer)
  -> boolean
function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)
function ncine.scenenode.swap_children(parent: scenenodeObj, firstIndex: integer, secondIndex: integer)
  -> boolean

ncine.scenenode.swap_node_back

function ncine.scenenode.swap_node_back(node: any)
function ncine.scenenode.swap_node_back(node: scenenodeObj)
  -> boolean
function ncine.scenenode.swap_node_back(node: any)
function ncine.scenenode.swap_node_back(node: scenenodeObj)
  -> boolean

ncine.scenenode.swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)
function ncine.scenenode.swap_node_forward(node: scenenodeObj)
  -> boolean
function ncine.scenenode.swap_node_forward(node: any)
function ncine.scenenode.swap_node_forward(node: scenenodeObj)
  -> boolean

ncine.scenenode.unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)
function ncine.scenenode.unlink_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean
function ncine.scenenode.unlink_child(parent: any, node: any)
function ncine.scenenode.unlink_child(parent: scenenodeObj, node: scenenodeObj)
  -> boolean

ncine.shader

ncine.shader
ncine.shader

ncine.shader

delete

function ncine.shader.delete(shader: any)

Destroys a shader object and releases its memory

get_log_on_errors

function ncine.shader.get_log_on_errors(shader: any)

Returns the automatic log on errors flag

is_binary_cache_enabled

function ncine.shader.is_binary_cache_enabled()

Returns true if the binary shader cache is enabled

is_linked

function ncine.shader.is_linked(shader: any)

Returns true if the shader is linked and can therefore be used

load_from_file

function ncine.shader.load_from_file(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading shader sources from files

load_from_file_default_fragment

function ncine.shader.load_from_file_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading the vertex shader source from a file.

In this case the fragment shader is a default one.

load_from_file_default_vertex

function ncine.shader.load_from_file_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading the fragment shader source from a file.

In this case the vertex shader is a default one.

load_from_memory

function ncine.shader.load_from_memory(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading shader sources from strings

load_from_memory_default_fragment

function ncine.shader.load_from_memory_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading the vertex shader source from a string.

The fragment shader is a default one, in this case.

load_from_memory_default_vertex

function ncine.shader.load_from_memory_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)

Compiles a shader program after loading the fragment shader source from a string.

The vertex shader is a default one, in this case.

load_from_memory_with_hashes

function ncine.shader.load_from_memory_with_hashes(shader: any, name: any, introspection: any, vertex: any, fragment: any, vertex_hash: any, fragment_hash: any)

Compiles a shader program after loading shader sources from strings.

In this case custom hashes can be passed to the function.

new

function ncine.shader.new()

Constructs a shader object.

Don't forget to call @{delete} when you are done with it!

register_batched_shader

function ncine.shader.register_batched_shader(shader: any, batched_shader: any)

Registers a shader to be used for batches of render commands

retrieve_infolog

function ncine.shader.retrieve_infolog(shader: any)

Retrieves the information log

retrieve_infolog_length

function ncine.shader.retrieve_infolog_length(shader: any)

Returns the length of the information log including the null termination character

set_attribute

function ncine.shader.set_attribute(shader: any, attribute: any, stride: any, pointer: any)

Sets the VBO stride and pointer for the specified vertex attribute

set_binary_cache_enabled

function ncine.shader.set_binary_cache_enabled(enable: any)

Enables or disables the binary shader cache

set_glshaderprogram_label

function ncine.shader.set_glshaderprogram_label(shader: any, label: any)

Sets the OpenGL object label for the shader program

set_log_on_errors

function ncine.shader.set_log_on_errors(shader: any, should_log: any)

Sets the automatic log on errors flag.

If the flag is set to true, the shader will automatically log compilation and linking errors.


ncine.shader.delete

function ncine.shader.delete(shader: any)
function ncine.shader.delete(shader: shaderObj)
function ncine.shader.delete(shader: any)
function ncine.shader.delete(shader: shaderObj)

ncine.shader.get_log_on_errors

function ncine.shader.get_log_on_errors(shader: any)
function ncine.shader.get_log_on_errors(shader: shaderObj)
  -> boolean
function ncine.shader.get_log_on_errors(shader: any)
function ncine.shader.get_log_on_errors(shader: shaderObj)
  -> boolean

ncine.shader.is_binary_cache_enabled

function ncine.shader.is_binary_cache_enabled()
function ncine.shader.is_binary_cache_enabled()
  -> boolean
function ncine.shader.is_binary_cache_enabled()
function ncine.shader.is_binary_cache_enabled()
  -> boolean

ncine.shader.is_linked

function ncine.shader.is_linked(shader: any)
function ncine.shader.is_linked(shader: shaderObj)
  -> boolean
function ncine.shader.is_linked(shader: any)
function ncine.shader.is_linked(shader: shaderObj)
  -> boolean

ncine.shader.load_from_file

function ncine.shader.load_from_file(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string)
  -> boolean
function ncine.shader.load_from_file(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string)
  -> boolean

ncine.shader.load_from_file_default_fragment

function ncine.shader.load_from_file_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file_default_fragment(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: ncine.shader_default_fragment)
  -> boolean
function ncine.shader.load_from_file_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file_default_fragment(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: ncine.shader_default_fragment)
  -> boolean

ncine.shader.load_from_file_default_vertex

function ncine.shader.load_from_file_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file_default_vertex(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: ncine.shader_default_vertex, fragment: string)
  -> boolean
function ncine.shader.load_from_file_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_file_default_vertex(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: ncine.shader_default_vertex, fragment: string)
  -> boolean

ncine.shader.load_from_memory

function ncine.shader.load_from_memory(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string)
  -> boolean
function ncine.shader.load_from_memory(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string)
  -> boolean

ncine.shader.load_from_memory_default_fragment

function ncine.shader.load_from_memory_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory_default_fragment(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: ncine.shader_default_fragment)
  -> boolean
function ncine.shader.load_from_memory_default_fragment(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory_default_fragment(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: ncine.shader_default_fragment)
  -> boolean

ncine.shader.load_from_memory_default_vertex

function ncine.shader.load_from_memory_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory_default_vertex(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: ncine.shader_default_vertex, fragment: string)
  -> boolean
function ncine.shader.load_from_memory_default_vertex(shader: any, name: any, introspection: any, vertex: any, fragment: any)
function ncine.shader.load_from_memory_default_vertex(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: ncine.shader_default_vertex, fragment: string)
  -> boolean

ncine.shader.load_from_memory_with_hashes

function ncine.shader.load_from_memory_with_hashes(shader: any, name: any, introspection: any, vertex: any, fragment: any, vertex_hash: any, fragment_hash: any)
function ncine.shader.load_from_memory_with_hashes(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string, vertex_hash: integer, fragment_hash: integer)
  -> boolean
function ncine.shader.load_from_memory_with_hashes(shader: any, name: any, introspection: any, vertex: any, fragment: any, vertex_hash: any, fragment_hash: any)
function ncine.shader.load_from_memory_with_hashes(shader: shaderObj, name: string, introspection: ncine.shader_introspection, vertex: string, fragment: string, vertex_hash: integer, fragment_hash: integer)
  -> boolean

ncine.shader.new

function ncine.shader.new()
function ncine.shader.new()
  -> shaderObj
function ncine.shader.new()
function ncine.shader.new()
  -> shaderObj

ncine.shader.register_batched_shader

function ncine.shader.register_batched_shader(shader: any, batched_shader: any)
function ncine.shader.register_batched_shader(shader: shaderObj, batched_shader: shaderObj)
function ncine.shader.register_batched_shader(shader: any, batched_shader: any)
function ncine.shader.register_batched_shader(shader: shaderObj, batched_shader: shaderObj)

ncine.shader.retrieve_infolog

function ncine.shader.retrieve_infolog(shader: any)
function ncine.shader.retrieve_infolog(shader: shaderObj)
  -> string
function ncine.shader.retrieve_infolog(shader: any)
function ncine.shader.retrieve_infolog(shader: shaderObj)
  -> string

ncine.shader.retrieve_infolog_length

function ncine.shader.retrieve_infolog_length(shader: any)
function ncine.shader.retrieve_infolog_length(shader: shaderObj)
  -> integer
function ncine.shader.retrieve_infolog_length(shader: any)
function ncine.shader.retrieve_infolog_length(shader: shaderObj)
  -> integer

ncine.shader.set_attribute

function ncine.shader.set_attribute(shader: any, attribute: any, stride: any, pointer: any)
function ncine.shader.set_attribute(shader: shaderObj, attribute: string, stride: integer, pointer: integer)
  -> boolean
function ncine.shader.set_attribute(shader: any, attribute: any, stride: any, pointer: any)
function ncine.shader.set_attribute(shader: shaderObj, attribute: string, stride: integer, pointer: integer)
  -> boolean

ncine.shader.set_binary_cache_enabled

function ncine.shader.set_binary_cache_enabled(enable: any)
function ncine.shader.set_binary_cache_enabled(enable: boolean)
function ncine.shader.set_binary_cache_enabled(enable: any)
function ncine.shader.set_binary_cache_enabled(enable: boolean)

ncine.shader.set_glshaderprogram_label

function ncine.shader.set_glshaderprogram_label(shader: any, label: any)
function ncine.shader.set_glshaderprogram_label(shader: shaderObj, label: string)
function ncine.shader.set_glshaderprogram_label(shader: any, label: any)
function ncine.shader.set_glshaderprogram_label(shader: shaderObj, label: string)

ncine.shader.set_log_on_errors

function ncine.shader.set_log_on_errors(shader: any, should_log: any)
function ncine.shader.set_log_on_errors(shader: shaderObj, should_log: boolean)
function ncine.shader.set_log_on_errors(shader: any, should_log: any)
function ncine.shader.set_log_on_errors(shader: shaderObj, should_log: boolean)

ncine.shader_default_fragment

table
enum ncine.shader_default_fragment
table
enum ncine.shader_default_fragment

ncine.shader_default_vertex

table
enum ncine.shader_default_vertex
table
enum ncine.shader_default_vertex

ncine.shader_introspection

table
enum ncine.shader_introspection
table
enum ncine.shader_introspection

ncine.shaderstate

ncine.shaderstate
ncine.shaderstate

ncine.shaderstate

delete

function ncine.shaderstate.delete(shaderstate: any)

Destroys a shaderstate object and releases its memory

get_node

function ncine.shaderstate.get_node(shaderstate: any)

Returns the drawable node affected by the shader state

get_shader

function ncine.shaderstate.get_shader(shaderstate: any)

Return the associated custom shader

new

function ncine.shaderstate.new(node: any, shader: any)

Constructs a shaderstate object and assigns to it a node and a shader.

Don't forget to call delete when you are done with it!

reset_shader

function ncine.shaderstate.reset_shader(shaderstate: any)

Triggers a shader update without setting a new shader

set_node

function ncine.shaderstate.set_node(shaderstate: any, node: any)

Sets the drawable node affected by the shader state

set_shader

function ncine.shaderstate.set_shader(shaderstate: any, shader: any)

Sets the associated custom shader

set_texture

function ncine.shaderstate.set_texture(shaderstate: any, unit: any, texture: any)

Assigns a texture to the specified texture unit

set_uniform_float_color

function ncine.shaderstate.set_uniform_float_color(shaderstate: any, block_name: any, name: any, color: any)

Sets a float uniform with a ncine.color

set_uniform_float_value1

function ncine.shaderstate.set_uniform_float_value1(shaderstate: any, block_name: any, name: any, value0: any)

Sets a float uniform with one value

set_uniform_float_value2

function ncine.shaderstate.set_uniform_float_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)

Sets a float uniform with two values

set_uniform_float_value3

function ncine.shaderstate.set_uniform_float_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)

Sets a float uniform with three values

set_uniform_float_value4

function ncine.shaderstate.set_uniform_float_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)

Sets a float uniform with four values

set_uniform_float_vector

function ncine.shaderstate.set_uniform_float_vector(shaderstate: any, block_name: any, name: any, vector: any)

Sets a float uniform with an array of values

set_uniform_float_vector2

function ncine.shaderstate.set_uniform_float_vector2(shaderstate: any, block_name: any, name: any, vector: any)

Sets a float uniform with a ncine.vec2

set_uniform_float_vector3

function ncine.shaderstate.set_uniform_float_vector3(shaderstate: any, block_name: any, name: any, vector: any)

Sets a float uniform with a ncine.vec3

set_uniform_float_vector4

function ncine.shaderstate.set_uniform_float_vector4(shaderstate: any, block_name: any, name: any, vector: any)

Sets a float uniform with a ncine.vec4

set_uniform_int_value1

function ncine.shaderstate.set_uniform_int_value1(shaderstate: any, block_name: any, name: any, value0: any)

Sets an integer uniform with one value

set_uniform_int_value2

function ncine.shaderstate.set_uniform_int_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)

Sets an integer uniform with two values

set_uniform_int_value3

function ncine.shaderstate.set_uniform_int_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)

Sets an integer uniform with three values

set_uniform_int_value4

function ncine.shaderstate.set_uniform_int_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)

Sets an integer uniform with four values

set_uniform_int_vector

function ncine.shaderstate.set_uniform_int_vector(shaderstate: any, block_name: any, name: any, vector: any)

Sets an integer uniform with an array of values

set_uniform_int_vector2

function ncine.shaderstate.set_uniform_int_vector2(shaderstate: any, block_name: any, name: any, vector: any)

Sets an integer uniform with a ncine.vec2

set_uniform_int_vector3

function ncine.shaderstate.set_uniform_int_vector3(shaderstate: any, block_name: any, name: any, vector: any)

Sets an integer uniform with a ncine.vec3

set_uniform_int_vector4

function ncine.shaderstate.set_uniform_int_vector4(shaderstate: any, block_name: any, name: any, vector: any)

Sets an integer uniform with a ncine.vec4


ncine.shaderstate.delete

function ncine.shaderstate.delete(shaderstate: any)
function ncine.shaderstate.delete(shaderstate: shaderstateObj)
function ncine.shaderstate.delete(shaderstate: any)
function ncine.shaderstate.delete(shaderstate: shaderstateObj)

ncine.shaderstate.get_node

function ncine.shaderstate.get_node(shaderstate: any)
function ncine.shaderstate.get_node(shaderstate: shaderstateObj)
  -> drawablenodeObj?
function ncine.shaderstate.get_node(shaderstate: any)
function ncine.shaderstate.get_node(shaderstate: shaderstateObj)
  -> drawablenodeObj?

ncine.shaderstate.get_shader

function ncine.shaderstate.get_shader(shaderstate: any)
function ncine.shaderstate.get_shader(shaderstate: shaderstateObj)
  -> shaderObj?
function ncine.shaderstate.get_shader(shaderstate: any)
function ncine.shaderstate.get_shader(shaderstate: shaderstateObj)
  -> shaderObj?

ncine.shaderstate.new

function ncine.shaderstate.new(node: any, shader: any)
function ncine.shaderstate.new(node: drawablenodeObj, shader: shaderObj)
  -> shaderstateObj
function ncine.shaderstate.new(node: any, shader: any)
function ncine.shaderstate.new(node: drawablenodeObj, shader: shaderObj)
  -> shaderstateObj

ncine.shaderstate.reset_shader

function ncine.shaderstate.reset_shader(shaderstate: any)
function ncine.shaderstate.reset_shader(shaderstate: shaderstateObj)
function ncine.shaderstate.reset_shader(shaderstate: any)
function ncine.shaderstate.reset_shader(shaderstate: shaderstateObj)

ncine.shaderstate.set_node

function ncine.shaderstate.set_node(shaderstate: any, node: any)
function ncine.shaderstate.set_node(shaderstate: shaderstateObj, node?: drawablenodeObj)
  -> boolean
function ncine.shaderstate.set_node(shaderstate: any, node: any)
function ncine.shaderstate.set_node(shaderstate: shaderstateObj, node?: drawablenodeObj)
  -> boolean

ncine.shaderstate.set_shader

function ncine.shaderstate.set_shader(shaderstate: any, shader: any)
function ncine.shaderstate.set_shader(shaderstate: shaderstateObj, shader?: shaderObj)
  -> boolean
function ncine.shaderstate.set_shader(shaderstate: any, shader: any)
function ncine.shaderstate.set_shader(shaderstate: shaderstateObj, shader?: shaderObj)
  -> boolean

ncine.shaderstate.set_texture

function ncine.shaderstate.set_texture(shaderstate: any, unit: any, texture: any)
function ncine.shaderstate.set_texture(shaderstate: shaderstateObj, unit: integer, texture?: textureObj)
  -> boolean
function ncine.shaderstate.set_texture(shaderstate: any, unit: any, texture: any)
function ncine.shaderstate.set_texture(shaderstate: shaderstateObj, unit: integer, texture?: textureObj)
  -> boolean

ncine.shaderstate.set_uniform_float_color

function ncine.shaderstate.set_uniform_float_color(shaderstate: any, block_name: any, name: any, color: any)
function ncine.shaderstate.set_uniform_float_color(shaderstate: shaderstateObj, block_name: string, name: string, color: ncine.color)
  -> boolean
function ncine.shaderstate.set_uniform_float_color(shaderstate: any, block_name: any, name: any, color: any)
function ncine.shaderstate.set_uniform_float_color(shaderstate: shaderstateObj, block_name: string, name: string, color: ncine.color)
  -> boolean

ncine.shaderstate.set_uniform_float_value1

function ncine.shaderstate.set_uniform_float_value1(shaderstate: any, block_name: any, name: any, value0: any)
function ncine.shaderstate.set_uniform_float_value1(shaderstate: shaderstateObj, block_name: string, name: string, value0: number)
  -> boolean
function ncine.shaderstate.set_uniform_float_value1(shaderstate: any, block_name: any, name: any, value0: any)
function ncine.shaderstate.set_uniform_float_value1(shaderstate: shaderstateObj, block_name: string, name: string, value0: number)
  -> boolean

ncine.shaderstate.set_uniform_float_value2

function ncine.shaderstate.set_uniform_float_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)
function ncine.shaderstate.set_uniform_float_value2(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number)
  -> boolean
function ncine.shaderstate.set_uniform_float_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)
function ncine.shaderstate.set_uniform_float_value2(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number)
  -> boolean

ncine.shaderstate.set_uniform_float_value3

function ncine.shaderstate.set_uniform_float_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)
function ncine.shaderstate.set_uniform_float_value3(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number, value2: number)
  -> boolean
function ncine.shaderstate.set_uniform_float_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)
function ncine.shaderstate.set_uniform_float_value3(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number, value2: number)
  -> boolean

ncine.shaderstate.set_uniform_float_value4

function ncine.shaderstate.set_uniform_float_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)
function ncine.shaderstate.set_uniform_float_value4(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number, value2: number, value3: number)
  -> boolean
function ncine.shaderstate.set_uniform_float_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)
function ncine.shaderstate.set_uniform_float_value4(shaderstate: shaderstateObj, block_name: string, name: string, value0: number, value1: number, value2: number, value3: number)
  -> boolean

ncine.shaderstate.set_uniform_float_vector

function ncine.shaderstate.set_uniform_float_vector(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector(shaderstate: shaderstateObj, block_name: string, name: string, vector: number[])
  -> boolean
function ncine.shaderstate.set_uniform_float_vector(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector(shaderstate: shaderstateObj, block_name: string, name: string, vector: number[])
  -> boolean

ncine.shaderstate.set_uniform_float_vector2

function ncine.shaderstate.set_uniform_float_vector2(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector2(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec2)
  -> boolean
function ncine.shaderstate.set_uniform_float_vector2(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector2(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec2)
  -> boolean

ncine.shaderstate.set_uniform_float_vector3

function ncine.shaderstate.set_uniform_float_vector3(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector3(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec3)
  -> boolean
function ncine.shaderstate.set_uniform_float_vector3(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector3(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec3)
  -> boolean

ncine.shaderstate.set_uniform_float_vector4

function ncine.shaderstate.set_uniform_float_vector4(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector4(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec4)
  -> boolean
function ncine.shaderstate.set_uniform_float_vector4(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_float_vector4(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec4)
  -> boolean

ncine.shaderstate.set_uniform_int_value1

function ncine.shaderstate.set_uniform_int_value1(shaderstate: any, block_name: any, name: any, value0: any)
function ncine.shaderstate.set_uniform_int_value1(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer)
  -> boolean
function ncine.shaderstate.set_uniform_int_value1(shaderstate: any, block_name: any, name: any, value0: any)
function ncine.shaderstate.set_uniform_int_value1(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer)
  -> boolean

ncine.shaderstate.set_uniform_int_value2

function ncine.shaderstate.set_uniform_int_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)
function ncine.shaderstate.set_uniform_int_value2(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer)
  -> boolean
function ncine.shaderstate.set_uniform_int_value2(shaderstate: any, block_name: any, name: any, value0: any, value1: any)
function ncine.shaderstate.set_uniform_int_value2(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer)
  -> boolean

ncine.shaderstate.set_uniform_int_value3

function ncine.shaderstate.set_uniform_int_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)
function ncine.shaderstate.set_uniform_int_value3(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer, value2: integer)
  -> boolean
function ncine.shaderstate.set_uniform_int_value3(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any)
function ncine.shaderstate.set_uniform_int_value3(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer, value2: integer)
  -> boolean

ncine.shaderstate.set_uniform_int_value4

function ncine.shaderstate.set_uniform_int_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)
function ncine.shaderstate.set_uniform_int_value4(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer, value2: integer, value3: integer)
  -> boolean
function ncine.shaderstate.set_uniform_int_value4(shaderstate: any, block_name: any, name: any, value0: any, value1: any, value2: any, value3: any)
function ncine.shaderstate.set_uniform_int_value4(shaderstate: shaderstateObj, block_name: string, name: string, value0: integer, value1: integer, value2: integer, value3: integer)
  -> boolean

ncine.shaderstate.set_uniform_int_vector

function ncine.shaderstate.set_uniform_int_vector(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector(shaderstate: shaderstateObj, block_name: string, name: string, vector: integer[])
  -> boolean
function ncine.shaderstate.set_uniform_int_vector(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector(shaderstate: shaderstateObj, block_name: string, name: string, vector: integer[])
  -> boolean

ncine.shaderstate.set_uniform_int_vector2

function ncine.shaderstate.set_uniform_int_vector2(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector2(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec2)
  -> boolean
function ncine.shaderstate.set_uniform_int_vector2(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector2(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec2)
  -> boolean

ncine.shaderstate.set_uniform_int_vector3

function ncine.shaderstate.set_uniform_int_vector3(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector3(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec3)
  -> boolean
function ncine.shaderstate.set_uniform_int_vector3(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector3(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec3)
  -> boolean

ncine.shaderstate.set_uniform_int_vector4

function ncine.shaderstate.set_uniform_int_vector4(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector4(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec4)
  -> boolean
function ncine.shaderstate.set_uniform_int_vector4(shaderstate: any, block_name: any, name: any, vector: any)
function ncine.shaderstate.set_uniform_int_vector4(shaderstate: shaderstateObj, block_name: string, name: string, vector: ncine.vec4)
  -> boolean

ncine.sprite

ncine.sprite
ncine.sprite

ncine.sprite

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

clone

function ncine.sprite.clone(sprite: any)

Constructs a new sprite object as a clone of the specified one.

Don't forget to call @{delete} when you are done with it!

delete

function ncine.sprite.delete(sprite: any)

Destroys a sprite object and releases its memory

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_height

function ncine.drawable_node.get_height(node: any)

Returns the height of the node area

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_texrect

function ncine.base_sprite.get_texrect(sprite: any)

Returns the texture source rectangle for blitting

get_texture

function ncine.base_sprite.get_texture(sprite: any)

Returns the texture object

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.drawable_node.get_width(node: any)

Returns the width of the node area

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

is_flipped_x

function ncine.base_sprite.is_flipped_x(sprite: any)

Returns true if the sprite texture is horizontally flipped

is_flipped_y

function ncine.base_sprite.is_flipped_y(sprite: any)

Returns true if the sprite texture is vertically flipped

new

function ncine.sprite.new(parent: any, texture: any, x: any, y: any)

Constructs a sprite object with a parent scene node, a texture, and position components.

Don't forget to call @{delete} when you are done with it!

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

reset_texture

function ncine.base_sprite.reset_texture(sprite: any)

Triggers a texture update without setting a new texture

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_flipped_x

function ncine.base_sprite.set_flipped_x(sprite: any, flipped_x: any)

Flips the texture rect horizontally

set_flipped_y

function ncine.base_sprite.set_flipped_y(sprite: any, flipped_y: any)

Flips the texture rect vertically

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_size

function ncine.base_sprite.set_size(sprite: any, width: any, height: any)

Sets the sprite size

set_texrect

function ncine.base_sprite.set_texrect(sprite: any, rect: any)

Sets the texture source rectangle for blitting

set_texture

function ncine.base_sprite.set_texture(sprite: any, texture: any)

Sets the texture object

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.sprite.clone

function ncine.sprite.clone(sprite: any)
function ncine.sprite.clone(sprite: spriteObj)
  -> spriteObj
function ncine.sprite.clone(sprite: any)
function ncine.sprite.clone(sprite: spriteObj)
  -> spriteObj

ncine.sprite.delete

function ncine.sprite.delete(sprite: any)
function ncine.sprite.delete(sprite: spriteObj)
function ncine.sprite.delete(sprite: any)
function ncine.sprite.delete(sprite: spriteObj)

ncine.sprite.new

function ncine.sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.sprite.new(parent: any, texture: any, pos: any)
function ncine.sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> spriteObj
function ncine.sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> spriteObj
function ncine.sprite.new(parent: any, texture: any, x: any, y: any)
function ncine.sprite.new(parent: any, texture: any, pos: any)
function ncine.sprite.new(parent?: scenenodeObj, texture?: textureObj, x: number, y: number)
  -> spriteObj
function ncine.sprite.new(parent?: scenenodeObj, texture?: textureObj, pos: ncine.vec2)
  -> spriteObj

ncine.start

function ncine.start()
function ncine.start()
function ncine.start()
function ncine.start()

ncine.tex_filtering

table
enum ncine.tex_filtering
table
enum ncine.tex_filtering

ncine.tex_format

table
enum ncine.tex_format
table
enum ncine.tex_format

ncine.tex_wrap

table
enum ncine.tex_wrap
table
enum ncine.tex_wrap

ncine.text_alignment

table
enum ncine.text_alignment
table
enum ncine.text_alignment

ncine.textnode

add_child

function ncine.scenenode.add_child(parent: any, node: any)

Adds a child node to the specified parent

calculate_boundaries

function ncine.textnode.calculate_boundaries(font: any, with_kerning: any, string: any)

Calculates the rectangle boundaries needed to render the provided string with the specified font

clone

function ncine.textnode.clone(textnode: any)

Constructs a new textnode object as a clone of the specified one.

Don't forget to call @{delete} when you are done with it!

delete

function ncine.textnode.delete(textnode: any)

Destroys a textnode object and releases its memory

get_aabb

function ncine.drawable_node.get_aabb(node: any)

Returns the axis-aligned bounding box of the node area in the last frame

get_abs_anchor_point

function ncine.scenenode.get_abs_anchor_point(node: any)

Returns the absolute transformation anchor point in pixels

get_absheight

function ncine.textnode.get_absheight(textnode: any)

Returns the absolute height of rendered text

get_abslineheight

function ncine.textnode.get_abslineheight(textnode: any)

Returns the text node line height multiplied by the absolute vertical scale factor

get_abswidth

function ncine.textnode.get_abswidth(textnode: any)

Returns the absolute width of rendered text

get_alignment

function ncine.textnode.get_alignment(textnode: any)

Returns the horizontal text alignment of multiple lines

get_alpha

function ncine.scenenode.get_alpha(node: any)

Returns the node alpha color component

get_anchor_point

function ncine.drawable_node.get_anchor_point(node: any)

Returns the transformation anchor point

get_child

function ncine.scenenode.get_child(node: any, index: any)

Returns the n-th child

get_child_order_index

function ncine.scenenode.get_child_order_index(node: any)

Returns the order index of this node among its siblings

get_children

function ncine.scenenode.get_children(node: any)

Returns the array of children

get_color

function ncine.scenenode.get_color(node: any)

Returns the node color

get_dest_blending_factor

function ncine.drawable_node.get_dest_blending_factor(node: any)

Returns the destination blending factor

get_font

function ncine.textnode.get_font(textnode: any)

Returns the font object used by the textnode

get_height

function ncine.textnode.get_height(textnode: any)

Returns the height of rendered text

get_kerning

function ncine.textnode.get_kerning(textnode: any)

Returns true if kerning is enabled for this node rendering

get_last_frame_rendered

function ncine.drawable_node.get_last_frame_rendered(node: any)

Returns the last frame in which any of the viewports have rendered this node (node was not culled)

get_last_frame_updated

function ncine.scenenode.get_last_frame_updated(node: any)

Returns the last frame in which any of the viewports have updated this node

get_layer

function ncine.scenenode.get_layer(node: any)

Returns the node rendering layer

get_lineheight

function ncine.textnode.get_lineheight(textnode: any)

Returns the text node line height

get_parent

function ncine.scenenode.get_parent(node: any)

Returns the parent node, if there is any

get_position

function ncine.scenenode.get_position(node: any)

Returns the node position relative to its parent

get_render_mode

function ncine.textnode.get_render_mode(textnode: any)

Returns the render mode used to render this text node

get_rotation

function ncine.scenenode.get_rotation(node: any)

Returns the node rotation in degress

get_scale

function ncine.scenenode.get_scale(node: any)

Returns the node scale factors

get_size

function ncine.drawable_node.get_size(node: any)

Returns the size of the node area

get_src_blending_factor

function ncine.drawable_node.get_src_blending_factor(node: any)

eturns the source blending factor

get_string

function ncine.textnode.get_string(textnode: any)

Returns the string to render

get_visit_order_index

function ncine.scenenode.get_visit_order_index(node: any)

Returns the visit drawing order of the node

get_visit_order_state

function ncine.scenenode.get_visit_order_state(node: any)

Returns the visit order state for the specified node

get_width

function ncine.textnode.get_width(textnode: any)

Returns the width of rendered text

is_blending_enabled

function ncine.drawable_node.is_blending_enabled(node: any)

Returns true if the node renders with blending enabled

is_enabled

function ncine.scenenode.is_enabled(node: any)

Returns true if the node is both updating and drawing

new

function ncine.textnode.new(parent: any, font: any, max_string_length: any)

Constructs a textnode object with a parent scene node, a font, and a maximum text string length.

Don't forget to call @{delete} when you are done with it!

num_children

function ncine.scenenode.num_children(node: any)

Returns the number of children

remove_all_children

function ncine.scenenode.remove_all_children(parent: any)

Removes all children from the specified parent

remove_child

function ncine.scenenode.remove_child(parent: any, node: any)

Removes a child node from the specified parent

remove_child_at

function ncine.scenenode.remove_child_at(parent: any, index: any)

Removes a child node at the specified index from the specified parent

set_abs_anchor_point

function ncine.scenenode.set_abs_anchor_point(node: any, pos: any)

Sets the absolute transformation anchor point in pixels

set_alignment

function ncine.textnode.set_alignment(textnode: any, text_alignment: any)

Sets the horizontal text alignment of multiple lines

set_alpha

function ncine.scenenode.set_alpha(node: any, alpha: any)

Sets the node alpha color component

set_anchor_point

function ncine.drawable_node.set_anchor_point(node: any, anchor_point: any)

Sets the transformation anchor point

set_blending_enabled

function ncine.drawable_node.set_blending_enabled(node: any, enabled: any)

Sets the blending state for node rendering

set_blending_factors

function ncine.drawable_node.set_blending_factors(node: any, src_factor: any, dest_factor: any)

Sets a specific source and destination blending factors

set_blending_preset

function ncine.drawable_node.set_blending_preset(node: any, preset: any)

Sets a blending preset for source and destination blending factors

set_color

function ncine.scenenode.set_color(node: any, color: any)

Sets the node color

set_enabled

function ncine.scenenode.set_enabled(node: any, enabled: any)

Enables or disables both node updating and drawing

set_font

function ncine.textnode.set_font(textnode: any, font: any)

Sets the font object to be used by the textnode

set_kerning

function ncine.textnode.set_kerning(textnode: any, with_kerning: any)

Sets the kerning flag for this node rendering

set_layer

function ncine.scenenode.set_layer(node: any, layer: any)

Sets the node rendering layer.

The lowest value (bottom) is 0 and the highest one (top) is 65535.

When the value is 0, the final layer value is inherited from the parent.

set_lineheight

function ncine.textnode.set_lineheight(textnode: any, line_height: any)

Sets the text node line height

set_parent

function ncine.scenenode.set_parent(node: any, parent: any)

Sets the parent node

set_position

function ncine.scenenode.set_position(node: any, pos: any)

Sets a new position for the node

set_render_mode

function ncine.textnode.set_render_mode(textnode: any, font_render_mode: any)

Sets the render mode used to render this text node, overriding the font one

set_rotation

function ncine.scenenode.set_rotation(node: any, rot: any)

Sets the node rotation in degrees

set_scale

function ncine.scenenode.set_scale(node: any, factor: any)

Sets both node scale factors to the specified value

set_scale_x

function ncine.scenenode.set_scale_x(node: any, factor: any)

Sets the node scale X factor

set_scale_y

function ncine.scenenode.set_scale_y(node: any, factor: any)

Sets the node scale Y factor

set_string

function ncine.textnode.set_string(textnode: any, string: any)

Sets the string to render

set_visit_order_state

function ncine.scenenode.set_visit_order_state(node: any, state: any)

Sets the visit order state for the specified node

swap_children

function ncine.scenenode.swap_children(parent: any, firstIndex: any, secondIndex: any)

Swaps two children at the specified indices

swap_node_back

function ncine.scenenode.swap_node_back(node: any)

Brings this node one node back in the parent's list of children

swap_node_forward

function ncine.scenenode.swap_node_forward(node: any)

Brings this node one node forward in the parent's list of children

unlink_child

function ncine.scenenode.unlink_child(parent: any, node: any)

Unlinks a child node from the specified parent.

The children of the unlinked node will be reparented with the grandparent node.


ncine.textnode

ncine.textnode
ncine.textnode

ncine.textnode.calculate_boundaries

function ncine.textnode.calculate_boundaries(font: any, with_kerning: any, string: any)
function ncine.textnode.calculate_boundaries(font: fontObj, with_kerning: boolean, string: string)
  -> ncine.vec2
function ncine.textnode.calculate_boundaries(font: any, with_kerning: any, string: any)
function ncine.textnode.calculate_boundaries(font: fontObj, with_kerning: boolean, string: string)
  -> ncine.vec2

ncine.textnode.clone

function ncine.textnode.clone(textnode: any)
function ncine.textnode.clone(textnode: textnodeObj)
  -> textnodeObj
function ncine.textnode.clone(textnode: any)
function ncine.textnode.clone(textnode: textnodeObj)
  -> textnodeObj

ncine.textnode.delete

function ncine.textnode.delete(textnode: any)
function ncine.textnode.delete(textnode: textnodeObj)
function ncine.textnode.delete(textnode: any)
function ncine.textnode.delete(textnode: textnodeObj)

ncine.textnode.get_absheight

function ncine.textnode.get_absheight(textnode: any)
function ncine.textnode.get_absheight(textnode: textnodeObj)
  -> number
function ncine.textnode.get_absheight(textnode: any)
function ncine.textnode.get_absheight(textnode: textnodeObj)
  -> number

ncine.textnode.get_abslineheight

function ncine.textnode.get_abslineheight(textnode: any)
function ncine.textnode.get_abslineheight(textnode: textnodeObj)
  -> number
function ncine.textnode.get_abslineheight(textnode: any)
function ncine.textnode.get_abslineheight(textnode: textnodeObj)
  -> number

ncine.textnode.get_abswidth

function ncine.textnode.get_abswidth(textnode: any)
function ncine.textnode.get_abswidth(textnode: textnodeObj)
  -> number
function ncine.textnode.get_abswidth(textnode: any)
function ncine.textnode.get_abswidth(textnode: textnodeObj)
  -> number

ncine.textnode.get_alignment

function ncine.textnode.get_alignment(textnode: any)
function ncine.textnode.get_alignment(textnode: textnodeObj)
  -> ncine.text_alignment
function ncine.textnode.get_alignment(textnode: any)
function ncine.textnode.get_alignment(textnode: textnodeObj)
  -> ncine.text_alignment

ncine.textnode.get_font

function ncine.textnode.get_font(textnode: any)
function ncine.textnode.get_font(textnode: textnodeObj)
  -> fontObj
function ncine.textnode.get_font(textnode: any)
function ncine.textnode.get_font(textnode: textnodeObj)
  -> fontObj

ncine.textnode.get_height

function ncine.textnode.get_height(textnode: any)
function ncine.textnode.get_height(textnode: textnodeObj)
  -> number
function ncine.textnode.get_height(textnode: any)
function ncine.textnode.get_height(textnode: textnodeObj)
  -> number

ncine.textnode.get_kerning

function ncine.textnode.get_kerning(textnode: any)
function ncine.textnode.get_kerning(textnode: textnodeObj)
  -> boolean
function ncine.textnode.get_kerning(textnode: any)
function ncine.textnode.get_kerning(textnode: textnodeObj)
  -> boolean

ncine.textnode.get_lineheight

function ncine.textnode.get_lineheight(textnode: any)
function ncine.textnode.get_lineheight(textnode: textnodeObj)
  -> number
function ncine.textnode.get_lineheight(textnode: any)
function ncine.textnode.get_lineheight(textnode: textnodeObj)
  -> number

ncine.textnode.get_render_mode

function ncine.textnode.get_render_mode(textnode: any)
function ncine.textnode.get_render_mode(textnode: textnodeObj)
  -> ncine.font_render_mode
function ncine.textnode.get_render_mode(textnode: any)
function ncine.textnode.get_render_mode(textnode: textnodeObj)
  -> ncine.font_render_mode

ncine.textnode.get_string

function ncine.textnode.get_string(textnode: any)
function ncine.textnode.get_string(textnode: textnodeObj)
  -> string
function ncine.textnode.get_string(textnode: any)
function ncine.textnode.get_string(textnode: textnodeObj)
  -> string

ncine.textnode.get_width

function ncine.textnode.get_width(textnode: any)
function ncine.textnode.get_width(textnode: textnodeObj)
  -> number
function ncine.textnode.get_width(textnode: any)
function ncine.textnode.get_width(textnode: textnodeObj)
  -> number

ncine.textnode.new

function ncine.textnode.new(parent: any, font: any, max_string_length: any)
function ncine.textnode.new(parent?: scenenodeObj, font?: fontObj, max_string_length: integer)
  -> textnodeObj
function ncine.textnode.new(parent: any, font: any, max_string_length: any)
function ncine.textnode.new(parent?: scenenodeObj, font?: fontObj, max_string_length: integer)
  -> textnodeObj

ncine.textnode.set_alignment

function ncine.textnode.set_alignment(textnode: any, text_alignment: any)
function ncine.textnode.set_alignment(textnode: textnodeObj, text_alignment: ncine.text_alignment)
function ncine.textnode.set_alignment(textnode: any, text_alignment: any)
function ncine.textnode.set_alignment(textnode: textnodeObj, text_alignment: ncine.text_alignment)

ncine.textnode.set_font

function ncine.textnode.set_font(textnode: any, font: any)
function ncine.textnode.set_font(textnode: textnodeObj, font: fontObj)
function ncine.textnode.set_font(textnode: any, font: any)
function ncine.textnode.set_font(textnode: textnodeObj, font: fontObj)

ncine.textnode.set_kerning

function ncine.textnode.set_kerning(textnode: any, with_kerning: any)
function ncine.textnode.set_kerning(textnode: textnodeObj, with_kerning: boolean)
function ncine.textnode.set_kerning(textnode: any, with_kerning: any)
function ncine.textnode.set_kerning(textnode: textnodeObj, with_kerning: boolean)

ncine.textnode.set_lineheight

function ncine.textnode.set_lineheight(textnode: any, line_height: any)
function ncine.textnode.set_lineheight(textnode: textnodeObj, line_height: number)
function ncine.textnode.set_lineheight(textnode: any, line_height: any)
function ncine.textnode.set_lineheight(textnode: textnodeObj, line_height: number)

ncine.textnode.set_render_mode

function ncine.textnode.set_render_mode(textnode: any, font_render_mode: any)
function ncine.textnode.set_render_mode(textnode: textnodeObj, font_render_mode: ncine.font_render_mode)
function ncine.textnode.set_render_mode(textnode: any, font_render_mode: any)
function ncine.textnode.set_render_mode(textnode: textnodeObj, font_render_mode: ncine.font_render_mode)

ncine.textnode.set_string

function ncine.textnode.set_string(textnode: any, string: any)
function ncine.textnode.set_string(textnode: textnodeObj, string: string)
function ncine.textnode.set_string(textnode: any, string: any)
function ncine.textnode.set_string(textnode: textnodeObj, string: string)

ncine.texture

ncine.texture
ncine.texture

ncine.texture

datasize

function ncine.texture.datasize(texture: any)

Returns the amount of video memory needed to load the texture

delete

function ncine.texture.delete(texture: any)

Destroys a texture object and releases its memory

get_chromakey_color

function ncine.texture.get_chromakey_color(texture: any)

Returns the color treated as transparent when loading a texture

get_format

function ncine.texture.get_format(texture: any)

Returns the texture format

get_height

function ncine.texture.get_height(texture: any)

Returns the texture height

get_mag_filtering

function ncine.texture.get_mag_filtering(texture: any)

Returns the filtering mode used for magnification

get_min_filtering

function ncine.texture.get_min_filtering(texture: any)

Returns the filtering mode used for minification

get_width

function ncine.texture.get_width(texture: any)

Returns the texture width

get_wrap

function ncine.texture.get_wrap(texture: any)

Returns the wrap mode used for the s and t directions

init

function ncine.texture.init(texture: any, name: any, format: any, mip_count: any, size: any)

Initializes a texture object to a blank texture

is_chromakey_enabled

function ncine.texture.is_chromakey_enabled(texture: any)

Returns true if chroma key transparency will be used when loading

is_compressed

function ncine.texture.is_compressed(texture: any)

Returns true if the texture holds compressed data

mip_levels

function ncine.texture.mip_levels(texture: any)

Returns the number of MIP map levels

new

function ncine.texture.new(filename: any)

Constructs a texture object from an image file.

Don't forget to call @{delete} when you are done with it!

new_init

function ncine.texture.new_init(name: any, format: any, mip_count: any, size: any)

Constructs a blank texture.

Don't forget to call @{delete} when you are done with it!

num_channels

function ncine.texture.num_channels(texture: any)

Returns the number of color channels

set_chromakey_color

function ncine.texture.set_chromakey_color(texture: any, color: any)

Sets the color to be treated as transparent when loading a texture through a ncine.color table

set_chromakey_enabled

function ncine.texture.set_chromakey_enabled(texture: any, state: any)

Sets the chroma key transparency state to use when loading

set_gltexture_label

function ncine.texture.set_gltexture_label(texture: any, label: any)

Sets the OpenGL object label for the texture

set_mag_filtering

function ncine.texture.set_mag_filtering(texture: any, filtering: any)

Sets the filtering mode used for magnification

set_min_filtering

function ncine.texture.set_min_filtering(texture: any, filtering: any)

Sets the filtering mode used for minification

set_wrap

function ncine.texture.set_wrap(texture: any, wrap: any)

Sets the wrap mode used for the s and t directions


ncine.texture.datasize

function ncine.texture.datasize(texture: any)
function ncine.texture.datasize(texture: textureObj)
  -> integer
function ncine.texture.datasize(texture: any)
function ncine.texture.datasize(texture: textureObj)
  -> integer

ncine.texture.delete

function ncine.texture.delete(texture: any)
function ncine.texture.delete(texture: textureObj)
function ncine.texture.delete(texture: any)
function ncine.texture.delete(texture: textureObj)

ncine.texture.get_chromakey_color

function ncine.texture.get_chromakey_color(texture: any)
function ncine.texture.get_chromakey_color(texture: textureObj)
  -> ncine.color
function ncine.texture.get_chromakey_color(texture: any)
function ncine.texture.get_chromakey_color(texture: textureObj)
  -> ncine.color

ncine.texture.get_format

function ncine.texture.get_format(texture: any)
function ncine.texture.get_format(texture: textureObj)
  -> ncine.tex_format
function ncine.texture.get_format(texture: any)
function ncine.texture.get_format(texture: textureObj)
  -> ncine.tex_format

ncine.texture.get_height

function ncine.texture.get_height(texture: any)
function ncine.texture.get_height(texture: textureObj)
  -> integer
function ncine.texture.get_height(texture: any)
function ncine.texture.get_height(texture: textureObj)
  -> integer

ncine.texture.get_mag_filtering

function ncine.texture.get_mag_filtering(texture: any)
function ncine.texture.get_mag_filtering(texture: textureObj)
  -> ncine.tex_filtering
function ncine.texture.get_mag_filtering(texture: any)
function ncine.texture.get_mag_filtering(texture: textureObj)
  -> ncine.tex_filtering

ncine.texture.get_min_filtering

function ncine.texture.get_min_filtering(texture: any)
function ncine.texture.get_min_filtering(texture: textureObj)
  -> ncine.tex_filtering
function ncine.texture.get_min_filtering(texture: any)
function ncine.texture.get_min_filtering(texture: textureObj)
  -> ncine.tex_filtering

ncine.texture.get_width

function ncine.texture.get_width(texture: any)
function ncine.texture.get_width(texture: textureObj)
  -> integer
function ncine.texture.get_width(texture: any)
function ncine.texture.get_width(texture: textureObj)
  -> integer

ncine.texture.get_wrap

function ncine.texture.get_wrap(texture: any)
function ncine.texture.get_wrap(texture: textureObj)
  -> ncine.tex_wrap
function ncine.texture.get_wrap(texture: any)
function ncine.texture.get_wrap(texture: textureObj)
  -> ncine.tex_wrap

ncine.texture.init

function ncine.texture.init(texture: any, name: any, format: any, mip_count: any, size: any)
function ncine.texture.init(texture: any, name: any, format: any, mip_count: any, x: any, y: any)
function ncine.texture.init(texture: textureObj, name: string, format: ncine.tex_format, mip_count: integer, size: ncine.vec2)
function ncine.texture.init(texture: textureObj, name: string, format: ncine.tex_format, mip_count: integer, x: integer, y: integer)
function ncine.texture.init(texture: any, name: any, format: any, mip_count: any, size: any)
function ncine.texture.init(texture: any, name: any, format: any, mip_count: any, x: any, y: any)
function ncine.texture.init(texture: textureObj, name: string, format: ncine.tex_format, mip_count: integer, size: ncine.vec2)
function ncine.texture.init(texture: textureObj, name: string, format: ncine.tex_format, mip_count: integer, x: integer, y: integer)

ncine.texture.is_chromakey_enabled

function ncine.texture.is_chromakey_enabled(texture: any)
function ncine.texture.is_chromakey_enabled(texture: textureObj)
  -> boolean
function ncine.texture.is_chromakey_enabled(texture: any)
function ncine.texture.is_chromakey_enabled(texture: textureObj)
  -> boolean

ncine.texture.is_compressed

function ncine.texture.is_compressed(texture: any)
function ncine.texture.is_compressed(texture: textureObj)
  -> boolean
function ncine.texture.is_compressed(texture: any)
function ncine.texture.is_compressed(texture: textureObj)
  -> boolean

ncine.texture.mip_levels

function ncine.texture.mip_levels(texture: any)
function ncine.texture.mip_levels(texture: textureObj)
  -> integer
function ncine.texture.mip_levels(texture: any)
function ncine.texture.mip_levels(texture: textureObj)
  -> integer

ncine.texture.new

function ncine.texture.new(filename: any)
function ncine.texture.new(filename: string)
  -> textureObj
function ncine.texture.new(filename: any)
function ncine.texture.new(filename: string)
  -> textureObj

ncine.texture.new_init

function ncine.texture.new_init(name: any, format: any, mip_count: any, size: any)
function ncine.texture.new_init(name: any, format: any, mip_count: any, x: any, y: any)
function ncine.texture.new_init(name: string, format: ncine.tex_format, mip_count: integer, size: ncine.vec2)
  -> textureObj
function ncine.texture.new_init(name: string, format: ncine.tex_format, mip_count: integer, x: integer, y: integer)
  -> textureObj
function ncine.texture.new_init(name: any, format: any, mip_count: any, size: any)
function ncine.texture.new_init(name: any, format: any, mip_count: any, x: any, y: any)
function ncine.texture.new_init(name: string, format: ncine.tex_format, mip_count: integer, size: ncine.vec2)
  -> textureObj
function ncine.texture.new_init(name: string, format: ncine.tex_format, mip_count: integer, x: integer, y: integer)
  -> textureObj

ncine.texture.num_channels

function ncine.texture.num_channels(texture: any)
function ncine.texture.num_channels(texture: textureObj)
  -> integer
function ncine.texture.num_channels(texture: any)
function ncine.texture.num_channels(texture: textureObj)
  -> integer

ncine.texture.set_chromakey_color

function ncine.texture.set_chromakey_color(texture: any, color: any)
function ncine.texture.set_chromakey_color(texture: any, r: any, g: any, b: any, a: any)
function ncine.texture.set_chromakey_color(texture: textureObj, color: ncine.color)
function ncine.texture.set_chromakey_color(texture: textureObj, r: number, g: number, b: number, a: number)
function ncine.texture.set_chromakey_color(texture: any, color: any)
function ncine.texture.set_chromakey_color(texture: any, r: any, g: any, b: any, a: any)
function ncine.texture.set_chromakey_color(texture: textureObj, color: ncine.color)
function ncine.texture.set_chromakey_color(texture: textureObj, r: number, g: number, b: number, a: number)

ncine.texture.set_chromakey_enabled

function ncine.texture.set_chromakey_enabled(texture: any, state: any)
function ncine.texture.set_chromakey_enabled(texture: textureObj, state: boolean)
function ncine.texture.set_chromakey_enabled(texture: any, state: any)
function ncine.texture.set_chromakey_enabled(texture: textureObj, state: boolean)

ncine.texture.set_gltexture_label

function ncine.texture.set_gltexture_label(texture: any, label: any)
function ncine.texture.set_gltexture_label(texture: textureObj, label: string)
function ncine.texture.set_gltexture_label(texture: any, label: any)
function ncine.texture.set_gltexture_label(texture: textureObj, label: string)

ncine.texture.set_mag_filtering

function ncine.texture.set_mag_filtering(texture: any, filtering: any)
function ncine.texture.set_mag_filtering(texture: textureObj, filtering: ncine.tex_filtering)
function ncine.texture.set_mag_filtering(texture: any, filtering: any)
function ncine.texture.set_mag_filtering(texture: textureObj, filtering: ncine.tex_filtering)

ncine.texture.set_min_filtering

function ncine.texture.set_min_filtering(texture: any, filtering: any)
function ncine.texture.set_min_filtering(texture: textureObj, filtering: ncine.tex_filtering)
function ncine.texture.set_min_filtering(texture: any, filtering: any)
function ncine.texture.set_min_filtering(texture: textureObj, filtering: ncine.tex_filtering)

ncine.texture.set_wrap

function ncine.texture.set_wrap(texture: any, wrap: any)
function ncine.texture.set_wrap(texture: textureObj, wrap: ncine.tex_wrap)
function ncine.texture.set_wrap(texture: any, wrap: any)
function ncine.texture.set_wrap(texture: textureObj, wrap: ncine.tex_wrap)

ncine.texture_cut_mode

table
enum ncine.texture_cut_mode
table
enum ncine.texture_cut_mode

ncine.timestamp

table
table

ncine.timestamp.hash_file_stat

function ncine.timestamp.hash_file_stat(filepath: any)
function ncine.timestamp.hash_file_stat(filepath: string)
  -> integer
function ncine.timestamp.hash_file_stat(filepath: any)
function ncine.timestamp.hash_file_stat(filepath: string)
  -> integer

ncine.timestamp.hash_string

function ncine.timestamp.hash_string(string: any)
function ncine.timestamp.hash_string(string: string)
  -> integer
function ncine.timestamp.hash_string(string: any)
function ncine.timestamp.hash_string(string: string)
  -> integer

ncine.timestamp.microseconds

function ncine.timestamp.microseconds(counter: any)
function ncine.timestamp.microseconds(counter: integer)
  -> number
function ncine.timestamp.microseconds(counter: any)
function ncine.timestamp.microseconds(counter: integer)
  -> number

ncine.timestamp.microseconds_since

function ncine.timestamp.microseconds_since(counter: any)
function ncine.timestamp.microseconds_since(counter: integer)
  -> number
function ncine.timestamp.microseconds_since(counter: any)
function ncine.timestamp.microseconds_since(counter: integer)
  -> number

ncine.timestamp.milliseconds

function ncine.timestamp.milliseconds(counter: any)
function ncine.timestamp.milliseconds(counter: integer)
  -> number
function ncine.timestamp.milliseconds(counter: any)
function ncine.timestamp.milliseconds(counter: integer)
  -> number

ncine.timestamp.milliseconds_since

function ncine.timestamp.milliseconds_since(counter: any)
function ncine.timestamp.milliseconds_since(counter: integer)
  -> number
function ncine.timestamp.milliseconds_since(counter: any)
function ncine.timestamp.milliseconds_since(counter: integer)
  -> number

ncine.timestamp.nanoseconds

function ncine.timestamp.nanoseconds(counter: any)
function ncine.timestamp.nanoseconds(counter: integer)
  -> number
function ncine.timestamp.nanoseconds(counter: any)
function ncine.timestamp.nanoseconds(counter: integer)
  -> number

ncine.timestamp.nanoseconds_since

function ncine.timestamp.nanoseconds_since(counter: any)
function ncine.timestamp.nanoseconds_since(counter: integer)
  -> number
function ncine.timestamp.nanoseconds_since(counter: any)
function ncine.timestamp.nanoseconds_since(counter: integer)
  -> number

ncine.timestamp.now

function ncine.timestamp.now()
function ncine.timestamp.now()
  -> integer
function ncine.timestamp.now()
function ncine.timestamp.now()
  -> integer

ncine.timestamp.scan_hash_string

function ncine.timestamp.scan_hash_string(string: any)
function ncine.timestamp.scan_hash_string(string: string)
  -> integer
function ncine.timestamp.scan_hash_string(string: any)
function ncine.timestamp.scan_hash_string(string: string)
  -> integer

ncine.timestamp.seconds

function ncine.timestamp.seconds(counter: any)
function ncine.timestamp.seconds(counter: integer)
  -> number
function ncine.timestamp.seconds(counter: any)
function ncine.timestamp.seconds(counter: integer)
  -> number

ncine.timestamp.seconds_since

function ncine.timestamp.seconds_since(counter: any)
function ncine.timestamp.seconds_since(counter: integer)
  -> number
function ncine.timestamp.seconds_since(counter: any)
function ncine.timestamp.seconds_since(counter: integer)
  -> number

ncine.timestamp.ticks_since

function ncine.timestamp.ticks_since(counter: any)
function ncine.timestamp.ticks_since(counter: integer)
  -> integer
function ncine.timestamp.ticks_since(counter: any)
function ncine.timestamp.ticks_since(counter: integer)
  -> integer

ncine.vec2

add

function ncine.vec2.add(vec0: any, vec1: any)

Adds two vectors together, component-wise

contains

function ncine.vec2.contains(rect0: any, rect1: any)

Returns true if the other rectangle is contained inside this one

contains_point

function ncine.vec2.contains_point(rect: any, x: any, y: any)

Returns true if the point is inside this rectangle

create

function ncine.vec2.create(x: any, y: any)

Creates a vec2 table from its components

div

function ncine.vec2.div(vec0: any, vec1: any)

Divides the first vector by the second one, component-wise

dot

function ncine.vec2.dot(vec0: any, vec1: any)

Returns the dot product between the two vectors

get_center

function ncine.vec2.get_center(rect: any)

Calculates the center of the rectangle

get_max

function ncine.vec2.get_max(rect: any)

Calculates the maximum coordinates of the rectangle

get_min

function ncine.vec2.get_min(rect: any)

Calculates the minimum coordinates of the rectangle

intersect

function ncine.vec2.intersect(rect0: any, rect1: any)

Intersects this rectangle with the other rectangle

invert_size

function ncine.vec2.invert_size(rect: any)

Inverts rectangle size and moves (x, y) to a different angle

length

function ncine.vec2.length(vec: any)

Returns the length of the vector

mul

function ncine.vec2.mul(vec0: any, vec1: any)

Multiplies two vectors together, component-wise

normalized

function ncine.vec2.normalized(vec: any)

Returns a normalized version of the vector

overlaps

function ncine.vec2.overlaps(rect0: any, rect1: any)

Returns true if this rect does overlap the other rectangle in any way

set_center

function ncine.vec2.set_center(rect: any, x: any, y: any)

Retains rectangle size but moves its center to another position

sqrlength

function ncine.vec2.sqrlength(vec: any)

Returns the squared length of the vector

sub

function ncine.vec2.sub(vec0: any, vec1: any)

Subtracts the second vector from the first one, component-wise

x

number

The X component

y

number

The Y component


ncine.vec2

ncine.vec2
ncine.vec2

ncine.vec2.add

function ncine.vec2.add(vec0: any, vec1: any)
function ncine.vec2.add(vec0: any, scalar: any)
function ncine.vec2.add(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.add(vec0: ncine.vec2, scalar: number)
  -> ncine.vec2
function ncine.vec2.add(vec0: any, vec1: any)
function ncine.vec2.add(vec0: any, scalar: any)
function ncine.vec2.add(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.add(vec0: ncine.vec2, scalar: number)
  -> ncine.vec2

ncine.vec2.contains

function ncine.vec2.contains(rect0: any, rect1: any)
function ncine.vec2.contains(rect0: ncine.rect, rect1: ncine.rect)
  -> boolean
function ncine.vec2.contains(rect0: any, rect1: any)
function ncine.vec2.contains(rect0: ncine.rect, rect1: ncine.rect)
  -> boolean

ncine.vec2.contains_point

function ncine.vec2.contains_point(rect: any, x: any, y: any)
function ncine.vec2.contains_point(rect: ncine.rect, x: number, y: number)
  -> boolean
function ncine.vec2.contains_point(rect: any, x: any, y: any)
function ncine.vec2.contains_point(rect: ncine.rect, x: number, y: number)
  -> boolean

ncine.vec2.create

function ncine.vec2.create(x: any, y: any)
function ncine.vec2.create(x: number, y: number)
  -> ncine.vec2
function ncine.vec2.create(x: any, y: any)
function ncine.vec2.create(x: number, y: number)
  -> ncine.vec2

ncine.vec2.div

function ncine.vec2.div(vec0: any, vec1: any)
function ncine.vec2.div(vec: any, scalar: any)
function ncine.vec2.div(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.div(vec: ncine.vec2, scalar: number)
  -> ncine.vec2
function ncine.vec2.div(vec0: any, vec1: any)
function ncine.vec2.div(vec: any, scalar: any)
function ncine.vec2.div(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.div(vec: ncine.vec2, scalar: number)
  -> ncine.vec2

ncine.vec2.dot

function ncine.vec2.dot(vec0: any, vec1: any)
function ncine.vec2.dot(vec0: ncine.vec2, vec1: ncine.vec2)
  -> number
function ncine.vec2.dot(vec0: any, vec1: any)
function ncine.vec2.dot(vec0: ncine.vec2, vec1: ncine.vec2)
  -> number

ncine.vec2.get_center

function ncine.vec2.get_center(rect: any)
function ncine.vec2.get_center(rect: ncine.rect)
  -> ncine.vec2
function ncine.vec2.get_center(rect: any)
function ncine.vec2.get_center(rect: ncine.rect)
  -> ncine.vec2

ncine.vec2.get_max

function ncine.vec2.get_max(rect: any)
function ncine.vec2.get_max(rect: ncine.rect)
  -> ncine.vec2
function ncine.vec2.get_max(rect: any)
function ncine.vec2.get_max(rect: ncine.rect)
  -> ncine.vec2

ncine.vec2.get_min

function ncine.vec2.get_min(rect: any)
function ncine.vec2.get_min(rect: ncine.rect)
  -> ncine.vec2
function ncine.vec2.get_min(rect: any)
function ncine.vec2.get_min(rect: ncine.rect)
  -> ncine.vec2

ncine.vec2.intersect

function ncine.vec2.intersect(rect0: any, rect1: any)
function ncine.vec2.intersect(rect0: ncine.rect, rect1: ncine.rect)
  -> ncine.rect
function ncine.vec2.intersect(rect0: any, rect1: any)
function ncine.vec2.intersect(rect0: ncine.rect, rect1: ncine.rect)
  -> ncine.rect

ncine.vec2.invert_size

function ncine.vec2.invert_size(rect: any)
function ncine.vec2.invert_size(rect: ncine.rect)
  -> ncine.rect
function ncine.vec2.invert_size(rect: any)
function ncine.vec2.invert_size(rect: ncine.rect)
  -> ncine.rect

ncine.vec2.length

function ncine.vec2.length(vec: any)
function ncine.vec2.length(vec: ncine.vec2)
  -> number
function ncine.vec2.length(vec: any)
function ncine.vec2.length(vec: ncine.vec2)
  -> number

ncine.vec2.mul

function ncine.vec2.mul(vec0: any, vec1: any)
function ncine.vec2.mul(vec: any, scalar: any)
function ncine.vec2.mul(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.mul(vec: ncine.vec2, scalar: number)
  -> ncine.vec2
function ncine.vec2.mul(vec0: any, vec1: any)
function ncine.vec2.mul(vec: any, scalar: any)
function ncine.vec2.mul(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.mul(vec: ncine.vec2, scalar: number)
  -> ncine.vec2

ncine.vec2.normalized

function ncine.vec2.normalized(vec: any)
function ncine.vec2.normalized(vec: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.normalized(vec: any)
function ncine.vec2.normalized(vec: ncine.vec2)
  -> ncine.vec2

ncine.vec2.overlaps

function ncine.vec2.overlaps(rect0: any, rect1: any)
function ncine.vec2.overlaps(rect0: ncine.rect, rect1: ncine.rect)
  -> boolean
function ncine.vec2.overlaps(rect0: any, rect1: any)
function ncine.vec2.overlaps(rect0: ncine.rect, rect1: ncine.rect)
  -> boolean

ncine.vec2.set_center

function ncine.vec2.set_center(rect: any, x: any, y: any)
function ncine.vec2.set_center(rect: ncine.rect, x: number, y: number)
  -> ncine.rect
function ncine.vec2.set_center(rect: any, x: any, y: any)
function ncine.vec2.set_center(rect: ncine.rect, x: number, y: number)
  -> ncine.rect

ncine.vec2.sqrlength

function ncine.vec2.sqrlength(vec: any)
function ncine.vec2.sqrlength(vec: ncine.vec2)
  -> number
function ncine.vec2.sqrlength(vec: any)
function ncine.vec2.sqrlength(vec: ncine.vec2)
  -> number

ncine.vec2.sub

function ncine.vec2.sub(vec0: any, vec1: any)
function ncine.vec2.sub(vec: any, scalar: any)
function ncine.vec2.sub(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.sub(vec: ncine.vec2, scalar: number)
  -> ncine.vec2
function ncine.vec2.sub(vec0: any, vec1: any)
function ncine.vec2.sub(vec: any, scalar: any)
function ncine.vec2.sub(vec0: ncine.vec2, vec1: ncine.vec2)
  -> ncine.vec2
function ncine.vec2.sub(vec: ncine.vec2, scalar: number)
  -> ncine.vec2

ncine.vec3

ncine.vec3
ncine.vec3

ncine.vec3

add

function ncine.vec3.add(vec0: any, vec1: any)

Adds two vectors together, component-wise

create

function ncine.vec3.create(x: any, y: any, z: any)

Creates a vec3 table from its components

div

function ncine.vec3.div(vec0: any, vec1: any)

Divides the first vector by the second one, component-wise

dot

function ncine.vec3.dot(vec0: any, vec1: any)

Returns the dot product between the two vectors

length

function ncine.vec3.length(vec: any)

Returns the length of the vector

mul

function ncine.vec3.mul(vec0: any, vec1: any)

Multiplies two vectors together, component-wise

normalized

function ncine.vec3.normalized(vec: any)

Returns a normalized version of the vector

sqrlength

function ncine.vec3.sqrlength(vec: any)

Returns the squared length of the vector

sub

function ncine.vec3.sub(vec0: any, vec1: any)

Subtracts the second vector from the first one, component-wise

x

number

The X component

y

number

The Y component

z

number

The Z component


ncine.vec3.add

function ncine.vec3.add(vec0: any, vec1: any)
function ncine.vec3.add(vec0: any, scalar: any)
function ncine.vec3.add(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.add(vec0: ncine.vec3, scalar: number)
  -> ncine.vec3
function ncine.vec3.add(vec0: any, vec1: any)
function ncine.vec3.add(vec0: any, scalar: any)
function ncine.vec3.add(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.add(vec0: ncine.vec3, scalar: number)
  -> ncine.vec3

ncine.vec3.create

function ncine.vec3.create(x: any, y: any, z: any)
function ncine.vec3.create(x: number, y: number, z: number)
  -> ncine.vec3
function ncine.vec3.create(x: any, y: any, z: any)
function ncine.vec3.create(x: number, y: number, z: number)
  -> ncine.vec3

ncine.vec3.div

function ncine.vec3.div(vec0: any, vec1: any)
function ncine.vec3.div(vec: any, scalar: any)
function ncine.vec3.div(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.div(vec: ncine.vec3, scalar: number)
  -> ncine.vec3
function ncine.vec3.div(vec0: any, vec1: any)
function ncine.vec3.div(vec: any, scalar: any)
function ncine.vec3.div(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.div(vec: ncine.vec3, scalar: number)
  -> ncine.vec3

ncine.vec3.dot

function ncine.vec3.dot(vec0: any, vec1: any)
function ncine.vec3.dot(vec0: ncine.vec3, vec1: ncine.vec3)
  -> number
function ncine.vec3.dot(vec0: any, vec1: any)
function ncine.vec3.dot(vec0: ncine.vec3, vec1: ncine.vec3)
  -> number

ncine.vec3.length

function ncine.vec3.length(vec: any)
function ncine.vec3.length(vec: ncine.vec3)
  -> number
function ncine.vec3.length(vec: any)
function ncine.vec3.length(vec: ncine.vec3)
  -> number

ncine.vec3.mul

function ncine.vec3.mul(vec0: any, vec1: any)
function ncine.vec3.mul(vec: any, scalar: any)
function ncine.vec3.mul(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.mul(vec: ncine.vec3, scalar: number)
  -> ncine.vec3
function ncine.vec3.mul(vec0: any, vec1: any)
function ncine.vec3.mul(vec: any, scalar: any)
function ncine.vec3.mul(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.mul(vec: ncine.vec3, scalar: number)
  -> ncine.vec3

ncine.vec3.normalized

function ncine.vec3.normalized(vec: any)
function ncine.vec3.normalized(vec: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.normalized(vec: any)
function ncine.vec3.normalized(vec: ncine.vec3)
  -> ncine.vec3

ncine.vec3.sqrlength

function ncine.vec3.sqrlength(vec: any)
function ncine.vec3.sqrlength(vec: ncine.vec3)
  -> number
function ncine.vec3.sqrlength(vec: any)
function ncine.vec3.sqrlength(vec: ncine.vec3)
  -> number

ncine.vec3.sub

function ncine.vec3.sub(vec0: any, vec1: any)
function ncine.vec3.sub(vec: any, scalar: any)
function ncine.vec3.sub(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.sub(vec: ncine.vec3, scalar: number)
  -> ncine.vec3
function ncine.vec3.sub(vec0: any, vec1: any)
function ncine.vec3.sub(vec: any, scalar: any)
function ncine.vec3.sub(vec0: ncine.vec3, vec1: ncine.vec3)
  -> ncine.vec3
function ncine.vec3.sub(vec: ncine.vec3, scalar: number)
  -> ncine.vec3

ncine.vec4

ncine.vec4
ncine.vec4

ncine.vec4

add

function ncine.vec4.add(vec0: any, vec1: any)

Adds two vectors together, component-wise

create

function ncine.vec4.create(x: any, y: any, z: any, w: any)

Creates a vec4 table from its components

div

function ncine.vec4.div(vec0: any, vec1: any)

Divides the first vector by the second one, component-wise

dot

function ncine.vec4.dot(vec0: any, vec1: any)

Returns the dot product between the two vectors

length

function ncine.vec4.length(vec: any)

Returns the length of the vector

mul

function ncine.vec4.mul(vec0: any, vec1: any)

Multiplies two vectors together, component-wise

normalized

function ncine.vec4.normalized(vec: any)

Returns a normalized version of the vector

sqrlength

function ncine.vec4.sqrlength(vec: any)

Returns the squared length of the vector

sub

function ncine.vec4.sub(vec0: any, vec1: any)

Subtracts the second vector from the first one, component-wise

w

number

The W component

x

number

The X component

y

number

The Y component

z

number

The Z component


ncine.vec4.add

function ncine.vec4.add(vec0: any, vec1: any)
function ncine.vec4.add(vec0: any, scalar: any)
function ncine.vec4.add(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.add(vec0: ncine.vec4, scalar: number)
  -> ncine.vec4
function ncine.vec4.add(vec0: any, vec1: any)
function ncine.vec4.add(vec0: any, scalar: any)
function ncine.vec4.add(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.add(vec0: ncine.vec4, scalar: number)
  -> ncine.vec4

ncine.vec4.create

function ncine.vec4.create(x: any, y: any, z: any, w: any)
function ncine.vec4.create(x: number, y: number, z: number, w: number)
  -> ncine.vec4
function ncine.vec4.create(x: any, y: any, z: any, w: any)
function ncine.vec4.create(x: number, y: number, z: number, w: number)
  -> ncine.vec4

ncine.vec4.div

function ncine.vec4.div(vec0: any, vec1: any)
function ncine.vec4.div(vec: any, scalar: any)
function ncine.vec4.div(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.div(vec: ncine.vec4, scalar: number)
  -> ncine.vec4
function ncine.vec4.div(vec0: any, vec1: any)
function ncine.vec4.div(vec: any, scalar: any)
function ncine.vec4.div(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.div(vec: ncine.vec4, scalar: number)
  -> ncine.vec4

ncine.vec4.dot

function ncine.vec4.dot(vec0: any, vec1: any)
function ncine.vec4.dot(vec0: ncine.vec4, vec1: ncine.vec4)
  -> number
function ncine.vec4.dot(vec0: any, vec1: any)
function ncine.vec4.dot(vec0: ncine.vec4, vec1: ncine.vec4)
  -> number

ncine.vec4.length

function ncine.vec4.length(vec: any)
function ncine.vec4.length(vec: ncine.vec4)
  -> number
function ncine.vec4.length(vec: any)
function ncine.vec4.length(vec: ncine.vec4)
  -> number

ncine.vec4.mul

function ncine.vec4.mul(vec0: any, vec1: any)
function ncine.vec4.mul(vec: any, scalar: any)
function ncine.vec4.mul(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.mul(vec: ncine.vec4, scalar: number)
  -> ncine.vec4
function ncine.vec4.mul(vec0: any, vec1: any)
function ncine.vec4.mul(vec: any, scalar: any)
function ncine.vec4.mul(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.mul(vec: ncine.vec4, scalar: number)
  -> ncine.vec4

ncine.vec4.normalized

function ncine.vec4.normalized(vec: any)
function ncine.vec4.normalized(vec: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.normalized(vec: any)
function ncine.vec4.normalized(vec: ncine.vec4)
  -> ncine.vec4

ncine.vec4.sqrlength

function ncine.vec4.sqrlength(vec: any)
function ncine.vec4.sqrlength(vec: ncine.vec4)
  -> number
function ncine.vec4.sqrlength(vec: any)
function ncine.vec4.sqrlength(vec: ncine.vec4)
  -> number

ncine.vec4.sub

function ncine.vec4.sub(vec0: any, vec1: any)
function ncine.vec4.sub(vec: any, scalar: any)
function ncine.vec4.sub(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.sub(vec: ncine.vec4, scalar: number)
  -> ncine.vec4
function ncine.vec4.sub(vec0: any, vec1: any)
function ncine.vec4.sub(vec: any, scalar: any)
function ncine.vec4.sub(vec0: ncine.vec4, vec1: ncine.vec4)
  -> ncine.vec4
function ncine.vec4.sub(vec: ncine.vec4, scalar: number)
  -> ncine.vec4

ncine.viewport

clear_chain

function ncine.viewport.clear_chain()

Clears the array of viewports to be drawn before the screen

delete

function ncine.viewport.delete(viewport: any)

Destroys a viewport object and releases its memory

get_camera

function ncine.viewport.get_camera(viewport: any)

Returns the camera used for rendering

get_clear_color

function ncine.viewport.get_clear_color(viewport: any)

Returns the viewport clear color as a ncine.color table

get_clear_mode

function ncine.viewport.get_clear_mode(viewport: any)

Returns the viewport clear mode

get_culling_rect

function ncine.viewport.get_culling_rect(viewport: any)

Returns the rectangle for screen culling

get_depth_stencil_format

function ncine.viewport.get_depth_stencil_format(viewport: any)

Returns the depth and stencil format of the viewport's FBO renderbuffer

get_height

function ncine.viewport.get_height(viewport: any)

Returns viewport's FBO height or zero if no texture is present

get_last_frame_cleared

function ncine.viewport.get_last_frame_cleared(viewport: any)

Returns the last frame this viewport was cleared

get_num_color_attachments

function ncine.viewport.get_num_color_attachments(viewport: any)

Returns the number of color attachments of the viewport's FBO

get_rootnode

function ncine.viewport.get_rootnode(viewport: any)

Returns the root node

get_scissor_rect

function ncine.viewport.get_scissor_rect(viewport: any)

Returns the OpenGL scissor test rectangle

get_texture

function ncine.viewport.get_texture(viewport: any, index: any)

Returns the texture at the specified viewport's FBO color attachment index, if any

get_type

function ncine.viewport.get_type(viewport: any)

Returns the viewport type

get_viewport_rect

function ncine.viewport.get_viewport_rect(viewport: any)

Returns the OpenGL viewport rectangle

get_width

function ncine.viewport.get_width(viewport: any)

Returns viewport's FBO width or zero if no texture is present

new

function ncine.viewport.new()

Constructs a viewport object.

Don't forget to call @{delete} when you are done with it!

push_back_chain

function ncine.viewport.push_back_chain(viewport: any)

Pushes a viewport to the back of the array of viewports to be drawn before the screen

push_front_chain

function ncine.viewport.push_front_chain(viewport: any)

Pushes a viewport to the front of the array of viewports to be drawn before the screen

remove_all_textures

function ncine.viewport.remove_all_textures(viewport: any)

Removes all textures and the depth stencil renderbuffer from the viewport's FBO

set_camera

function ncine.viewport.set_camera(viewport: any, camera: any)

Sets the camera to be used for rendering

set_clear_color

function ncine.viewport.set_clear_color(viewport: any, clear_color: any)

Sets the viewport clear color through a ncine.color table

set_clear_mode

function ncine.viewport.set_clear_mode(viewport: any, clear_mode: any)

Sets the viewport clear mode

set_depth_stencil_format

function ncine.viewport.set_depth_stencil_format(viewport: any, depth_stencil_format: any)

Sets the depth and stencil format of the viewport's FBO renderbuffer

set_glframebuffer_label

function ncine.viewport.set_glframebuffer_label(viewport: any, label: any)

Sets the OpenGL object label for the viewport framebuffer object

set_rootnode

function ncine.viewport.set_rootnode(viewport: any, rootnode: any)

Sets or removes the root node

set_scissor_rect

function ncine.viewport.set_scissor_rect(viewport: any, rect: any)

Sets the OpenGL scissor test rectangle through a ncine.rect table

set_texture

function ncine.viewport.set_texture(viewport: any, index: any, texture: any)

Adds or removes a texture at the specified viewport's FBO color attachment index

set_viewport_rect

function ncine.viewport.set_viewport_rect(viewport: any, rect: any)

Sets the OpenGL viewport rectangle through a ncine.rect table


ncine.viewport

ncine.viewport
ncine.viewport

ncine.viewport.clear_chain

function ncine.viewport.clear_chain()
function ncine.viewport.clear_chain()
function ncine.viewport.clear_chain()
function ncine.viewport.clear_chain()

ncine.viewport.delete

function ncine.viewport.delete(viewport: any)
function ncine.viewport.delete(viewport: viewportObj)
function ncine.viewport.delete(viewport: any)
function ncine.viewport.delete(viewport: viewportObj)

ncine.viewport.get_camera

function ncine.viewport.get_camera(viewport: any)
function ncine.viewport.get_camera(viewport: viewportObj)
  -> cameraObj?
function ncine.viewport.get_camera(viewport: any)
function ncine.viewport.get_camera(viewport: viewportObj)
  -> cameraObj?

ncine.viewport.get_clear_color

function ncine.viewport.get_clear_color(viewport: any)
function ncine.viewport.get_clear_color(viewport: viewportObj)
  -> ncine.color
function ncine.viewport.get_clear_color(viewport: any)
function ncine.viewport.get_clear_color(viewport: viewportObj)
  -> ncine.color

ncine.viewport.get_clear_mode

function ncine.viewport.get_clear_mode(viewport: any)
function ncine.viewport.get_clear_mode(viewport: viewportObj)
  -> ncine.clear_mode
function ncine.viewport.get_clear_mode(viewport: any)
function ncine.viewport.get_clear_mode(viewport: viewportObj)
  -> ncine.clear_mode

ncine.viewport.get_culling_rect

function ncine.viewport.get_culling_rect(viewport: any)
function ncine.viewport.get_culling_rect(viewport: viewportObj)
  -> ncine.rect
function ncine.viewport.get_culling_rect(viewport: any)
function ncine.viewport.get_culling_rect(viewport: viewportObj)
  -> ncine.rect

ncine.viewport.get_depth_stencil_format

function ncine.viewport.get_depth_stencil_format(viewport: any)
function ncine.viewport.get_depth_stencil_format(viewport: viewportObj)
  -> ncine.depth_stencil_format
function ncine.viewport.get_depth_stencil_format(viewport: any)
function ncine.viewport.get_depth_stencil_format(viewport: viewportObj)
  -> ncine.depth_stencil_format

ncine.viewport.get_height

function ncine.viewport.get_height(viewport: any)
function ncine.viewport.get_height(viewport: viewportObj)
  -> integer
function ncine.viewport.get_height(viewport: any)
function ncine.viewport.get_height(viewport: viewportObj)
  -> integer

ncine.viewport.get_last_frame_cleared

function ncine.viewport.get_last_frame_cleared(viewport: any)
function ncine.viewport.get_last_frame_cleared(viewport: viewportObj)
  -> integer
function ncine.viewport.get_last_frame_cleared(viewport: any)
function ncine.viewport.get_last_frame_cleared(viewport: viewportObj)
  -> integer

ncine.viewport.get_num_color_attachments

function ncine.viewport.get_num_color_attachments(viewport: any)
function ncine.viewport.get_num_color_attachments(viewport: viewportObj)
  -> integer
function ncine.viewport.get_num_color_attachments(viewport: any)
function ncine.viewport.get_num_color_attachments(viewport: viewportObj)
  -> integer

ncine.viewport.get_rootnode

function ncine.viewport.get_rootnode(viewport: any)
function ncine.viewport.get_rootnode(viewport: viewportObj)
  -> scenenodeObj?
function ncine.viewport.get_rootnode(viewport: any)
function ncine.viewport.get_rootnode(viewport: viewportObj)
  -> scenenodeObj?

ncine.viewport.get_scissor_rect

function ncine.viewport.get_scissor_rect(viewport: any)
function ncine.viewport.get_scissor_rect(viewport: viewportObj)
  -> ncine.rect
function ncine.viewport.get_scissor_rect(viewport: any)
function ncine.viewport.get_scissor_rect(viewport: viewportObj)
  -> ncine.rect

ncine.viewport.get_texture

function ncine.viewport.get_texture(viewport: any, index: any)
function ncine.viewport.get_texture(viewport: viewportObj, index: integer)
  -> textureObj?
function ncine.viewport.get_texture(viewport: any, index: any)
function ncine.viewport.get_texture(viewport: viewportObj, index: integer)
  -> textureObj?

ncine.viewport.get_type

function ncine.viewport.get_type(viewport: any)
function ncine.viewport.get_type(viewport: viewportObj)
  -> ncine.viewport_type
function ncine.viewport.get_type(viewport: any)
function ncine.viewport.get_type(viewport: viewportObj)
  -> ncine.viewport_type

ncine.viewport.get_viewport_rect

function ncine.viewport.get_viewport_rect(viewport: any)
function ncine.viewport.get_viewport_rect(viewport: viewportObj)
  -> ncine.rect
function ncine.viewport.get_viewport_rect(viewport: any)
function ncine.viewport.get_viewport_rect(viewport: viewportObj)
  -> ncine.rect

ncine.viewport.get_width

function ncine.viewport.get_width(viewport: any)
function ncine.viewport.get_width(viewport: viewportObj)
  -> integer
function ncine.viewport.get_width(viewport: any)
function ncine.viewport.get_width(viewport: viewportObj)
  -> integer

ncine.viewport.new

function ncine.viewport.new()
function ncine.viewport.new()
  -> viewportObj
function ncine.viewport.new()
function ncine.viewport.new()
  -> viewportObj

ncine.viewport.push_back_chain

function ncine.viewport.push_back_chain(viewport: any)
function ncine.viewport.push_back_chain(viewport: viewportObj)
function ncine.viewport.push_back_chain(viewport: any)
function ncine.viewport.push_back_chain(viewport: viewportObj)

ncine.viewport.push_front_chain

function ncine.viewport.push_front_chain(viewport: any)
function ncine.viewport.push_front_chain(viewport: viewportObj)
function ncine.viewport.push_front_chain(viewport: any)
function ncine.viewport.push_front_chain(viewport: viewportObj)

ncine.viewport.remove_all_textures

function ncine.viewport.remove_all_textures(viewport: any)
function ncine.viewport.remove_all_textures(viewport: viewportObj)
  -> boolean
function ncine.viewport.remove_all_textures(viewport: any)
function ncine.viewport.remove_all_textures(viewport: viewportObj)
  -> boolean

ncine.viewport.set_camera

function ncine.viewport.set_camera(viewport: any, camera: any)
function ncine.viewport.set_camera(viewport: viewportObj, camera?: cameraObj)
function ncine.viewport.set_camera(viewport: any, camera: any)
function ncine.viewport.set_camera(viewport: viewportObj, camera?: cameraObj)

ncine.viewport.set_clear_color

function ncine.viewport.set_clear_color(viewport: any, clear_color: any)
function ncine.viewport.set_clear_color(viewport: any, r: any, g: any, b: any, a: any)
function ncine.viewport.set_clear_color(viewport: viewportObj, clear_color: ncine.color)
function ncine.viewport.set_clear_color(viewport: viewportObj, r: number, g: number, b: number, a: number)
function ncine.viewport.set_clear_color(viewport: any, clear_color: any)
function ncine.viewport.set_clear_color(viewport: any, r: any, g: any, b: any, a: any)
function ncine.viewport.set_clear_color(viewport: viewportObj, clear_color: ncine.color)
function ncine.viewport.set_clear_color(viewport: viewportObj, r: number, g: number, b: number, a: number)

ncine.viewport.set_clear_mode

function ncine.viewport.set_clear_mode(viewport: any, clear_mode: any)
function ncine.viewport.set_clear_mode(viewport: viewportObj, clear_mode: ncine.clear_mode)
function ncine.viewport.set_clear_mode(viewport: any, clear_mode: any)
function ncine.viewport.set_clear_mode(viewport: viewportObj, clear_mode: ncine.clear_mode)

ncine.viewport.set_depth_stencil_format

function ncine.viewport.set_depth_stencil_format(viewport: any, depth_stencil_format: any)
function ncine.viewport.set_depth_stencil_format(viewport: viewportObj, depth_stencil_format: ncine.depth_stencil_format)
  -> boolean
function ncine.viewport.set_depth_stencil_format(viewport: any, depth_stencil_format: any)
function ncine.viewport.set_depth_stencil_format(viewport: viewportObj, depth_stencil_format: ncine.depth_stencil_format)
  -> boolean

ncine.viewport.set_glframebuffer_label

function ncine.viewport.set_glframebuffer_label(viewport: any, label: any)
function ncine.viewport.set_glframebuffer_label(viewport: viewportObj, label: string)
function ncine.viewport.set_glframebuffer_label(viewport: any, label: any)
function ncine.viewport.set_glframebuffer_label(viewport: viewportObj, label: string)

ncine.viewport.set_rootnode

function ncine.viewport.set_rootnode(viewport: any, rootnode: any)
function ncine.viewport.set_rootnode(viewport: viewportObj, rootnode?: scenenodeObj)
function ncine.viewport.set_rootnode(viewport: any, rootnode: any)
function ncine.viewport.set_rootnode(viewport: viewportObj, rootnode?: scenenodeObj)

ncine.viewport.set_scissor_rect

function ncine.viewport.set_scissor_rect(viewport: any, rect: any)
function ncine.viewport.set_scissor_rect(viewport: any, x: any, y: any, w: any, h: any)
function ncine.viewport.set_scissor_rect(viewport: viewportObj, rect: ncine.rect)
function ncine.viewport.set_scissor_rect(viewport: viewportObj, x: integer, y: integer, w: integer, h: integer)
function ncine.viewport.set_scissor_rect(viewport: any, rect: any)
function ncine.viewport.set_scissor_rect(viewport: any, x: any, y: any, w: any, h: any)
function ncine.viewport.set_scissor_rect(viewport: viewportObj, rect: ncine.rect)
function ncine.viewport.set_scissor_rect(viewport: viewportObj, x: integer, y: integer, w: integer, h: integer)

ncine.viewport.set_texture

function ncine.viewport.set_texture(viewport: any, index: any, texture: any)
function ncine.viewport.set_texture(viewport: viewportObj, index: integer, texture?: textureObj)
  -> boolean
function ncine.viewport.set_texture(viewport: any, index: any, texture: any)
function ncine.viewport.set_texture(viewport: viewportObj, index: integer, texture?: textureObj)
  -> boolean

ncine.viewport.set_viewport_rect

function ncine.viewport.set_viewport_rect(viewport: any, rect: any)
function ncine.viewport.set_viewport_rect(viewport: any, x: any, y: any, w: any, h: any)
function ncine.viewport.set_viewport_rect(viewport: viewportObj, rect: ncine.rect)
function ncine.viewport.set_viewport_rect(viewport: viewportObj, x: integer, y: integer, w: integer, h: integer)
function ncine.viewport.set_viewport_rect(viewport: any, rect: any)
function ncine.viewport.set_viewport_rect(viewport: any, x: any, y: any, w: any, h: any)
function ncine.viewport.set_viewport_rect(viewport: viewportObj, rect: ncine.rect)
function ncine.viewport.set_viewport_rect(viewport: viewportObj, x: integer, y: integer, w: integer, h: integer)

ncine.viewport_type

table
enum ncine.viewport_type
table
enum ncine.viewport_type

ncine.visit_order_state

table
enum ncine.visit_order_state
table
enum ncine.visit_order_state

newproxy

function newproxy(proxy: boolean|table|userdata)
  -> userdata

next

function next(table: table<<K>, <V>>, index?: <K>)
  -> <K>?
  2. <V>?

nil


number


openmode


os

oslib

os.clock

function os.clock()
  -> number

os.date

function os.date(format?: string, time?: integer)
  -> string|osdate

os.difftime

function os.difftime(t2: integer, t1: integer)
  -> integer

os.execute

function os.execute(command?: string)
  -> suc: boolean?
  2. exitcode: ("exit"|"signal")?
  3. code: integer?

os.exit

function os.exit(code?: boolean|integer, close?: boolean)

os.getenv

function os.getenv(varname: string)
  -> string?

os.remove

function os.remove(filename: string)
  -> suc: boolean
  2. errmsg: string?

os.rename

function os.rename(oldname: string, newname: string)
  -> suc: boolean
  2. errmsg: string?

os.setlocale

function os.setlocale(locale: string|nil, category?: "all"|"collate"|"ctype"|"monetary"|"numeric"...(+1))
  -> localecategory: string

os.time

function os.time(date?: osdateparam)
  -> integer

os.tmpname

function os.tmpname()
  -> string

osdate

day

string|integer

1-31

View documents

hour

string|integer

0-23

View documents

isdst

boolean

daylight saving flag, a boolean

View documents

min

string|integer

0-59

View documents

month

string|integer

1-12

View documents

sec

string|integer

0-61

View documents

wday

string|integer

weekday, 1–7, Sunday is 1

View documents

yday

string|integer

day of the year, 1–366

View documents

year

string|integer

four digits

View documents


osdateparam

day

string|integer

1-31

View documents

hour

(string|integer)?

0-23

View documents

isdst

boolean?

daylight saving flag, a boolean

View documents

min

(string|integer)?

0-59

View documents

month

string|integer

1-12

View documents

sec

(string|integer)?

0-61

View documents

wday

(string|integer)?

weekday, 1–7, Sunday is 1

View documents

yday

(string|integer)?

day of the year, 1–366

View documents

year

string|integer

four digits

View documents


oslib

clock

function os.clock()
  -> number

Returns an approximation of the amount in seconds of CPU time used by the program.

View documents

date

function os.date(format?: string, time?: integer)
  -> string|osdate

Returns a string or a table containing date and time, formatted according to the given string format.

View documents

difftime

function os.difftime(t2: integer, t1: integer)
  -> integer

Returns the difference, in seconds, from time t1 to time t2.

View documents

execute

function os.execute(command?: string)
  -> suc: boolean?
  2. exitcode: ("exit"|"signal")?
  3. code: integer?

Passes command to be executed by an operating system shell.

View documents

exitcode:
    | "exit"
    | "signal"

exit

function os.exit(code?: boolean|integer, close?: boolean)

Calls the ISO C function exit to terminate the host program.

View documents

getenv

function os.getenv(varname: string)
  -> string?

Returns the value of the process environment variable varname.

View documents

remove

function os.remove(filename: string)
  -> suc: boolean
  2. errmsg: string?

Deletes the file with the given name.

View documents

rename

function os.rename(oldname: string, newname: string)
  -> suc: boolean
  2. errmsg: string?

Renames the file or directory named oldname to newname.

View documents

setlocale

function os.setlocale(locale: string|nil, category?: "all"|"collate"|"ctype"|"monetary"|"numeric"...(+1))
  -> localecategory: string

Sets the current locale of the program.

View documents

category:
   -> "all"
    | "collate"
    | "ctype"
    | "monetary"
    | "numeric"
    | "time"

time

function os.time(date?: osdateparam)
  -> integer

Returns the current time when called without arguments, or a time representing the local date and time specified by the given table.

View documents

tmpname

function os.tmpname()
  -> string

Returns a string with a file name that can be used for a temporary file.

View documents


package

packagelib

package.config

string

package.loaders

table

package.loadlib

function package.loadlib(libname: string, funcname: string)
  -> any

package.searchers

table

package.searchpath

function package.searchpath(name: string, path: string, sep?: string, rep?: string)
  -> filename: string?
  2. errmsg: string?

package.seeall

function package.seeall(module: table)

packagelib

config

string

A string describing some compile-time configurations for packages.

View documents

cpath

string

The path used by require to search for a C loader.

View documents

loaded

table

A table used by require to control which modules are already loaded.

View documents

loaders

table

A table used by require to control how to load modules.

View documents

loadlib

function package.loadlib(libname: string, funcname: string)
  -> any

Dynamically links the host program with the C library libname.

View documents

path

string

The path used by require to search for a Lua loader.

View documents

preload

table

A table to store loaders for specific modules.

View documents

searchers

table

A table used by require to control how to load modules.

View documents

searchpath

function package.searchpath(name: string, path: string, sep?: string, rep?: string)
  -> filename: string?
  2. errmsg: string?

Searches for the given name in the given path.

View documents

seeall

function package.seeall(module: table)

Sets a metatable for module with its __index field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to function module .

View documents


pairs

function pairs(t: <T:table>)
  -> fun(table: table<<K>, <V>>, index?: <K>):<K>, <V>
  2. <T:table>

particle_initializer

particle_initializer
particle_initializer

particle_initializer

amount

number|number[]

life

number|number[]

position

ncine.vec2|ncine.vec2[]

A two component vector

rotation

number|number[]

velocity

ncine.vec2|ncine.vec2[]

A two component vector


particlesystemObj


pcall

function pcall(f: fun(...any):...unknown, arg1?: any, ...any)
  -> success: boolean
  2. result: any
  3. ...any

pointer

id

integer

x

number

y

number

pointer

pointer
pointer

popenmode


print

function print(...any)

rawequal

function rawequal(v1: any, v2: any)
  -> boolean

rawget

function rawget(table: table, index: any)
  -> any

rawlen

function rawlen(v: string|table)
  -> len: integer

rawset

function rawset(table: table, index: any, value: any)
  -> table

readmode


reload_script

function reload_script()
function reload_script()
function reload_script()
function reload_script()

rendering_settings

batching

boolean

True if sprite batching is enabled

batching_with_indices

boolean

True if using indices for vertex batching

culling

boolean

True if node culling is enabled

max_batch_size

integer

Maximum size for a batch before a forced split

min_batch_size

integer

Minimum size for a batch to be collected


rendering_settings

rendering_settings
rendering_settings

require

function require(modname: string)
  -> unknown
  2. loaderdata: unknown

scenenodeObj


scroll_event

x

number

y

number

scroll_event

scroll_event
scroll_event

seekwhence


select

function select(index: integer|"#", ...any)
  -> any

setfenv

function setfenv(f: integer|fun(...any):...unknown, table: table)
  -> function

setmetatable

function setmetatable(table: table, metatable?: table|metatable)
  -> table

shaderObj


shaderstateObj


show_gui

function show_gui(show: any)
function show_gui(show: boolean)
function show_gui(show: any)
function show_gui(show: boolean)

spriteObj


string

byte

function string.byte(s: string|number, i?: integer, j?: integer)
  -> ...integer

Returns the internal numeric codes of the characters s[i], s[i+1], ..., s[j].

View documents

char

function string.char(byte: integer, ...integer)
  -> string

Returns a string with length equal to the number of arguments, in which each character has the internal numeric code equal to its corresponding argument.

View documents

dump

function string.dump(f: fun(...any):...unknown, strip?: boolean)
  -> string

Returns a string containing a binary representation (a binary chunk) of the given function.

View documents

find

function string.find(s: string|number, pattern: string|number, init?: integer, plain?: boolean)
  -> start: integer|nil
  2. end: integer|nil
  3. ...any

Looks for the first match of pattern (see §6.4.1) in the string.

View documents

@return start

@return end

@return ... — captured

format

function string.format(s: string|number, ...any)
  -> string

Returns a formatted version of its variable number of arguments following the description given in its first argument.

View documents

gmatch

function string.gmatch(s: string|number, pattern: string|number, init?: integer)
  -> fun():string, ...unknown

Returns an iterator function that, each time it is called, returns the next captures from pattern (see §6.4.1) over the string s.

As an example, the following loop will iterate over all the words from string s, printing one per line:

    s =
"hello world from Lua"
    for w in string.gmatch(s, "%a+") do
        print(w)
    end

View documents

gsub

function string.gsub(s: string|number, pattern: string|number, repl: string|number|function|table, n?: integer)
  -> string
  2. count: integer

Returns a copy of s in which all (or the first n, if given) occurrences of the pattern (see §6.4.1) have been replaced by a replacement string specified by repl.

View documents

len

function string.len(s: string|number)
  -> integer

Returns its length.

View documents

lower

function string.lower(s: string|number)
  -> string

Returns a copy of this string with all uppercase letters changed to lowercase.

View documents

match

function string.match(s: string|number, pattern: string|number, init?: integer)
  -> ...any

Looks for the first match of pattern (see §6.4.1) in the string.

View documents

pack

function string.pack(fmt: string, v1: string|number, v2?: string|number, ...string|number)
  -> binary: string

Returns a binary string containing the values v1, v2, etc. packed (that is, serialized in binary form) according to the format string fmt (see §6.4.2) .

View documents

packsize

function string.packsize(fmt: string)
  -> integer

Returns the size of a string resulting from string.pack with the given format string fmt (see §6.4.2) .

View documents

rep

function string.rep(s: string|number, n: integer, sep?: string|number)
  -> string

Returns a string that is the concatenation of n copies of the string s separated by the string sep.

View documents

reverse

function string.reverse(s: string|number)
  -> string

Returns a string that is the string s reversed.

View documents

sub

function string.sub(s: string|number, i: integer, j?: integer)
  -> string

Returns the substring of the string that starts at i and continues until j.

View documents

unpack

function string.unpack(fmt: string, s: string, pos?: integer)
  -> ...any
  2. offset: integer

Returns the values packed in string according to the format string fmt (see §6.4.2) .

View documents

upper

function string.upper(s: string|number)
  -> string

Returns a copy of this string with all lowercase letters changed to uppercase.

View documents


string

stringlib

string.byte

function string.byte(s: string|number, i?: integer, j?: integer)
  -> ...integer

string.char

function string.char(byte: integer, ...integer)
  -> string

string.dump

function string.dump(f: fun(...any):...unknown, strip?: boolean)
  -> string

string.find

function string.find(s: string|number, pattern: string|number, init?: integer, plain?: boolean)
  -> start: integer|nil
  2. end: integer|nil
  3. ...any

string.format

function string.format(s: string|number, ...any)
  -> string

string.gmatch

function string.gmatch(s: string|number, pattern: string|number, init?: integer)
  -> fun():string, ...unknown

string.gsub

function string.gsub(s: string|number, pattern: string|number, repl: string|number|function|table, n?: integer)
  -> string
  2. count: integer

string.len

function string.len(s: string|number)
  -> integer

string.lower

function string.lower(s: string|number)
  -> string

string.match

function string.match(s: string|number, pattern: string|number, init?: integer)
  -> ...any

string.pack

function string.pack(fmt: string, v1: string|number, v2?: string|number, ...string|number)
  -> binary: string

string.packsize

function string.packsize(fmt: string)
  -> integer

string.rep

function string.rep(s: string|number, n: integer, sep?: string|number)
  -> string

string.reverse

function string.reverse(s: string|number)
  -> string

string.sub

function string.sub(s: string|number, i: integer, j?: integer)
  -> string

string.unpack

function string.unpack(fmt: string, s: string, pos?: integer)
  -> ...any
  2. offset: integer

string.upper

function string.upper(s: string|number)
  -> string

stringlib

byte

function string.byte(s: string|number, i?: integer, j?: integer)
  -> ...integer

Returns the internal numeric codes of the characters s[i], s[i+1], ..., s[j].

View documents

char

function string.char(byte: integer, ...integer)
  -> string

Returns a string with length equal to the number of arguments, in which each character has the internal numeric code equal to its corresponding argument.

View documents

dump

function string.dump(f: fun(...any):...unknown, strip?: boolean)
  -> string

Returns a string containing a binary representation (a binary chunk) of the given function.

View documents

find

function string.find(s: string|number, pattern: string|number, init?: integer, plain?: boolean)
  -> start: integer|nil
  2. end: integer|nil
  3. ...any

Looks for the first match of pattern (see §6.4.1) in the string.

View documents

@return start

@return end

@return ... — captured

format

function string.format(s: string|number, ...any)
  -> string

Returns a formatted version of its variable number of arguments following the description given in its first argument.

View documents

gmatch

function string.gmatch(s: string|number, pattern: string|number, init?: integer)
  -> fun():string, ...unknown

Returns an iterator function that, each time it is called, returns the next captures from pattern (see §6.4.1) over the string s.

As an example, the following loop will iterate over all the words from string s, printing one per line:

    s =
"hello world from Lua"
    for w in string.gmatch(s, "%a+") do
        print(w)
    end

View documents

gsub

function string.gsub(s: string|number, pattern: string|number, repl: string|number|function|table, n?: integer)
  -> string
  2. count: integer

Returns a copy of s in which all (or the first n, if given) occurrences of the pattern (see §6.4.1) have been replaced by a replacement string specified by repl.

View documents

len

function string.len(s: string|number)
  -> integer

Returns its length.

View documents

lower

function string.lower(s: string|number)
  -> string

Returns a copy of this string with all uppercase letters changed to lowercase.

View documents

match

function string.match(s: string|number, pattern: string|number, init?: integer)
  -> ...any

Looks for the first match of pattern (see §6.4.1) in the string.

View documents

pack

function string.pack(fmt: string, v1: string|number, v2?: string|number, ...string|number)
  -> binary: string

Returns a binary string containing the values v1, v2, etc. packed (that is, serialized in binary form) according to the format string fmt (see §6.4.2) .

View documents

packsize

function string.packsize(fmt: string)
  -> integer

Returns the size of a string resulting from string.pack with the given format string fmt (see §6.4.2) .

View documents

rep

function string.rep(s: string|number, n: integer, sep?: string|number)
  -> string

Returns a string that is the concatenation of n copies of the string s separated by the string sep.

View documents

reverse

function string.reverse(s: string|number)
  -> string

Returns a string that is the string s reversed.

View documents

sub

function string.sub(s: string|number, i: integer, j?: integer)
  -> string

Returns the substring of the string that starts at i and continues until j.

View documents

unpack

function string.unpack(fmt: string, s: string, pos?: integer)
  -> ...any
  2. offset: integer

Returns the values packed in string according to the format string fmt (see §6.4.2) .

View documents

upper

function string.upper(s: string|number)
  -> string

Returns a copy of this string with all lowercase letters changed to uppercase.

View documents


table


table

tablelib

table.concat

function table.concat(list: table, sep?: string, i?: integer, j?: integer)
  -> string

table.foreach

function table.foreach(list: any, callback: fun(key: string, value: any):<T>|nil)
  -> <T>|nil

table.foreachi

function table.foreachi(list: any, callback: fun(key: string, value: any):<T>|nil)
  -> <T>|nil

table.getn

function table.getn(list: <T>[])
  -> integer

table.insert

function table.insert(list: table, pos: integer, value: any)

table.maxn

function table.maxn(table: table)
  -> integer

table.move

function table.move(a1: table, f: integer, e: integer, t: integer, a2?: table)
  -> a2: table

table.pack

function table.pack(...any)
  -> table

table.remove

function table.remove(list: table, pos?: integer)
  -> any

table.sort

function table.sort(list: <T>[], comp?: fun(a: <T>, b: <T>):boolean)

table.unpack

function table.unpack(list: <T>[], i?: integer, j?: integer)
  -> ...<T>

tablelib

concat

function table.concat(list: table, sep?: string, i?: integer, j?: integer)
  -> string

Given a list where all elements are strings or numbers, returns the string list[i]..sep..list[i+1] ··· sep..list[j].

View documents

foreach

function table.foreach(list: any, callback: fun(key: string, value: any):<T>|nil)
  -> <T>|nil

Executes the given f over all elements of table. For each element, f is called with the index and respective value as arguments. If f returns a non-nil value, then the loop is broken, and this value is returned as the final value of foreach.

View documents

foreachi

function table.foreachi(list: any, callback: fun(key: string, value: any):<T>|nil)
  -> <T>|nil

Executes the given f over the numerical indices of table. For each index, f is called with the index and respective value as arguments. Indices are visited in sequential order, from 1 to n, where n is the size of the table. If f returns a non-nil value, then the loop is broken and this value is returned as the result of foreachi.

View documents

getn

function table.getn(list: <T>[])
  -> integer

Returns the number of elements in the table. This function is equivalent to #list.

View documents

insert

function table.insert(list: table, pos: integer, value: any)

Inserts element value at position pos in list.

View documents

maxn

function table.maxn(table: table)
  -> integer

Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices.

View documents

move

function table.move(a1: table, f: integer, e: integer, t: integer, a2?: table)
  -> a2: table

Moves elements from table a1 to table a2.

a2[t],··· =
a1[f],···,a1[e]
return a2

View documents

pack

function table.pack(...any)
  -> table

Returns a new table with all arguments stored into keys 1, 2, etc. and with a field "n" with the total number of arguments.

View documents

remove

function table.remove(list: table, pos?: integer)
  -> any

Removes from list the element at position pos, returning the value of the removed element.

View documents

sort

function table.sort(list: <T>[], comp?: fun(a: <T>, b: <T>):boolean)

Sorts list elements in a given order, in-place, from list[1] to list[#list].

View documents

unpack

function table.unpack(list: <T>[], i?: integer, j?: integer)
  -> ...<T>

Returns the elements from the given list. This function is equivalent to

    return list[i], list[i+1], ···, list[j]

By default, i is 1 and j is #list.

View documents


text_input_event

text_input_event
text_input_event

text_input_event

text

string

textnodeObj


textureObj


thread


tonumber

function tonumber(e: any)
  -> number?

tostring

function tostring(v: any)
  -> string

touch_event

action_index

integer

count

integer

pointers

pointer[]

touch_event

touch_event
touch_event

true


type


type

function type(v: any)
  -> type: "boolean"|"function"|"nil"|"number"|"string"...(+3)

unknown


unpack

function unpack(list: <T>[], i?: integer, j?: integer)
  -> ...<T>
function unpack(list: { [1]: <T1>, [2]: <T2>, [3]: <T3>, [4]: <T4>, [5]: <T5>, [6]: <T6>, [7]: <T7>, [8]: <T8>, [9]: <T9> })
  -> <T1>
  2. <T2>
  3. <T3>
  4. <T4>
  5. <T5>
  6. <T6>
  7. <T7>
  8. <T8>
  9. <T9>

userdata


utf8

utf8lib

utf8.char

function utf8.char(code: integer, ...integer)
  -> string

utf8.codepoint

function utf8.codepoint(s: string, i?: integer, j?: integer, lax?: boolean)
  -> code: integer
  2. ...integer

utf8.codes

function utf8.codes(s: string, lax?: boolean)
  -> fun(s: string, p: integer):integer, integer

utf8.len

function utf8.len(s: string, i?: integer, j?: integer, lax?: boolean)
  -> integer?
  2. errpos: integer?

utf8.offset

function utf8.offset(s: string, n: integer, i?: integer)
  -> p: integer

utf8lib

char

function utf8.char(code: integer, ...integer)
  -> string

Receives zero or more integers, converts each one to its corresponding UTF-8 byte sequence and returns a string with the concatenation of all these sequences.

View documents

charpattern

string

The pattern which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.

View documents

codepoint

function utf8.codepoint(s: string, i?: integer, j?: integer, lax?: boolean)
  -> code: integer
  2. ...integer

Returns the codepoints (as integers) from all characters in s that start between byte position i and j (both included).

View documents

codes

function utf8.codes(s: string, lax?: boolean)
  -> fun(s: string, p: integer):integer, integer

Returns values so that the construction

for p, c in utf8.codes(s) do
    body
end

will iterate over all UTF-8 characters in string s, with p being the position (in bytes) and c the code point of each character. It raises an error if it meets any invalid byte sequence.

View documents

len

function utf8.len(s: string, i?: integer, j?: integer, lax?: boolean)
  -> integer?
  2. errpos: integer?

Returns the number of UTF-8 characters in string s that start between positions i and j (both inclusive).

View documents

offset

function utf8.offset(s: string, n: integer, i?: integer)
  -> p: integer

Returns the position (in bytes) where the encoding of the n-th character of s (counting from position i) starts.

View documents


vbuf


video_mode

blue_bits

integer

The number of bits for the blue channel

green_bits

integer

The number of bits for the green channel

height

integer

The video height

red_bits

integer

The number of bits for the red channel

refresh_rate

number

The refresh rate in Hz

width

integer

The video width


video_mode

video_mode
video_mode

viewportObj


warn

function warn(message: string, ...any)

xpcall

function xpcall(f: fun(...any):...unknown, msgh: function, arg1?: any, ...any)
  -> success: boolean
  2. result: any
  3. ...any