Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUtility.SetCameraAnimateMaterialsTime

public static void SetCameraAnimateMaterialsTime(Camera camera, float time);

Description

Sets the global time for this camera to use when rendering.

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.

See Also: EditorUtility.SetCameraAnimateMaterials.

Did you find this page useful? Please give it a rating: