Atom

Represents a Virt-A-Mate atom

Constructor

new Atom()

Members

name

The name of this atom

on

Whether the atom is on or off

type

The type of this atom

Methods

getController(name) → {Controller}

Returns a free controller (the node you can select and move around in 3D)

Parameters:
NameTypeDescription
namestring

The controller name (e.g. "control" or "headControl")

Returns:
Type: 
Controller

getStorable(name) → {Storable}

Returns a storable (e.g. a plugin or a native atom component)

Parameters:
NameTypeDescription
namestring

The storable name (for plugins, "plugin#0_YourPluginName")

Returns:
Type: 
Storable

getStorableIds() → {Array.<string>}

Returns the list of all storable IDs

Returns:
Type: 
Array.<string>