Modified Files:
model-howto.html: Update pick animation docs.
This commit is contained in:
parent
98a6605da5
commit
c089606d2b
1 changed files with 31 additions and 11 deletions
|
@ -1310,20 +1310,40 @@ the same that you would set in <property-base>.
|
|||
<pre><animation>
|
||||
<type>pick</type>
|
||||
<object-name>Button</object-name>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/button-pressed</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/button-pressed</property>
|
||||
<value>0</value>
|
||||
<property>instrumentation/button0-pressed</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/button0-pressed</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/button1-pressed</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/button1-pressed</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
</animation></pre>
|
||||
</blockquote>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue