{"version":"1.0","published":"2019-08-26 16:00:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20181222/20181222173218.png","blog_url":"https://baba-s.hatenablog.com/","author_name":"baba_s","provider_url":"https://hatena.blog","height":"190","width":"100%","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","title":"\u3010Unity\u3011Gradient \u3067 Lerp \u3092\u4f7f\u7528\u3067\u304d\u308b\u300cUnity Gradient Lerp\u300d\u7d39\u4ecb","categories":["Unity","Unity - Pastebin","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"author_url":"https://blog.hatena.ne.jp/baba_s/","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 \u4f7f\u7528\u4f8b using UnityEngine; public class Example : MonoBehaviour { public Gradient m_gradient1; public Gradient m_gradient2; [Range( 0, 1 )] public float m_time; public Gradient m_gradient3; private void OnValidate() { m_gradient3 = Util.Gradient.Lerp ( m_gradient1, m_gradient2, m_time ); } } \u53c2\u8003\u30c4\u30a4\u2026","type":"rich","url":"https://baba-s.hatenablog.com/entry/2019/08/26/160000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F08%2F26%2F160000\" title=\"\u3010Unity\u3011Gradient \u3067 Lerp \u3092\u4f7f\u7528\u3067\u304d\u308b\u300cUnity Gradient Lerp\u300d\u7d39\u4ecb - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}