Jump to content

Search the Community

Showing results for tags '[WidgetSpriteNode'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. i try to use WidgetSpriteNode class. i want to draw a node in WidgetSpriteNode. but the node appear at WidgetSpriteNode with worldscene. i wrote this script. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // my script m_lbSpriteNode = new WidgetSpriteNode(gui, 430, 600); Node node = node_load("mesh.node"); m_lbSpriteNode.setProjection(ortho(-10, 10, 50, -1, 0.1f, 100.0f)); m_lbSpriteNode.setModelview(lookAt(vec3(0,-1,0), vec3(0,1,0), vec3(0,0,1))); m_lbSpriteNode.setNode(node); // Transparent background viewport m_lbSpriteNode.setBlendFunc(GUI_BLEND_SRC_ALPHA,GUI_BLEND_ONE_MINUS_SRC_ALPHA); engine.render.setAmbientColor(vec4(1, 1, 1, 1)); // remove engine.editor.removeNode(node); or node_remove(node); ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// but i was failed remove from worldscene. can i remove the node from worldscene for only use in WidgetSpriteNode ?
×
×
  • Create New...