Inherits from Z.Node
A Z.Object node is an instance of a renderable 3D model.
The following types are supported:
- ARO Simple (Zappar's simple proprietary format)
Most nodes, Z.Object included, have parameters that can be animated in timelines, states or events (e.g.
In addition to these node parameters, POD-type objects can have animations built into the 3D model as exported from a 3D editor such as Maya or 3ds max. The
animationFrame parameter can be used to change which frame of a model's animation is displayed for a given object.
Each Z.Object is backed by an Z.ObjectType that represents a loaded ARO or POD object.
The Z.ObjectType has an array of materials that are used during rendering.
Z.Object instances may override this array with materials that will be used rather than those present in the backing Z.ObjectType using the
Provided by Z.Object
||Emitted every frame for each raycaster that the object is intersected by.
||Emitted when the node is first intersected by a raycaster.
||Emitted when the object is no longer being intersected by a raycaster that it had been previously.
||Emitted when a pointer is depressed and intersects with this object.
||Emitted when a depressed pointer intersects with this object.
||Emitted when a depressed pointer that has been intersecting this object leaves it.
||Emitted for every depressed pointer that intersects this object when it moves.
||Emitted at most once per frame for this object.
||Emitted when a depressed pointer that has been intersecting this object is released.
||Emitted when the origin point of the object first enters a TriggerRegion.
||Emitted when the origin point of the object leaves a TriggerRegion.
||Emitted every frame the origin point of the object moves inside a TriggerRegion.
Inherited from Z.Node
Inherited from Z.Base
||Calls the handler functions attached to an event.
||Returns true if this object has the specified tag.
||Removes a handler function from an event.
||Attaches a handler function to an event.
||Attaches a single-use handler function to an event.
||Adds a tag to this object.
||Removes a tag from this object.
||Gets an array of the tags that this object belongs to.
||Sets the array of the tags that this object belongs to.