@awayjs/graphics
Version:
AwayJS graphics classes
40 lines (39 loc) • 1.26 kB
JavaScript
/**
* ...
*/
var ParticleGraphicsTransform = /** @class */ (function () {
function ParticleGraphicsTransform() {
}
Object.defineProperty(ParticleGraphicsTransform.prototype, "vertexTransform", {
get: function () {
return this._defaultVertexTransform;
},
set: function (value) {
this._defaultVertexTransform = value;
this._defaultInvVertexTransform = value.clone();
this._defaultInvVertexTransform.invert();
this._defaultInvVertexTransform.transpose();
},
enumerable: false,
configurable: true
});
Object.defineProperty(ParticleGraphicsTransform.prototype, "UVTransform", {
get: function () {
return this._defaultUVTransform;
},
set: function (value) {
this._defaultUVTransform = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ParticleGraphicsTransform.prototype, "invVertexTransform", {
get: function () {
return this._defaultInvVertexTransform;
},
enumerable: false,
configurable: true
});
return ParticleGraphicsTransform;
}());
export { ParticleGraphicsTransform };