SignStixGraphics
Modifier and Type | Function and Description |
---|---|
Layer |
getLayerAt(int index)
Find the layer at the argument index.
|
Layer |
getLayerContaining(String layerNamePart)
Find the first layer in the sign which has a name containing the argument
partial name.
|
int |
getLayerCount()
Find the number of layers in the current sign.
|
Layer |
getLayerNamed(String layerName)
Find the layer in the currently playing sign that has the argument name.
|
void |
takeFaces(String jsFunctionName)
Attempt to take a photo and extract the faces from it using a camera connected to the Player.
|
void |
takePhoto(String jsFunctionName)
Attempt to take a photo using a camera connected to the Player.
|
void |
updateDisplay()
Instruct the player to update its display to reflect any layer changes
involving the creation of new graphics (e.g.
|
Layer getLayerNamed(String layerName)
layerName
- - the name of the layer as defined in Creator.Layer getLayerContaining(String layerNamePart)
layerNamePart
- - part of a layer name.int getLayerCount()
Layer getLayerAt(int index)
index
- - from 0 to (getLayoutCount()-1).void updateDisplay()
void takePhoto(String jsFunctionName)
jsFunctionName
- - the name of a Javascript function that takes parameters as
follows:
void takeFaces(String jsFunctionName)
jsFunctionName
- - the name of a Javascript function that takes parameters as
follows: