CameraCache.UpdateCachedMainCamera(Camera) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manually update the cached main camera
public:
static void UpdateCachedMainCamera(UnityEngine::Camera ^ camera);
public static void UpdateCachedMainCamera (UnityEngine.Camera camera);
static member UpdateCachedMainCamera : UnityEngine.Camera -> unit
Public Shared Sub UpdateCachedMainCamera (camera As Camera)
Parameters
- camera
- UnityEngine.Camera