engine

From Teverse


Properties

input [readonly]

Type: input

guiImage [readonly]

Type: guiImage

audioEmitter [readonly]

Type: audioEmitter

guiFrameMultiColour [readonly]

Type: guiFrameMultiColour

scriptSource [readonly]

Type: scriptSource

sounds [readonly]

Type: sounds

guiScrollView [readonly]

Type: guiScrollView

block [readonly]

Type: block

http [readonly]

Type: http

workspace [readonly]

Type: workspace

platform [readonly]

Type: string

tween [readonly]

Type: tween

guiFrame [readonly]

Type: guiFrame

scriptContainer [readonly]

Type: scriptContainer

assets [readonly]

Type: assetsFolder

networking [readonly]

Type: networking

physics [readonly]

Type: physics

graphics [readonly]

Type: graphics

guiTextBox [readonly]

Type: guiTextBox

json [readonly]

Type: json

debug [readonly]

Type: debug

className [readonly]

Type: string

light [readonly]

Type: light

grid [readonly]

Type: grid

interface [readonly]

Type: interface

guiButton [readonly]

Type: guiButton

name [readonly]

Type: string

folder [readonly]

Type: folder

Inherited from baseClass:

name

Type: string
A none unique identifier

className [readonly]

Type: string
The name of the object's class

Methods

isAuthenticated

nil engine:isAuthenticated()

construct

nil engine:construct()

Inherited from baseClass:

getDescendants

table engine:getDescendants()
Returns a table of all descended objects

isContainer

boolean engine:isContainer()

isA

boolean engine:isA(string className)
Returns true if this object is derived from the className given.

destroy

nil engine:destroy()
Locks the object before removing it from the hierarchy. Children will also be destroyed.

getFullName

string engine:getFullName()
Returns a string including ancestor names

constructor

nil engine:constructor()

destroyAllChildren

nil engine:destroyAllChildren()
Invokes the destroy method on each child of this instance.

hasChild

boolean engine:hasChild(string name)
Returns true if this object has a child with the name given

isDescendantOf

boolean engine:isDescendantOf(baseClass ancestor)
Returns true if this object is a descendant of the ancestor object given

describe

nil engine:describe()

clone

variant engine:clone()
Creates and returns a copy of this object

Events

Inherited from baseClass:

changed

eventListener engine:changed(function(string propertyName, variant newValuevariant))
Fired when a property changes

childAdded

eventListener engine:childAdded(function(baseClass child))
Fired when a child is added

childRemoved

eventListener engine:childRemoved(function(baseClass child))
Fired when a child is removed

destroying

eventListener engine:destroying(function())
Fired just before an object is destroyed.

Sub classes

Category derivedFromengine not found