Skip to content

type(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

type(val: ObjectType): this;

type(val: string): this;

Sets the Z.ObjectType for this object.

ParameterTypeDescription
valZ.ObjectType or stringThe object type to set. If val is a string then a Z.ObjectType will be constructed, interpreting the string as a filename or URL.

this