赞
踩
https://docs.unity3d.com/462/Documentation/Manual/SL-BuiltinValues.html
- //t是自该场景加载开始所经过的时间,4个分量分别是 (t/20, t, t*2, t*3)
- _Time float4 time (t/20, t, t*2, t*3),
- //t 是时间的正弦值,4个分量分别是 (t/8, t/4, t/2, t)
- _SinTime float4 Sine of time: (t/8, t/4, t/2, t).
- //t 是时间的余弦值,4个分量分别是 (t/8, t/4, t/2, t)
- _CosTime float4 Cosine of time: (t/8, t/4, t/2, t).
- //dt 是时间增量,4个分量的值分别是(dt, 1/dt, smoothDt, 1/smoothDt)
- unity_DeltaTime float4 Delta time: (dt, 1/dt, smoothDt, 1/smoothDt).
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。