Z.ObjectType

Studio

Z.ObjectType

Inherits from Z.Base

Description

The Z.ObjectType object represents a loaded 3D model.

Provided by Z.ObjectType

Constructor

Z.ObjectType(...) Constructs a new Z.ObjectType instance for the supplied source filename or URL.

Functions

materials( ) Gets the array of materials for this ObjectType.
materials(...) Sets the array of materials for this ObjectType.

Inherited from 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.
Open in new window