ALS technical notes: Difference between revisions

Jump to navigation Jump to search
Line 1,612: Line 1,612:
</syntaxhighlight>
</syntaxhighlight>


The '''<model>''' statement is itself an object, it can be inserted directly as an object of an animation, for excample, some line after is it possible to insert this code:
The tag ''procedural-light-gear-white-left'' is very important because is the object name. This name will be used as the reference object.<BR>Next, we can define an animation in the same xml file:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Line 1,638: Line 1,638:
</syntaxhighlight>
</syntaxhighlight>


The declaration therefore defines a ''procedural light'' object:
The ''procedural light'' object code is this:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<object-name>procedural-light-gear-white-left</object-name>
    <object-name>procedural-light-gear-white-left</object-name>
</syntaxhighlight>
</syntaxhighlight>


408

edits

Navigation menu