文档

Unity Engine

Unity Engine

SetCameraAnimateMaterialsTime(Camera, float)

Sets the global time for this camera to use when rendering.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.