Skip to content

270 Degrees Customiser Changelog¶

1.2.3¶

Improvements¶

  • ME.hideObject and ME.showObject automatically call ME.setShadow().

1.2.2¶

Improvements¶

  • ME.setTexture and ME.setText return a promise.

1.2.1¶

Bugfixes¶

  • ScaleTexture correctly sets wrapping when used on shipped materials.

1.2.0¶

New features¶

  • Scale texture to factor. Either use ME.setTexture({name: 'item', scale: Number}) or ME.scaleTexture({name: 'item', scale: Number}).

1.1.5¶

New features¶

  • Per mesh variant support via ME.setVariant().
  • IMPORTANT: This requires Viewer version 1.9.1 or higher.

Improvements¶

  • ME.getColor() requires an object now, to align with multi parameter methods.

1.1.4¶

New features¶

  • Added onAttach option, a callback function once the customiser was attached to ME.

Improvements¶

  • ME.setTexture(): offset defaults to false. Explicitly pass offset: true to keep legacy result.

Bugfixes¶

  • Removed faint black border when offset: true and transparent: true on ME.setTexture().

1.1.3¶

Improvements¶

  • ME.setTexture() and ME.setText() better respect material transparency modes
  • ME.removeTexture() and ME.removeText() accepts transparency: bool to force transparency after texture has been removed. Default is target's current transparency state.

1.1.2¶

Bugfixes¶

  • Correctly update viewer when multiple methods are called.

1.1.1¶

Improvements¶

  • Better ESM support for bundlers.

1.1.0¶

Improvements¶

  • Set baseColor to white on setTexture() to prevent unwanted color blending
  • Use material’s transparency as default in setTexture()

1.0.1¶

Bugfixes¶

  • transparent boolean for setText and setTexture did not update material

1.0.0¶

New features¶

Initial release

💬 Ask AI