浏览代码
Fix scenes list handling for playmode tests
Fix scenes list handling for playmode tests
Fix non deterministic behaviour of playmode tests/main
Remy
7 年前
当前提交
472cdbf4
共有 16 个文件被更改,包括 2684 次插入 和 3604 次删除
-
270ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3002_ObjectMotionVector.unity.png
-
576ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3003_CameraMotionVector_TranslateX.unity.png
-
170ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3004_CameraMotionVector_TranslateY.unity.png
-
999ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3005_CameraMotionVector_TranslateZ.unity.png
-
999ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3006_CameraMotionVector_RotateX.unity.png
-
999ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3007_CameraMotionVector_RotateY.unity.png
-
999ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3008_CameraMotionVector_RotateZ.unity.png
-
999ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3009_CameraMotionVector_FOV.unity.png
-
184Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/Scenes/3xxx_DebugView/3002_ObjectMotionVector.unity
-
8Tests/Scripts/GraphicTests/Framework/SetupSceneForRenderPipelineTest.cs
-
38Tests/Scripts/GraphicTests/Framework/TestFrameworkPlayMode.cs
-
3Tests/Scripts/GraphicTests/HDRenderPipeline/SinMove.cs
-
5Tests/Scripts/GraphicTests/HDRenderPipeline/SinRotate.cs
-
3Tests/Scripts/GraphicTests/HDRenderPipeline/Sin_ChangeFOV.cs
-
25Tests/Scripts/GraphicTests/HDRenderPipeline/SinScale.cs
-
11Tests/Scripts/GraphicTests/HDRenderPipeline/SinScale.cs.meta
270
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3002_ObjectMotionVector.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
999
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3005_CameraMotionVector_TranslateZ.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
999
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3006_CameraMotionVector_RotateX.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
999
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3007_CameraMotionVector_RotateY.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
999
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3008_CameraMotionVector_RotateZ.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
999
ImageTemplates/HDRenderPipeline/Scenes/3xxx_DebugView/3009_CameraMotionVector_FOV.unity.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
public class SinScale : MonoBehaviour |
|||
{ |
|||
[SerializeField] Vector3 min = new Vector3(1f, 1f, 1f); |
|||
[SerializeField] Vector3 max = new Vector3(2f, 2f, 2f); |
|||
[SerializeField] float frequency = 1f; |
|||
[SerializeField] float fps = 60; |
|||
|
|||
Vector3 startAngles = Vector3.zero; |
|||
|
|||
// Use this for initialization
|
|||
void Start() |
|||
{ |
|||
startAngles = transform.eulerAngles; |
|||
} |
|||
|
|||
// Update is called once per frame
|
|||
void Update() |
|||
{ |
|||
transform.localScale = Vector3.Lerp(min, max, Mathf.Sin(Mathf.PI * frequency * Time.frameCount / fps) * 0.5f + 0.5f); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 382c9a87993196d4596a688b68b60221 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue