{"height":"190","published":"2019-11-17 15:07:50","categories":["Unity","Mathf"],"width":"100%","description":"Mathf.Clamp int\u307e\u305f\u306ffloat\u306e\u5024\u306e\u7bc4\u56f2\u3092\u5236\u9650\u3059\u308b \u4f7f\u7528\u6cd5\u306fInt\u3082Float\u3082\u540c\u69d8\u3002\u7b2c\u4e00\u5f15\u6570\u3067\u4e0e\u3048\u3089\u308c\u308bValue\u3092\u7b2c\u4e8c\u5f15\u6570(\u6700\u5c0f\u5024)\u3001\u7b2c\u4e09\u5f15\u6570(\u6700\u5927\u5024)\u306e\u9593\u306b\u5236\u9650\u3059\u308b\u3002 \u3053\u306e\u5834\u5408\u8868\u793a\u3055\u308c\u308b\u5024\u306f3\u3068\u306a\u308b(\u6700\u5927\u5024\u3088\u308a\u5927\u304d\u304410\u3067\u3042\u308b\u305f\u3081)\u3002 using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { // Use this for initialization void Start() { // Clamps the value 10 to be between\u2026","author_url":"https://blog.hatena.ne.jp/oniyarai/","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","provider_name":"Hatena Blog","blog_title":"oniyarai\u2019s tech memo","author_name":"oniyarai","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsuina-tech.hatenablog.com%2Fentry%2F2019%2F11%2F17%2F150750\" title=\"\u53d6\u308a\u3046\u308b\u5024\u306e\u5236\u9650(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u79fb\u52d5\u7bc4\u56f2\u306e\u5236\u9650\u306a\u3069) - oniyarai\u2019s tech memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://tsuina-tech.hatenablog.com/","title":"\u53d6\u308a\u3046\u308b\u5024\u306e\u5236\u9650(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u79fb\u52d5\u7bc4\u56f2\u306e\u5236\u9650\u306a\u3069)","type":"rich","url":"https://tsuina-tech.hatenablog.com/entry/2019/11/17/150750"}