Assigns the raw typed array underlying this accessor.
(array: TypedArray | null)
| 530 | |
| 531 | /** Assigns the raw typed array underlying this accessor. */ |
| 532 | public setArray(array: TypedArray | null): this { |
| 533 | this.set('componentType', array ? arrayToComponentType(array) : Accessor.ComponentType.FLOAT); |
| 534 | this.set('array', array); |
| 535 | return this; |
| 536 | } |
| 537 | |
| 538 | /** Returns the total bytelength of this accessor, exclusive of padding. */ |
| 539 | public getByteLength(): number { |