skin(...)

skin(val: string): this;

skin(val: Texture): this;

Sets a texture (e.g. Z.ImageTexture or Z.VideoTexture) used as the skin.

Default value: null

Parameters

Parameter Type Description
val string, Z.Texture, or null The texture to set as the skin. If a string, the skin will be a Z.ImageTexture node with this name if one exists, otherwise; a newly-constructed Z.ImageTexture with this source.

Returns

this

zapcode branded_zapcode i