Z.Base
Inherited by: Z.Accelerometer, Z.Node, Z.Audio, Z.CameraManager, Z.Texture, Z.Controller, Z.CubemapTexture, Z.Element, Z.EnvironmentLight, Z.FaceFinder, Z.FaceInstance, Z.Font, Z.HeadsetManager, Z.Keyboard, Z.Material, Z.ObjectType, Z.Prompt, Z.Stats, Z.Target, Z.TargetFinder, Z.TimelineLabel
Description
Z.Base provides event handling and tag functionality, and is the base class for most Zappar types.
Provided by Z.Base
Functions
emit(...) | Calls the handler functions attached to an event. |
hasTag(...) | Returns true if this object has the specified tag. |
off(...) | Removes a handler function from an event. |
on(...) | Attaches a handler function to an event. |
one(...) | Attaches a single-use handler function to an event. |
pushTag(...) | Adds a tag to this object. |
removeTag(...) | Removes a tag from this object. |
tags( ) | Gets an array of the tags that this object belongs to. |
tags(...) | Sets the array of the tags that this object belongs to. |