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='title' content='StringArrayEncodingExamples.x3d'/> |
6 | <meta name='description' content='Demonstrate simple X3D MFString (string array) encoding.'/> |
7 | <meta name='created' content='27 May 2017'/> |
8 | <meta name='modified' content='28 October 2019'/> |
9 | <meta name='creator' content='Don Brutzman'/> |
10 | <meta name='reference' content='X3dHeaderPrototypeSyntaxExamples.x3d'/> |
11 | <meta name='specificationSection' content='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='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/fieldsDef.html#SFStringAndMFString'/> |
13 | <meta name='specificationSection' content='X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, 5.3.14 SFString and MFString'/> |
14 | <meta name='specificationUrl' content='https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfFields.html#SFString'/> |
15 | <meta name='specificationSection' content='X3D encodings, ISO/IEC 19776-2 v3.3, Part 2: Classic VRML encoding, 5.15 SFString and MFString'/> |
16 | <meta name='specificationUrl' content='https://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/EncodingOfFields.html#SFString'/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamples.x3d'/> |
18 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
19 | <meta name='license' content='../license.html'/> |
20 | </head> |
21 | <Scene> |
22 | <WorldInfo title='StringArrayEncodingExamples.x3d'/> |
23 | <Viewpoint DEF='EntryView' description='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, \"Immel did it!\""' --> |
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> |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->