{"id":280,"date":"2018-10-31T18:24:23","date_gmt":"2018-10-31T09:24:23","guid":{"rendered":"http:\/\/www.sciement.com\/tech-blog\/?p=280"},"modified":"2018-10-31T18:40:07","modified_gmt":"2018-10-31T09:40:07","slug":"color_picker_ue4","status":"publish","type":"post","link":"https:\/\/www.sciement.com\/tech-blog\/c\/color_picker_ue4\/","title":{"rendered":"[UE4][C++]UMG\u3067Color Picker\u3092\u6d3b\u7528\u3059\u308b"},"content":{"rendered":"<p><center><br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/MhtB8QbM3BU?rel=0&#038;autoplay=1&#038;loop=1&#038;playlist=iRvyJRIbNiA&#038;showinfo=0\" allow=\"autoplay; encrypted-media\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n<\/center><\/p>\n<p>Unreal Engine 4\u3067\u3001\u30e9\u30f3\u30bf\u30a4\u30e0\u6642\u306b\u30c6\u30af\u30b9\u30c1\u30e3\u3084\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u3092\u81ea\u7531\u306b\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d\u306b\u3001UE4 Editor\u3067\u63a1\u7528\u3055\u308c\u3066\u3044\u308bColor Picker\u3092\u4f7f\u3044\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u65b9\u3082\u5c11\u306a\u304f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n<center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_standard_color_picker-251x300.jpg\" alt=\"\" width=\"251\" height=\"300\" class=\"alignnone size-medium wp-image-290\" srcset=\"https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_standard_color_picker-251x300.jpg 251w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_standard_color_picker-640x764.jpg 640w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_standard_color_picker.jpg 658w\" sizes=\"auto, (max-width: 251px) 100vw, 251px\" \/><br \/>\n<\/center><\/p>\n<p>\u901a\u5e38\u306f\u65b0\u898fColor Picker\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u751f\u6210\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306f<strong>UMG\u3068\u3057\u3066\u3053\u306eColor Picker\u3092\u753b\u9762\u5185\u306b\u57cb\u3081\u8fbc\u307f<\/strong>\u3001\u4e14\u3064\u3001\u4e0a\u8a18\u52d5\u753b\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306b\u3001<strong>Color Picker\u306e\u8272\u3092\u53d6\u5f97\u3059\u308b<\/strong>\u3060\u3051\u3067\u306f\u306a\u304f\u3001<strong>Color Picker\u306e\u8272\u3092\u5916\u90e8\u304b\u3089\u6307\u5b9a\u3059\u308b<\/strong>\u3053\u3068\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u25c6<strong>NativeWidgetHost\u3092\u4f7f\u7528\u3057\u3066\u3001Color Picker\u3092UMG\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/strong><\/p>\n<p>Yuki Ogura (unwitherer)\u3055\u3093\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u304c\u5b8c\u74a7\u3067\u3059\u306e\u3067\u3001\u307e\u305a\u306f\u305d\u3061\u3089\u3092\u8aad\u3093\u3067\u4e0b\u3055\u3044\u3002\u79c1\u3082\u3053\u306e\u8a18\u4e8b\u3067\u521d\u3081\u3066NativeWidgetHost\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/unwitherer.blogspot.com\/2017\/07\/umgnativewidgethost.html\" rel=\"noopener\" target=\"_blank\"><strong>\u82b1\u7e41\u5439\u304d\u3000[UMG]NativeWidgetHost\u3092\u7d99\u627f\u3057\u3066\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3092\u4f5c\u308b<\/strong><\/a><\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"ja\" dir=\"ltr\">NativeWidgetHost\u3092\u4f7f\u3063\u3066\u3001\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3092\u4f5c\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002 <a href=\"https:\/\/twitter.com\/hashtag\/UE4?src=hash&amp;ref_src=twsrc%5Etfw\">#UE4<\/a><br \/>\u82b1\u7e41\u5439\u304d: [UMG]NativeWidgetHost\u3092\u7d99\u627f\u3057\u3066\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3092\u4f5c\u308b <a href=\"https:\/\/t.co\/8FjmBK8jlM\">https:\/\/t.co\/8FjmBK8jlM<\/a><\/p>\n<p>&mdash; unwitherer (@unwitherer) <a href=\"https:\/\/twitter.com\/unwitherer\/status\/886149187158425600?ref_src=twsrc%5Etfw\">2017\u5e747\u670815\u65e5<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>\u25c6<strong>SColorPicker\u3092\u62e1\u5f35\u3059\u308b<\/strong><\/p>\n<p>\u4e0a\u8a18Yuki Ogura\u3055\u3093\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001SColorSpectrum\u3092\u6271\u3063\u3066\u3044\u307e\u3059\u304c\u3001SColorPicker\u3092\u4f7f\u3048\u3070UE4\u30e6\u30fc\u30b6\u30fc\u304c\u666e\u6bb5\u304b\u3089\u898b\u6163\u308c\u3066\u3044\u308bColor Picker\u3092UMG\u4e0a\u3067\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u4f46\u3057\u30011\u3064\u306eColor Picker\u3067\u8907\u6570\u30ab\u6240\u306e\u8272\u3092\u6307\u5b9a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\uff08\u4e0a\u8a18\u6620\u50cf\u3067\u306f\u3001\u53f3\u5074\u306e2\u3064\u306e\u9577\u65b9\u5f62\u305d\u308c\u305e\u308c\u306e\u8272\u30921\u3064\u306eColor Picker\u3067\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\uff09\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u5de5\u592b\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u65b9\u6cd5\u306f\uff08\u304a\u305d\u3089\u304f\uff092\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>1. SColorPicker\u30af\u30e9\u30b9\u306eProtected\u30e1\u30f3\u30d0\u95a2\u6570\u3067\u3042\u308bSetNewTargetColorRGB\u95a2\u6570\u3092Public\u3067\u4f7f\u3048\u308b\u3088\u3046\u306a\u3001SColorPicker\u7d99\u627f\u30af\u30e9\u30b9\u3092\u4f5c\u308b<br \/>\n2. \u9069\u5207\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u65b0\u3057\u3044Color Picker\u3092\u4f5c\u308a\u3001\u53e4\u3044Color Picker\u3092\u524a\u9664\u3059\u308b\uff08\u540c\u3058\u4f4d\u7f6e\u306b\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u898b\u305f\u76ee\u4e0a\u5358\u4e00\u306eColor Picker\u3092\u4f7f\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u306a\u308b\uff09<\/p>\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u306f2\u756a\u76ee\u306e\u65b9\u304c\u81ea\u5206\u306e\u3084\u308a\u305f\u3044\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u304c\u3001\u4e00\u5fdc\u4e21\u65b9\u306e\u65b9\u6cd5\u3092\u793a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u30fb<strong>SColorPicker\u3092\u7d99\u627f\u3057\u305f\u30af\u30e9\u30b9<\/strong><\/p>\n<pre class=\"lang:default mark:10 decode:true \" title=\"SCustomColorPicker.h\" >\/* Copyright Hirofumi Seo, M.D. *\/\r\n\r\n#pragma once\r\n\r\n#include \"Colors\/SColorPicker.h\"\r\n\r\nclass SCustomColorPicker : public SColorPicker {\r\npublic:\r\n  void SetColorRGB(const FLinearColor new_color) {\r\n    SetNewTargetColorRGB(new_color, \/*bForceUpdate = *\/true);\r\n  }\r\n};<\/pre>\n<p>SetNewTargetColorRGB\u95a2\u6570\u304cSColorPicker\u30af\u30e9\u30b9\u306eProtected\u30e1\u30f3\u30d0\u95a2\u6570\u3068\u3057\u3066\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001SColorPicker\u3092\u7d99\u627f\u3057\u305fSCustomColorPicker\u30af\u30e9\u30b9\u3067Public\u95a2\u6570\u3092\u4f5c\u308a\u3001\u3053\u306e\u95a2\u6570\u304b\u3089SetNewTargetColorRGB\u3092\u547c\u3073\u51fa\u3057\u3066\u3042\u3052\u307e\u3059\u3002<br \/>\nHSV\u7528\u306bSetNewTargetColorHSV\u95a2\u6570\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002Color Picker\u7cfb\u306e\u5404\u7a2e\u30af\u30e9\u30b9\u306f\u3001\u5834\u6240\u306b\u3088\u3063\u3066RGB\u3060\u3063\u305f\u308aHSV\u3060\u3063\u305f\u308a\u307e\u3061\u307e\u3061\u3067\u3001\u3069\u306e\u3088\u3046\u306a\u898f\u5247\u3067\u4f7f\u3044\u5206\u3051\u3089\u308c\u3066\u3044\u308b\u306e\u304b\u30a4\u30de\u30a4\u30c1\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u30fb<strong>Delegate\u3068TSharedPtr<\/strong><\/p>\n<pre class=\"lang:c++ mark:11,27-28,31 decode:true \" title=\"ColorPickerWidget.h\" >\/* Copyright Hirofumi Seo, M.D. *\/\r\n\r\n#pragma once\r\n\r\n#include \"CoreMinimal.h\"\r\n#include \"Components\/NativeWidgetHost.h\"\r\n#include \"ColorPickerWidget.generated.h\"\r\n\r\nclass SCustomColorPicker;\r\n\r\nDECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FColorPickerColorChangedDelegate, const FLinearColor&amp;, new_color);\r\n\r\nUCLASS()\r\nclass BRAINSIMULATOR_API UColorPickerWidget : public UNativeWidgetHost\r\n{\r\n\tGENERATED_BODY()\r\n\t\r\npublic:\r\n  UColorPickerWidget(const FObjectInitializer&amp; ObjectInitializer);\r\n\r\n  UFUNCTION(BlueprintCallable, Category = \"custom_UMG\")\r\n    void SetInitialColor(const FLinearColor initial_color);\r\n\r\n  UPROPERTY(EditAnywhere, BlueprintReadWrite)\r\n    FLinearColor selected_color_rgb_;\r\n\r\n  UPROPERTY(BlueprintAssignable, Category = \"custom_UMG\")\r\n    FColorPickerColorChangedDelegate ColorPickerColorChangedDelegate;\r\n\r\nprivate:\r\n  TSharedPtr&lt;SCustomColorPicker&gt; color_picker_;\r\n\r\n  void GenerateColorPicker(const FLinearColor&amp; initial_color);\r\n};<\/pre>\n<p><strong>Color Picker\u3067\u8272\u304c\u5909\u66f4\u3055\u308c\u305f\u3053\u3068\u3092BluePrints\u5074\u3067\u6349\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u3001Delegate\u30921\u3064\u7528\u610f<\/strong>\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001SCustomClorPicker\u3092\u30e1\u30f3\u30d0\u5909\u6570\u3068\u3057\u3066\u6301\u3066\u308b\u3088\u3046\u306b\u3001\u4e0a\u8a18Yuki Ogura\u3055\u3093\u306e\u30d6\u30ed\u30b0\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b<strong>TSharedRef\u306e\u4ee3\u308f\u308a\u306bTSharedPtr\u3092\u7528\u3044\u307e\u3059<\/strong>\u3002<\/p>\n<p>\u5b9f\u88c5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:c++ mark:12-13,23,27-29 decode:true \" title=\"ColorPickerWidget.cpp\" >\/* Copyright Hirofumi Seo, M.D. *\/\r\n\r\n#include \"ColorPickerWidget.h\"\r\n#include \"SCustomColorPicker.h\"\r\n#include \"Kismet\/KismetMathLibrary.h\"\r\n\r\nUColorPickerWidget::UColorPickerWidget(const FObjectInitializer&amp; ObjectInitializer) : UNativeWidgetHost(ObjectInitializer), selected_color_rgb_(FLinearColor::White) {\r\n  GenerateColorPicker(selected_color_rgb_);\r\n}\r\n\r\nvoid UColorPickerWidget::SetInitialColor(const FLinearColor initial_color) {\r\n  GenerateColorPicker(initial_color);\r\n  \/\/color_picker_-&gt;SetColorRGB(initial_color);\r\n}\r\n\r\nvoid UColorPickerWidget::GenerateColorPicker(const FLinearColor&amp; initial_color) {\r\n  Super::ReleaseSlateResources(\/*bReleaseChildren = *\/true);\r\n  if (color_picker_.IsValid()) {\r\n    color_picker_.Reset();\r\n  }\r\n\r\n  selected_color_rgb_ = initial_color;\r\n  SAssignNew(color_picker_, SCustomColorPicker)\r\n    .TargetColorAttribute(selected_color_rgb_)\r\n    .OnColorCommitted_Lambda([this](FLinearColor changed_color) {\r\n    selected_color_rgb_ = changed_color;\r\n    if (ColorPickerColorChangedDelegate.IsBound()) {\r\n      ColorPickerColorChangedDelegate.Broadcast(changed_color);\r\n    }\r\n  })\r\n    .ExpandAdvancedSection(true)\r\n    .UseAlpha(false)\r\n    .sRGBOverride(true);\r\n\r\n  SetContent(color_picker_.ToSharedRef());\r\n}\r\n<\/pre>\n<p>\u5927\u5207\u306a\u306e\u306f23\u884c\u76ee\u306eSAssignNew\u3068\u3001\u30d8\u30c3\u30c0\u3067\u5b9a\u7fa9\u3057\u305fDelegate\u306e\u547c\u3073\u51fa\u3057\u90e8\u5206\u3067\u3059\u3002<br \/>\nExpandAdvancedSection, UseAlpha, sRGBOverride\u306a\u3069\u306f\u4f7f\u7528\u7528\u9014\u306b\u5408\u308f\u305b\u3066\u9069\u5b9c\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\u3002\u3069\u308c\u304c\u4f55\u3092\u3057\u3066\u3044\u308b\u304b\u306f\u3001SColorPicker.h\u3092\u898b\u308c\u3070\u4f55\u3068\u306a\u304f\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\uff08\u79c1\u3082\u4f55\u3068\u306a\u304f\u3057\u304b\u308f\u304b\u3063\u3066\u3044\u307e\u305b\u3093\uff09\u3002<br \/>\n12\u884c\u76ee\u306813\u884c\u76ee\u3068\u3067\u30b3\u30e1\u30f3\u30c8\u884c\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u3001Color Picker 1\u3064\u3092\u4f7f\u3044\u307e\u308f\u3059\u304b\u3001Color Picker\u3092\u305d\u306e\u90fd\u5ea6\u4f5c\u308a\u76f4\u3059\u304b\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p><strong>Color Picker 1\u3064\u3092\u4f7f\u3044\u307e\u308f\u3059\u5834\u5408\u3001Color Picker\u306e&#8221;old&#8221;\u306e\u90e8\u5206\u306e\u8272\u304c\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u8a2d\u5b9a\u3059\u308b\u6700\u521d\u306e1\u56de\u306e\u307f\u3057\u304b\u6307\u5b9a\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f<\/strong>\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_color_picker_old_description.jpg\" alt=\"\" width=\"800\" height=\"504\" class=\"alignnone size-full wp-image-298\" srcset=\"https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_color_picker_old_description.jpg 800w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_color_picker_old_description-300x189.jpg 300w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_color_picker_old_description-768x484.jpg 768w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_color_picker_old_description-640x403.jpg 640w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>old\u306e\u8272\u306fTargetColorAttribute\u3067\u6307\u5b9a\u3057\u305f\u8272\u304c\u53cd\u6620\u3055\u308c\u3001\u305d\u306e\u5f8c\u306f\u5909\u66f4\u51fa\u6765\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u3088\u3063\u3066\u3001\u3069\u3046\u3057\u3066\u3082\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u4e00\u5ea6Color Picker\u3092\u524a\u9664\u3057\u3066\u3001\u65b0\u305f\u306b\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001GenerateColorPicker\u3067\u3001\u307e\u305a\u65e2\u5b58\u306eColor Picker\u3092\u6368\u3066\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u308f\u3056\u308f\u3056 selected_color_rgb_ = initial_color \u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001TargetColorAttribute\u306e\u5f15\u6570\u306f\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3067\u306f\u306a\u304f\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3067\u3059\uff08\u2026\u7406\u7531\u306f\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u4ed5\u69d8\u306e\u3088\u3046\u3067\u3059\uff09\u3002<\/p>\n<p>Color Picker\u3067\u8272\u304c\u5909\u66f4\u3055\u308c\u305f\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u3067\u3042\u308bOnColorCommitted_Lambda\u5185\u3067\u3001Deleagte\u3092\u8d70\u3089\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u3084\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u25c6<strong>BluePrints\u5074\u306e\u5b9f\u88c5<\/strong><\/p>\n<p>\u4e00\u4f8b\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer.jpg\" alt=\"\" width=\"2100\" height=\"970\" class=\"alignnone size-full wp-image-300\" srcset=\"https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer.jpg 2100w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer-300x139.jpg 300w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer-768x355.jpg 768w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer-1024x473.jpg 1024w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_designer-640x296.jpg 640w\" sizes=\"auto, (max-width: 2100px) 100vw, 2100px\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh.jpg\" alt=\"\" width=\"2310\" height=\"1680\" class=\"alignnone size-full wp-image-301\" srcset=\"https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh.jpg 2310w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh-300x218.jpg 300w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh-768x559.jpg 768w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh-1024x745.jpg 1024w, https:\/\/www.sciement.com\/tech-blog\/wp-content\/uploads\/2018\/10\/UE4_UMG_gragh-640x465.jpg 640w\" sizes=\"auto, (max-width: 2310px) 100vw, 2310px\" \/><\/p>\n<p>\u8272\u306e\u5916\u5074\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u975e\u9078\u629e\u3068\u306a\u308b\u3088\u3046\u306b\u3001\u30c0\u30df\u30fc\u3067outside_button\u3068\u3044\u3046\u30dc\u30bf\u30f3\u3092\u753b\u9762\u5168\u4f53\u306b\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6700\u521d\u306b\u63b2\u8f09\u3057\u305f\u6620\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<center><br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/MhtB8QbM3BU?rel=0&#038;autoplay=1&#038;loop=1&#038;playlist=iRvyJRIbNiA&#038;showinfo=0\" allow=\"autoplay; encrypted-media\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n<\/center><\/p>\n<p>\u25c6<strong>\u307e\u3068\u3081<\/strong><br \/>\nNativeWidgetHost\u306b\u3064\u3044\u3066\u306f\u82f1\u8a9e\u3067\u3082\u307b\u3068\u3093\u3069\u5168\u304f\u60c5\u5831\u304c\u7121\u304f\u3001<a href=\"http:\/\/unwitherer.blogspot.com\/2017\/07\/umgnativewidgethost.html\" rel=\"noopener\" target=\"_blank\"><strong>Yuki Ogura (unwitherer)\u3055\u3093\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/strong><\/a>\u306f\u8d85\u8cb4\u91cd\u3067\u3059\u3002<br \/>\n\u7c21\u5358\u306b\u8272\u3005\u306aWidget\u3092UMG\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u6709\u52b9\u6d3b\u7528\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<br \/>\n\u30b9\u30dd\u30a4\u30c8\u3082\u4f7f\u3048\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3001sRGB preview\u306e\u30c1\u30a7\u30c3\u30af\u3092\u975e\u8868\u793a\u306b\u3057\u305f\u308a\u3001ColorWheel\u3068ColorSpectrum\u3068\u306e\u5207\u308a\u66ff\u3048\u30dc\u30bf\u30f3\u3092\u7121\u52b9\u306b\u3057\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30a8\u30f3\u30b8\u30f3\u6539\u9020\u3092\u884c\u3046\u304b\u3001\u5b8c\u5168\u81ea\u4f5c\u306eColor Picker\u3092\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3053\u308c\u304f\u3089\u3044UE4\u5074\u3067\u516c\u5f0f\u306bUMG\u5074\u3067\u7528\u610f\u3057\u3066\u304a\u3044\u3066\u304f\u308c\u3066\u3082\u826f\u3044\u306e\u3067\u306f\u2026\u3068\u3082\u601d\u3063\u305f\u308a\u3082\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unreal Engine 4\u3067\u3001\u30e9\u30f3\u30bf\u30a4\u30e0\u6642\u306b\u30c6\u30af\u30b9\u30c1\u30e3\u3084\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u3092\u81ea\u7531\u306b\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d\u306b\u3001UE4 Editor\u3067\u63a1\u7528\u3055\u308c\u3066\u3044\u308bColor Picker\u3092\u4f7f\u3044\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u65b9\u3082\u5c11\u306a\u304f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-c","category-unreal-engine-4"],"_links":{"self":[{"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":30,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/posts\/280\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sciement.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}