setCameraNode

fun setCameraNode(cameraNode: CameraNode)

Sets this View's Camera.

This method associates the specified Camera with this View. A Camera can be associated with several View instances. To remove an existing association, simply pass null.

The View does not take ownership of the Scene pointer. Before destroying a Camera, be sure to remove it from all associated Views.