270 Degrees Customiser Changelog¶
1.2.5¶
Bugfixes¶
ME.setTextcorrectly keeps nonretina dimensions.
1.2.4¶
Improvements¶
- Allow scoped targetting of objects via dotnotation.
1.2.3¶
Improvements¶
ME.hideObjectandME.showObjectautomatically callME.setShadow().
1.2.2¶
Improvements¶
ME.setTextureandME.setTextreturn 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})orME.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
onAttachoption, a callback function once the customiser was attached toME.
Improvements¶
ME.setTexture():offsetdefaults tofalse. Explicitly passoffset: trueto keep legacy result.
Bugfixes¶
- Removed faint black border when
offset: trueandtransparent: trueonME.setTexture().
1.1.3¶
Improvements¶
ME.setTexture()andME.setText()better respect material transparency modesME.removeTexture()andME.removeText()acceptstransparency: boolto 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¶
transparentboolean for setText and setTexture did not update material
1.0.0¶
New features¶
Initial release