Expressions: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Added clip example)
mNo edit summary
Line 32: Line 32:
</syntaxhighlight>
</syntaxhighlight>


An expression to limit e.g. rotation:
<syntaxhighlight lang="xml">
  <expression>
    <clip>
      <clipMin>-45</clipMin>
      <clipMax>45</clipMax>
      <property>orientation/pitch-deg</property>
    </clip>
  </expression>
</syntaxhighlight>


== Supported elements ==
== Supported elements ==
Line 126: Line 116:
</entry>
</entry>
</table>
</table>
</syntaxhighlight>
===Clip===
An expression to limit e.g. rotation:
<syntaxhighlight lang="xml">
  <expression>
    <clip>
      <clipMin>-45</clipMin>
      <clipMax>45</clipMax>
      <property>orientation/pitch-deg</property>
    </clip>
  </expression>
</syntaxhighlight>
</syntaxhighlight>


82

edits

Navigation menu