OSG Text: Difference between revisions

Jump to navigation Jump to search
127 bytes added ,  11 June 2015
m
<code> tags
(+- Rewriting the first section; Syntax highlighting; + Related content; etc)
m (<code> tags)
Line 99: Line 99:
</syntaxhighlight>
</syntaxhighlight>


The <text/> node may appear within <model/> or <PropertyList/> nodes. If you place
The <code>&lt;text/&gt;</code> node may appear within <code>&lt;model/&gt;</code> or <code>&lt;PropertyList/&gt;</code> nodes. If you place
your text directly within your model file, use <text></text> nodes. You can also put
your text directly within your model file, use <code>&lt;text&gt;&lt;/text&gt;</code> nodes. You can also put
your <text> configuration into a separate file using the well known include directive:
your <code>&lt;text&gt;</code> configuration into a separate file using the well known include directive:


Your model.xml file:
Your <code>model.xml</code> file:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Line 112: Line 112:
</syntaxhighlight>
</syntaxhighlight>


Your HelloWorld.xml:
Your <code>HelloWorld.xml</code>:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu