UNPKG

@awayjs/stage

Version:
38 lines (37 loc) 1.49 kB
import { __extends } from "tslib"; import { AttributesView } from './AttributesView'; var Float1Attributes = /** @class */ (function (_super) { __extends(Float1Attributes, _super); function Float1Attributes(attributesBufferLength) { return _super.call(this, Float32Array, 1, attributesBufferLength) || this; } Object.defineProperty(Float1Attributes.prototype, "assetType", { /** * * @returns {string} */ get: function () { return Float1Attributes.assetType; }, enumerable: false, configurable: true }); Float1Attributes.prototype.set = function (values, offset) { if (offset === void 0) { offset = 0; } _super.prototype.set.call(this, values, offset); }; Float1Attributes.prototype.get = function (count, offset) { if (offset === void 0) { offset = 0; } return _super.prototype.get.call(this, count, offset); }; Float1Attributes.prototype._internalClone = function (attributesBuffer) { return (this._cloneCache = new Float1Attributes(attributesBuffer)); }; Float1Attributes.prototype.clone = function (attributesBuffer) { if (attributesBuffer === void 0) { attributesBuffer = null; } return _super.prototype.clone.call(this, attributesBuffer); }; Float1Attributes.assetType = '[attributes Float1Attributes]'; return Float1Attributes; }(AttributesView)); export { Float1Attributes };