{"id":473,"date":"2021-03-25T23:42:09","date_gmt":"2021-03-25T23:42:09","guid":{"rendered":"https:\/\/lucyestela.com\/dev\/?p=473"},"modified":"2021-03-26T02:59:39","modified_gmt":"2021-03-26T02:59:39","slug":"unreal-and-hololens-2-step-7-ux-tools","status":"publish","type":"post","link":"https:\/\/lucyestela.com\/dev\/uncategorized\/unreal-and-hololens-2-step-7-ux-tools\/","title":{"rendered":"Unreal and Hololens 2 \u2013 Step 7 UX Tools"},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-1 col-sm-12 col-xs-12\"><\/div>\n<div class=\"col-md-11 col-xs-12 col-sm-12\">\n<p class=\"\">So in your Hololens app you can add UX buttons pretty easily. I&#8217;m going to do something super simple and set up 4 buttons that are going to change the colour of an interactive cube.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<h3>STEP 1 CREATE CUBE BLUEPRINT WITH FUNCTIONS<\/h3>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">In your Content Window select <strong>Add\/Import<\/strong> &gt;&gt; <strong>Blueprint Class<\/strong> &gt;&gt; <strong>Actor<\/strong> and call it something generic like <strong>CubeBaseClass<\/strong>. Double click to open it.<\/p>\n<p class=\"\">In the components panel select <strong>Add Component<\/strong> &gt;&gt; <strong>Cube<\/strong><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-475 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-300x282.jpg\" alt=\"\" width=\"650\" height=\"611\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-300x282.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-250x235.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-550x517.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-192x180.jpg 192w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-319x300.jpg 319w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1-532x500.jpg 532w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube1.jpg 575w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">In the Functions panel select the + to Add Function and name that function <strong>funcChangeColor<\/strong><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-477 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2-300x239.jpg\" alt=\"\" width=\"663\" height=\"528\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2-300x239.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2-250x199.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2-226x180.jpg 226w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2-377x300.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube2.jpg 509w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now we&#8217;re going to pass through the new material that we want to assign to the cube, so lets go to the <strong>FunctionChangeColor<\/strong> graph editor and add that in. So go to the <strong>Details<\/strong> panel and go down to the <strong>Inputs<\/strong> section and click on the <strong>+ to Add Parameter.<\/strong><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-478 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-300x225.jpg\" alt=\"\" width=\"663\" height=\"497\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-300x225.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-1024x767.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-768x575.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-250x187.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-550x412.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-800x599.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-240x180.jpg 240w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-401x300.jpg 401w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3-668x500.jpg 668w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube3.jpg 1026w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Call the new param <strong>Material<\/strong> and in the search box type <strong>Material<\/strong> and select the blue object reference option.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-479 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-300x182.jpg\" alt=\"\" width=\"681\" height=\"413\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-300x182.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-768x466.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-250x152.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-550x334.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-800x485.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-297x180.jpg 297w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4-495x300.jpg 495w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube4.jpg 821w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Tick the <strong>Pass by Reference<\/strong> checkbox and check that your Inputs looks exactly the same as this pic.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-480 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5-300x147.jpg\" alt=\"\" width=\"682\" height=\"334\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5-300x147.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5-250x123.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5-550x270.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5-366x180.jpg 366w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube5.jpg 564w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now it&#8217;s time to go into the function event graph. Left click off the pin and create a <strong>new Set Material(cube)<\/strong> node.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-482 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-300x251.jpg\" alt=\"\" width=\"667\" height=\"558\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-300x251.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-768x643.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-250x209.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-550x461.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-800x670.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-215x180.jpg 215w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-358x300.jpg 358w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1-597x500.jpg 597w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube6-1.jpg 824w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">Now we need to create a reference to the cube so the function can assign the material to it. In the My Blueprint panel, scroll down to components and click and drag the <strong>Cube<\/strong> into the event graph and choose <strong>Get Cube<\/strong><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-483 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-300x164.jpg\" alt=\"\" width=\"684\" height=\"374\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-300x164.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-768x420.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-250x137.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-550x300.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-800x437.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-329x180.jpg 329w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-549x300.jpg 549w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7-915x500.jpg 915w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube7.jpg 961w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now click and drag the <strong>cube<\/strong> pin to the set material <strong>Target<\/strong> Pin to assign the cube as the target to change the material of.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-485 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-300x258.jpg\" alt=\"\" width=\"688\" height=\"592\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-300x258.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-768x662.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-250x215.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-550x474.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-209x180.jpg 209w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-348x300.jpg 348w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1-580x500.jpg 580w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube8-1.jpg 801w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now click and drag to link up the <strong>Func Change Color Material<\/strong> Pin to the <strong>Set Material Material<\/strong> Pin<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-486 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-300x257.jpg\" alt=\"\" width=\"683\" height=\"585\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-300x257.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-768x658.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-250x214.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-550x471.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-800x685.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-210x180.jpg 210w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-350x300.jpg 350w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9-584x500.jpg 584w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_cube9.jpg 808w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><strong>VERY IMPORTANT &#8211; Compile and save<\/strong><\/p>\n<p class=\"\">&nbsp;<\/p>\n<h3>STEP 2 CREATE 4 NEW MATERIALS<\/h3>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Since you have the UX Tools installed you can go to the Materials folder and duplicate <strong>M_SimpleLit_Color<\/strong> 4 times, rename them with the colour you want to change it to. eg MaterialBlue, MaterialOrange, MaterialPink, MaterialGreen.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-488 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-300x242.jpg\" alt=\"\" width=\"682\" height=\"550\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-300x242.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-768x618.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-250x201.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-550x443.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-800x644.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-224x180.jpg 224w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-373x300.jpg 373w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1-621x500.jpg 621w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat1.jpg 826w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">Double click to open each material and then click on <strong>Base Color node<\/strong> to bring up the colour wheel to change the color. Save and shut each new material<\/p>\n<p>&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-489 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-300x242.jpg\" alt=\"\" width=\"679\" height=\"548\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-300x242.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-250x201.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-550x443.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-800x644.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-224x180.jpg 224w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-373x300.jpg 373w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2-621x500.jpg 621w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/ux_mat2.jpg 826w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"\">STEP 3 CREATE UX BUTTON<\/h3>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Down in your Content Window select <strong>Add New &gt; Blueprint Class<\/strong>, expand the <strong>All Classes<\/strong> section and search for <strong>UxtPressableButtonActor<\/strong>. Call it <strong>BtnUpdateCube<\/strong> and double click to open.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-491 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1-248x300.jpg\" alt=\"\" width=\"547\" height=\"662\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1-248x300.jpg 248w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1-250x302.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1-149x180.jpg 149w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1-414x500.jpg 414w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn1.jpg 544w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">Make sure<strong> BtnUpdateCube(self)<\/strong> is selected in the <strong>Components<\/strong> panel and in the <strong>Details<\/strong> panel scroll down to the <strong>Uxt Pressable Button<\/strong> section and expand the<strong> Icon Brush<\/strong> section. You can scroll through and choose any icon you like.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-492 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-300x185.jpg\" alt=\"\" width=\"683\" height=\"421\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-300x185.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-1024x631.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-768x474.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-1536x947.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-250x154.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-550x339.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-800x493.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-292x180.jpg 292w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-486x300.jpg 486w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3-811x500.jpg 811w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn3.jpg 1620w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">Now go back to the <strong>Components<\/strong> panel and click <strong>ButtonComponent(UtxPressableButton)(inherited)<\/strong> and scroll down the <strong>Details<\/strong> panel to the <strong>Events<\/strong> section. Click the<strong> green + button<\/strong> next to <strong>On Button Pressed.<\/strong> This will bring up the event graph.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-493 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-300x185.jpg\" alt=\"\" width=\"679\" height=\"419\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-300x185.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-1024x631.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-768x474.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-1536x947.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-250x154.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-550x339.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-800x493.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-292x180.jpg 292w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-486x300.jpg 486w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4-811x500.jpg 811w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn4.jpg 1620w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now we need to set up the variables we will use which is a node to hold the reference to the cube, and a node to hold the material variable to send through to the cube.<\/p>\n<p class=\"\">Go to the MyBlueprint panel and scroll down to&nbsp; the <strong>Variables<\/strong> section. Click the <strong>+ to Add Variable<\/strong>. Name it <strong>Material<\/strong> and then go to the <strong>Details<\/strong> panel of your <strong>Material node<\/strong> and click the<strong> Variable Type<\/strong> dropdown and search for <strong>Material<\/strong> and select the blue Object Reference option.&nbsp;<\/p>\n<p class=\"\">Check the<strong> Instance Editable<\/strong> and<strong> Expose on Spawn<\/strong> boxes.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-494 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-300x185.jpg\" alt=\"\" width=\"691\" height=\"426\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-300x185.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-1024x631.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-768x474.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-1536x947.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-250x154.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-550x339.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-800x493.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-292x180.jpg 292w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-486x300.jpg 486w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5-811x500.jpg 811w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn5.jpg 1620w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now create your cube variable &#8211; this is pretty similar. Back in the My Blueprint panel, <strong>Variables<\/strong> section click<strong> + to add a new variable<\/strong> and call it <strong>CubeBaseClass<\/strong>. Go to the <strong>details<\/strong> panel for the CubeBaseClass and click the dropdown next to <strong>Variable Type<\/strong> and search for <strong>CubeBaseClass<\/strong> and choose the blue object reference option. Check the <strong>Instance Editable<\/strong> and <strong>Expose on Spawn<\/strong> boxes.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-495 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-300x185.jpg\" alt=\"\" width=\"694\" height=\"428\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-300x185.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-1024x631.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-768x474.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-1536x947.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-250x154.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-550x339.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-800x493.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-292x180.jpg 292w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-486x300.jpg 486w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6-811x500.jpg 811w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn6.jpg 1620w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Drag the <strong>Material<\/strong> Variable from the Variables section onto the EventGraph and choose <strong>Get Material,<\/strong> do the same with the <strong>CubeBaseClass<\/strong>.<\/p>\n<p class=\"\">Click on the <strong>Cube Base Class<\/strong> pin and drag and release to place a new node. Search for the<strong> Func Change Color<\/strong> (which is on our Cube BaseClass)&nbsp;<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-496 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-300x185.jpg\" alt=\"\" width=\"691\" height=\"426\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-300x185.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-1024x631.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-768x474.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-1536x947.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-250x154.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-550x339.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-800x493.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-292x180.jpg 292w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-486x300.jpg 486w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7-811x500.jpg 811w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn7.jpg 1620w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Click on the <strong>Material<\/strong> pin and connect it to the <strong>FuncChangeColor<\/strong> Material pin<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-497 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-300x233.jpg\" alt=\"\" width=\"649\" height=\"504\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-300x233.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-768x597.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-250x194.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-550x428.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-800x622.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-232x180.jpg 232w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-386x300.jpg 386w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8-643x500.jpg 643w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn8.jpg 854w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">Now click and drag to connect the <strong>OnButtonPressed<\/strong> Pin to the<strong> Func Change Color<\/strong> pin. <strong>Compile and Sav<\/strong><strong>e.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-498 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-300x233.jpg\" alt=\"\" width=\"654\" height=\"508\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-300x233.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-768x597.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-250x194.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-550x428.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-800x622.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-232x180.jpg 232w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-386x300.jpg 386w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9-643x500.jpg 643w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/uxbtn9.jpg 854w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<h3 class=\"\">CREATE YOUR SCENE<\/h3>\n<p>&nbsp;<\/p>\n<p class=\"\">Drag and drop you <strong>CubeBaseClass<\/strong> to the scene and place it at x:50 y:00 z:-10 and change the scale to x:0.1 y:0.1 z:0.1.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-499 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-300x234.jpg\" alt=\"\" width=\"615\" height=\"480\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-300x234.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-768x599.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-250x195.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-550x429.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-800x624.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-231x180.jpg 231w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-384x300.jpg 384w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1-641x500.jpg 641w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene1.jpg 979w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Drag and drop you <strong>BtnUpdateCube<\/strong> to the scene and in the Details panel scroll to the Transform section and place it at x:50 y:-20 z:-20 with z rotation 180 and scale x:2 y:2 z:2.<\/p>\n<p class=\"\">Scroll to the <strong>Uxt Pressable Button<\/strong> section and update the <strong>label<\/strong> to be <strong>Pink<\/strong>. Scroll to the <strong>Default<\/strong> section and drag and drop your pink material onto the square next to <strong>Material<\/strong> and from the drop down next to <strong>Cube Base Class<\/strong>, choose <strong>CubeBaseClass<\/strong>.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-500 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene2-158x300.jpg\" alt=\"\" width=\"353\" height=\"670\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene2-158x300.jpg 158w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene2-95x180.jpg 95w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene2-264x500.jpg 264w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Now duplicate your button 3 times and move them so you can see them all. Update the <strong>labels<\/strong> to be blue, green and orange and drag in the correct <strong>materials<\/strong> for each of them and assign the <strong>CubeBaseClass<\/strong>.&nbsp;<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-501 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-300x183.jpg\" alt=\"\" width=\"626\" height=\"382\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-300x183.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-1024x625.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-768x469.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-1536x938.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-250x153.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-550x336.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-800x489.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-295x180.jpg 295w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-491x300.jpg 491w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3-819x500.jpg 819w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/scene3.jpg 1600w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<h3 class=\"\">TEST ON THE HOLOLENS 2<\/h3>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Start up your Hololens 2 and open up the Holographic remoting app. I&#8217;m assuming here that you have it installed already so if you haven&#8217;t, go install it.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-502 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-278x300.jpg\" alt=\"\" width=\"347\" height=\"374\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-278x300.jpg 278w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-948x1024.jpg 948w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-768x830.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-250x270.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-550x594.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-800x864.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-167x180.jpg 167w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1-463x500.jpg 463w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl1.jpg 1348w\" sizes=\"auto, (max-width: 347px) 100vw, 347px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">Use the IP address given by the app to connect to it from Unreal. Grab the number you see here in the hololens&#8230;<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-503 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-300x256.jpg\" alt=\"\" width=\"342\" height=\"292\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-300x256.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-1024x875.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-768x656.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-250x214.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-550x470.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-800x683.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-211x180.jpg 211w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-351x300.jpg 351w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2-585x500.jpg 585w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl2.jpg 1454w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">And go into Unreal Project Settings, search for holographic to bring up the connection panel. Put your IP in where I have shown you and hit connect.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-504 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-300x191.jpg\" alt=\"\" width=\"631\" height=\"402\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-300x191.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-1024x652.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-768x489.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-250x159.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-550x350.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-800x510.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-283x180.jpg 283w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-471x300.jpg 471w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3-785x500.jpg 785w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl3.jpg 1276w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\">You&#8217;ll see the green connected response when UE is connected to the Hololens. Now go to Play &gt;&gt; VR Preview and you&#8217;ll see it load in your headset.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-506 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-300x191.jpg\" alt=\"\" width=\"738\" height=\"470\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-300x191.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-1024x652.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-768x489.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-250x159.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-550x350.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-800x510.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-283x180.jpg 283w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-471x300.jpg 471w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4-785x500.jpg 785w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/hl4.jpg 1276w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/p>\n<p>&nbsp;<\/p>\n<div style=\"width: 1200px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-473-1\" width=\"1200\" height=\"675\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/UX.mp4?_=1\" \/><a href=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/UX.mp4\">https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/UX.mp4<\/a><\/video><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>So in your Hololens app you can add UX buttons pretty easily. I&#8217;m going to do something super simple and set up 4 buttons that are going to change the colour of an interactive cube. &nbsp; STEP 1 CREATE CUBE BLUEPRINT WITH FUNCTIONS &nbsp; In your Content Window select Add\/Import &gt;&gt; Blueprint Class &gt;&gt; Actor &#8230; <a title=\"Unreal and Hololens 2 \u2013 Step 7 UX Tools\" class=\"read-more\" href=\"https:\/\/lucyestela.com\/dev\/uncategorized\/unreal-and-hololens-2-step-7-ux-tools\/\" aria-label=\"More on Unreal and Hololens 2 \u2013 Step 7 UX Tools\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[1],"tags":[],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":9,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/473\/revisions\/512"}],"wp:attachment":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}