SetCameraAnimateMaterialsTime(Camera, float)
Sets the global time for this camera to use when rendering.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void SetCameraAnimateMaterialsTime(Camera camera, float time)
Parameters
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.
Additional Resources: EditorUtility.SetCameraAnimateMaterials.