makeActive method

void makeActive()

Makes this the scene's primary camera, overriding auto-promotion.

If the owning node is not yet mounted, the selection is deferred and applied when it mounts.

Implementation

void makeActive() {
  final renderScene = isAttached ? node.internalRenderScene : null;
  if (renderScene != null) {
    renderScene.cameraOverride = toCamera();
  } else {
    _activateOnMount = true;
  }
}