ドキュメント

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.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.