Jump to content

Search the Community

Showing results for tags 'string property param'.

  • 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 have a problem with changing a property parameter that is of string type ____________________________________________________________________________________ #include <UnigineGame.h> #include "UnigineComponentSystem.h" class MaterialPaintingController final : public Unigine::ComponentBase { public: COMPONENT(MaterialPaintingController, Unigine::ComponentBase); COMPONENT_INIT(init); PROP_NAME("MaterialPaintingController"); PROP_PARAM(String, painting_variant, "DEF"); PROP_ARRAY(Node, surfaces); private: void init(); void parameterChanged(Unigine::PropertyPtr property, int propID); ____________________________________________________________________________________ then I use setParameterData in the call Unigine::String str("NewMat"); componentPtr->setParameterData("painting_variant", &str); I did not get a callback for a change and I can't find out what's going on. Is the use of setParameterData correct ? thanks for any help. Michal
×
×
  • Create New...