Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetupCameraProperties(Camera)

Schedules the setup of Camera specific global Shader variables.
Read time 1 minuteLast updated 4 days ago

Definition

public void SetupCameraProperties(Camera camera)

Parameters

camera

Camera to setup shader variables for.

Remarks

This function sets up view, projection and clipping planes global shader variables. This command is essentially the same to ScriptableRenderContext.SetupCameraProperties.