Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /home/drbiz/public/tools.realism.com/includes/menu.inc).

Revision of Adding Tags from Wed, 08/09/2017 - 21:07

Tags are the fundemental reference to objects in the scene. Each tag contains information about all attributes that can be set, modified, or accessed while the scene is active. Tag and attribute information is used when parsing the scene and various methods are accessed during runtime. All of this information is stored in the xseen.Tags object. There are several methods used to access and manipulate this object.

  • .defineTag - defines a new tag.
  • .defineAttribute - defines an attribute for a tag.
  • .getTag - returns the object for the specified tag.
  • .getAttribute - returns the object for the specified attribute of a given tag.

Note that tags are not elements in the DOM. XSeen DOM elements refer to a tag and attributes.