Menu
Contents

Signal 2 aspect rail tile

$object.signal2aspectrailtile:description$

Properties

aspect
$object.signalrailtile.aspect:description$
id
Object id, each object has a unique id.
name
$object.signalrailtile.name:description$

Methods

set_aspect

set_aspect(aspect)

$object.signalrailtile.set_aspect:description$

Parameters

aspect
$object.signalrailtile.set_aspect.parameter.aspect:description$

Return values

$object.signalrailtile.set_aspect:return_values$

Events

on_aspect_changed ≥ 0.3

Fired when the signal aspect changes.

Handler: function (signal, aspect, user_data)
signal
$object.signalrailtile.on_aspect_changed.parameter.signal:description$
aspect
$object.signalrailtile.on_aspect_changed.parameter.aspect:description$
user_data
User data that was set or nil if no user data was set during connect.