KEuler.fromArray() method
从一个数组读取x,y,z和order数据,写入到当前对象中。
Set x, y, z angles and order from an array.
Signature:
fromArray(array: any[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
array | any[] | 输入数组,至少含x, y, z旋转信息,默认order为当前欧拉角的order。 The input array: [x, y, z, order?], where x, y, z are needed and default order is the current euler order. |
Returns:
void