fromArray

Sets the SH coefficients of this instance from the given array.

Return

A reference to this spherical harmonics.

Parameters

array

An array holding the SH coefficients.

offset

The array offset where to start copying.