setVisibleAt( instanceId, visible ) {

		this.validateInstanceId( instanceId );

		if ( this._instanceInfo[ instanceId ].visible === visible ) {

			return this;

		}

		this._instanceInfo[ instanceId ].visible = visible;
		this._visibilityChanged = true;

		return this;

	}
Sets the visibility of the instance.

@param {number} instanceId - The id of the instance to set the visibility of.
@param {boolean} visible - Whether the instance is visible or not.
@return {BatchedMesh} A reference to this batched mesh.