X3D Model Documentation: StringArrayEncodingExamples.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='StringArrayEncodingExamples.x3d'/>
  6            <meta name='descriptioncontent='Demonstrate simple X3D MFString (string array) encoding.'/>
  7            <meta name='createdcontent='27 May 2017'/>
  8            <meta name='modifiedcontent='28 October 2019'/>
  9            <meta name='creatorcontent='Don Brutzman'/>
 10            <meta name='referencecontent='X3dHeaderPrototypeSyntaxExamples.x3d'/>
 11            <meta name='specificationSectioncontent='X3D encodings, ISO/IEC 19775-1, Part 1: Architecture and base components, 5 Field type reference, 5.3.14 SFString and MFString'/>
 12            <meta name='specificationUrlcontent='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/fieldsDef.html#SFStringAndMFString'/>
 13            <meta name='specificationSectioncontent='X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, 5.3.14 SFString and MFString'/>
 14            <meta name='specificationUrlcontent='https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfFields.html#SFString'/>
 15            <meta name='specificationSectioncontent='X3D encodings, ISO/IEC 19776-2 v3.3, Part 2: Classic VRML encoding, 5.15 SFString and MFString'/>
 16            <meta name='specificationUrlcontent='https://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/EncodingOfFields.html#SFString'/>
 17            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamples.x3d'/>
 18            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 19            <meta name='licensecontent='../license.html'/>
 20       </head>
<!--

<!-- -->

<!-- to top Index for DEF node: EntryView

Index for Viewpoint node: EntryView
-->
 21       <Scene>
 22            <WorldInfo title='StringArrayEncodingExamples.x3d'/>
 23            <Viewpoint DEF='EntryViewdescription='Hello MFString syntax'/>
 24            <Background skyColor='0.6 1 0.8'/>
 25            <Shape>
 26                 <Text string='"One, Two, Three" "" "He said, \"Immel did it!\""'>
 27                      <!-- alternative XML encoding: Text string='"One, Two, Three" "" "He said, \&quot;Immel did it!\&quot;"' -->
 28                      <!-- alternative Java source: .setString(new String [] {"One, Two, Three", "", "He said, \"Immel did it!\""}) -->
 29                      <FontStyle justify='"MIDDLE" "MIDDLE"style='BOLD'/>
 30                 </Text>
 31                 <Appearance>
 32                      <Material diffuseColor='0.6 0.4 0.2'/>
 33                 </Appearance>
 34            </Shape>
 35       </Scene>
 36  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF node: EntryView

Index for Viewpoint node: EntryView
-->
X3D Tooltips element index: Appearance, Background, FontStyle, head, Material, meta, Scene, Shape, Text, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamplesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamples.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->