{"image_url":null,"url":"https://usagi.hatenablog.jp/entry/2017/07/26/115603","height":"190","provider_url":"https://hatena.blog","type":"rich","title":"UE4/C++: \u30e1\u30c3\u30b7\u30e5\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u3084\u30c6\u30af\u30b9\u30c1\u30e3\u30fc\u3092C++\u30b3\u30fc\u30c9\u3067\u5236\u5fa1\u3059\u308b\u65b9\u6cd5","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/USAGI-WRP/","categories":["UE4","C++","Material","UMaterial","UMaterialInstanceDynamic","UTexture2D","runtime","tips"],"published":"2017-07-26 11:56:03","blog_url":"https://usagi.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2017%2F07%2F26%2F115603\" title=\"UE4/C++: \u30e1\u30c3\u30b7\u30e5\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u3084\u30c6\u30af\u30b9\u30c1\u30e3\u30fc\u3092C++\u30b3\u30fc\u30c9\u3067\u5236\u5fa1\u3059\u308b\u65b9\u6cd5 - C++ \u3068\u304d\u3069\u304d \u3054\u306f\u3093\u3001\u308f\u308a\u3068\u3066\u3043\u30fc\u3076\u308c\u3044\u304f\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"C++ \u3068\u304d\u3069\u304d \u3054\u306f\u3093\u3001\u308f\u308a\u3068\u3066\u3043\u30fc\u3076\u308c\u3044\u304f\u2606","author_name":"USAGI-WRP","description":"\u8981\u70b9\u3092\u6574\u7406\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3089\u30bd\u30fc\u30b9\u306e\u4f8b\u793a\u3057\u304b\u306a\u3044\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3057\u305f(\uff89\u03c9\u30fb)\uff83\uff8d // \u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u3066\u30e1\u30c3\u30b7\u30e5\u3078\u8a2d\u5b9a\u3059\u308b // mesh: UPrimitive \u307e\u305f\u306f\u305d\u306e\u6d3e\u751f\u578b\uff08 UStaticMeshComponent, UProceduralMeshComponent \u306a\u3069\uff09\u306e\u30dd\u30a4\u30f3\u30bf\u30fc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 // element_index: \u30e1\u30c3\u30b7\u30e5\u5185\u306e\u8981\u7d20\u756a\u53f7\u30021\u3064\u3057\u304b\u7121\u3051\u308c\u3070 0 \u306e\u307f\u3002 mesh->SetMaterial ( element_index , Cast< UMaterial > ( StaticLoadObject ( UMaterial::StaticClass() \u2026","version":"1.0"}