public void setNearClippingDistance ( float near ) { if ( leftCamera instanceof GVRCameraClippingDistanceInterface && centerCamera instanceof GVRCameraClippingDistanceInterface && rightCamera instanceof GVRCameraClippingDistanceInterface ) { ( ( GVRCameraClippingDistanceInterface ) leftCamera ) . setNearClippingDistance ( near ) ; centerCamera . setNearClippingDistance ( near ) ; ( ( GVRCameraClippingDistanceInterface ) rightCamera ) . setNearClippingDistance ( near ) ; } }
Sets the distance from the origin to the near clipping plane for the whole camera rig .