Search the Community

Showing results for tags 'property'.

  • 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
    • Feeback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • Showcase
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 11 results

  1. Hi, I have property with this header: <property version="2.14.0.0" name="characters" guid="aa908a40ba515918f9d5edbdcad8ebc1fe5c2b42"> That have child with this header: <property version="2.14.0.0" name="player" guid="889c6853a117aca83ef9d6523335dc065213ae86" parent="aa908a40ba515918f9d5edbdcad8ebc1fe5c2b42"> When i try change any value in Parameters window in editor selected from Property Hierarchy, then this change is never saved to file. I try do save world and result is same. Why Editor don't save this change? Thanks Honya
  2. What title says. Sounds similar to this problem: Project attached.tmp.zip
  3. I am having trouble with the fields in my C# component not showing up in the Node Properties section of the Parameters window. I have a PlayerJump component attached to an object of type ObjectMeshStatic with 2 fields which I want to be able to modify in-editor. One of them is a jump key, a key on the keyboard I want to use for jumping, and a jump force. using Unigine; [Component(PropertyGuid = "7f93b2a9029f5bf4d7fdd6c350ef8d4696b903ed")] public class PlayerJump : Component { [Parameter(Title = "Jump Key")] public Input.KEY jumpKey = Input.KEY.SPACE; [Parameter(Title = "Jump Forc
  4. When create property in editor

    When I create a child prop by inheriting node_base in editor, Do I need to use WordPad or Notepad to manually edit the prop file?
  5. Hi, I observed that properties (node properties with attribute version) not working with Editor2 for property file, eg.: <?xml version="1.0" encoding="utf-8"?> <properties version="0.01"> <property name="xyz" parent="node_base"/> </properties> This property will be not visible in Properties panel in Editor2.
  6. Hi, In new editor I can't find the way to specify per instance parameters for properties and materials. In the .node file, these parameters were stored as follows: <node type="NodeLayer" id="1877567429" handled="0" name="layer_building_arrecife" property="cgs_building_arrecife"> <layer>guid://3d26f5abfa9536fdfda15d25830dcc1213be9dfb</layer> <property> <parameter name="floors">5</parameter> </property> <transform>1 0 0 0.0 0 1 0 0.0 0 0 1 0.0 0 0 0 1.0</transform> </node> Can you tell me how can I perform this ope
  7. I observed that custom properties attaches to nodes are not loaded when world is loaded via console (it is also used by Browser by Edit Content button which load level through launch_editor.bat) in Editor 2. It's looks like custom properties are not loaded before world is loaded. So in console you will see a message: Node::setProperty(): can't find "CUSTOM_NAME_XXX" property. Then if you save a world you will lose your custom properties on all nodes. As workaround you can just reload world and properties will be reattached. There is no problem if you not load world via console (e.g. world
  8. Hi, I've created a file library_test.prop that I load in a test project in the init() function : engine.properties.addWorldLibrary("properties/library_test.prop"); Here is the file (library_test.prop) : <?xml version="1.0" encoding="utf-8"?> <properties version="1.00"> <property name="property_aaa"> <state name="type" type="switch" items="type1,type2">0</state> <state name="state1">0</state> <parameter name="param1" type="int" max="1000">233</parameter> <parameter name="param2" type="float" max="100">30</parameter&
  9. With latest Unigine version (2013-03-26) Reproduction Steps Create a Dummy node in editor Assign node_base property to the node. Disable Intersection parameter for that node property. Press Ok. Put focus on Property edit widget again and press enter. Open Assigned property editor, the property parameters are set to their original values (Intersection is checked again) ‚ÄčIf you don't change the property, there is no point to make a property reassignation removing all the custom parameter values for that node. Suggested solution In editor_nodes.h (ln 845) /* */
  10. Hi, I would like my program creates a new "my_library.prop" file. I've found this list of functions https://developer.unigine.com/en/docs/1.0/code/scripting/library/engine/engine.properties I successfully created an empty "my_library.prop" file using engine.properties.addWorldLibrary() function. My question is how can I add a new property to this library? Should I use "engine.properties.cloneProperty()" function? Then, which property should I use to clone? I've tried "node_base" but cloneProperty returns an error "PropertyManager::cloneProperty(): can't clone "node_base" parent pro
  11. I am currently making use of the node import/export feature and applying a custom properties to my nodes. This seems to be a really powerful feature, but the lack of property parameter types such as vec3 mean I have to store 3 individual floats to store any custom vec3 data. Ideally I want my .prop files to be in the following format: <?xml version="1.0" encoding="utf-8"?> <properties version="1.00"> <property editable="1" name="fold"> <parameter name="offset" type="vec3">0.0 0.0 0.0</parameter> <parameter name="axis" type="vec3">0.0 0.0 0.0</par