Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


targetCamera

Locks the CullingGroup to a specific camera.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Camera targetCamera { get; set; }

Remarks

If targetCamera is assigned then the bounding spheres will only be culled from the perspective of that camera.