Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetCameraAnimateMaterialsTime(Camera, float)

Sets the global time for this camera to use when rendering.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetCameraAnimateMaterialsTime(Camera camera, float time)

Parameters

camera


time

Remarks

If EditorUtility.SetCameraAnimateMaterials is true for the given Camera, this is the value that will be used for the time passed through to any used shaders.