{"id":384,"date":"2018-04-25T21:04:40","date_gmt":"2018-04-25T21:04:40","guid":{"rendered":"http:\/\/www.gamelab.ch\/?p=384"},"modified":"2018-04-25T21:06:25","modified_gmt":"2018-04-25T21:06:25","slug":"und-ewig-steinigen-uns-linerider","status":"publish","type":"post","link":"https:\/\/www.gamelab.ch\/?p=384","title":{"rendered":"Linien &#8211; meist leider nicht mehr per default vorgesehen in GameEngines"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-385 alignleft\" style=\"font-size: 16px;\" src=\"http:\/\/www.gamelab.ch\/wp-content\/uploads\/2018\/04\/Bildschirmfoto-2018-04-25-um-22.57.55-300x265.png\" alt=\"\" width=\"300\" height=\"265\" srcset=\"https:\/\/www.gamelab.ch\/wp-content\/uploads\/2018\/04\/Bildschirmfoto-2018-04-25-um-22.57.55-300x265.png 300w, https:\/\/www.gamelab.ch\/wp-content\/uploads\/2018\/04\/Bildschirmfoto-2018-04-25-um-22.57.55-768x678.png 768w, https:\/\/www.gamelab.ch\/wp-content\/uploads\/2018\/04\/Bildschirmfoto-2018-04-25-um-22.57.55-1024x904.png 1024w, https:\/\/www.gamelab.ch\/wp-content\/uploads\/2018\/04\/Bildschirmfoto-2018-04-25-um-22.57.55.png 1060w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Es war einst das Einfachste auf der Welt: Das Zeichnen einer Linie. Seit die Engines aus Objekten bestehen (und entlang ihnen rendern), muss alles ein Objekt sein und was als erstes vergessen geht, ist das Zeichnen von Primitiven und speziell von Linien. Das fehlt dann bei fast jeder 3D Engine (so eine Linie ist ja auch nichts Dreidimensionales). Und man sucht dann nach L\u00f6sungen.<\/p>\n<p>Hier ist eine f\u00fcr Unity: UIRenderLine &#8211; nutzbar im GUISystem. Es geh\u00f6rt zu einer Extensionsammlung f\u00fcr Unity: <a href=\"https:\/\/bitbucket.org\/UnityUIExtensions\/unity-ui-extensions\" target=\"_blank\" rel=\"noopener\">UnityUIExtensions &gt;<\/a><\/p>\n<p><iframe loading=\"lazy\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/r69TW8uZAdU?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Es war einst das Einfachste auf der Welt: Das Zeichnen einer Linie. Seit die Engines aus Objekten bestehen (und entlang ihnen rendern), muss alles ein Objekt sein und was als erstes vergessen geht, ist das Zeichnen von Primitiven und speziell &hellip; <a href=\"https:\/\/www.gamelab.ch\/?p=384\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/posts\/384"}],"collection":[{"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384"}],"version-history":[{"count":3,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":388,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions\/388"}],"wp:attachment":[{"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gamelab.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}