color.xml 1.04 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<OpenFlipper>

    <element name="color_backgound">
    <category>Colors</category>
    <short>Background Color</short>
    <dataflow>true</dataflow>
    <inputs>
      <input name="color" type="Vector">
        <short>Color</short>
        <long>Desired background color</long>
        <precision>0.00001</precision>
      </input>
    </inputs>
    <code>
	colorplugin.setBackgroundColor([input="color"])      
    </code>
  </element>

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

    <element name="color_object_emissive">
    <category>Colors</category>
    <short>Emissive Color</short>
    <long>Set Emissive Color of an object</long>
    <dataflow>true</dataflow>
    <inputs>
      <input name="obj" type="ObjectId">
        <short>ID</short>
        <long>ID of an object</long>
      </input>
      <input name="color" type="Vector4">
        <short>Color</short>
        <long>Desired emissive color</long>
        <precision>0.00001</precision>
      </input>
    </inputs>
    <code>
        colorplugin.setObjectEmissiveColor([input="obj"],[input="color"])
    </code>
  </element>

Jan Möbius's avatar
Jan Möbius committed
41
</OpenFlipper>