Jump to content

Search the Community

Showing results for tags 'viewcube'.

  • 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. viewcube integration problem

    I'm trying to add viewcube same way as in editor. looks like few lines of "code editor\panels\editor_panel_viewcube.h" copying all includes from "editor\editor.cpp" does not help so I'm started from small - added: WidgetViewportLayout layout; and include required classes from error messages using Unigine::Widgets; #include <core/scripts/tuple.h> #include <core/systems/widgets/widget.h> #include <core/systems/widgets/widget_window.h> #include <core/systems/widgets/widget_hbox.h> #include <core/systems/widgets/widget_vbox.h> #include <core/systems/widgets/widget_icon.h> #include <core/systems/widgets/widget_sprite.h> #include <core/systems/widgets/widget_groupbox.h> //error Widget.setOrder() #include <editor/widgets/editor_widget_viewport_layout.h> and stuck with setOrder() that must be in Widget - but it's not there error: 16:33:24 panel_box.widget.setOrder(order); 16:33:24 editor/widgets/editor_widget_viewport_layout.h:569: Interpreter::parse_user_class(): unknown "Widget" class member "setOrder" in "class WidgetViewportLayoutPanel { ", "VBox panel_box;" but in initialization it "panel_box = new HBox();" and method calls (VBox or Hbox).widget. void setOrder(int order) { panel_box.widget.setOrder(order); } but class Widget { - has no method setOrder() in "core\systems\widgets\widget.h" any clear thoughts?
×
×
  • Create New...