import {AttributesBuffer} from "../attributes/AttributesBuffer"; import {AttributesView} from "../attributes/AttributesView"; export class Float4Attributes extends AttributesView { public static assetType:string = "[attributes Float4Attributes]"; /** * * @returns {string} */ public get assetType():string { return Float4Attributes.assetType; } /** * */ constructor(length?:number); constructor(attributesBuffer?:AttributesBuffer); constructor(attributesBufferLength?:any) { super(Float32Array, 4, attributesBufferLength) } public set(array:Array, offset?:number); public set(typedArray:Float32Array, offset?:number); public set(values:any, offset:number = 0):void { super.set(values, offset); } public get(count:number, offset:number = 0):Float32Array { return super.get(count, offset); } public _internalClone(attributesBuffer:AttributesBuffer):Float4Attributes { return (this._cloneCache = new Float4Attributes(attributesBuffer)); } public clone(attributesBuffer:AttributesBuffer = null):Float4Attributes { return super.clone(attributesBuffer); } }