Camera.setData() method
Set the scene camera use data.
Signature:
setData(data: any, animation?: boolean): void;
Parameters
| Parameter | Description |
|---|
| data | the internal stats of current camera. |
| animation | If true, there will be a animation when the function is triggered. |
Returns:
void