We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

how to Use SliderNumber and objectList for plugin UI

Home Forums General Questions how to Use SliderNumber and objectList for plugin UI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #64676
    aqiang
    Customer

    The sliderNumber is a convenient and user-friendly UI element. When using it to create a plugin UI, how can I avoid errors? I’ve made some attempts below. Additionally, in previous versions, I was able to use <shadow type=”objectList”>, but it seems that it is not supported anymore in Verge3D 4.0, and it results in an error

    ` <value name=”THRESHOLD”>
    <shadow type=”number_slider”>
    <field name=”NUM” min=”0″ max=”10″ step=”0.1″>0.8</field>
    </shadow>
    </value>

    <!– <value name=”VALUE”>
    <shadow type=”objectList”>
    <field name=”FIELDNAME”><none></field>
    </shadow>
    </value> –>

    block.appendDummyInput()
    .appendField(new Blockly.FieldNumber(1), ‘slideNumber’);

    #64677
    kdv
    Participant

    See the Post-Processing puzzles and do the same to make it work.

    I was able to use <shadow type=”objectList”>, but it seems that it is not supported anymore in Verge3D 4.0

    Do not use 4.3.0. Update to 4.3.1+

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.