Changeset 262
- Timestamp:
- 09/08/09 19:25:01 (3 years ago)
- Location:
- trunk/avango-doc/guide
- Files:
-
- 2 edited
-
avango-connect.html (modified) (2 diffs)
-
screen.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-doc/guide/avango-connect.html
r141 r262 39 39 40 40 <p> 41 Supported field types: 41 The following list shows the supported field types. At this time, there is only a small subset of the existing types, 42 which grows on demand. 42 43 <ul> 43 44 <li>SFBool</li> 44 45 <li>SFInt</li> 46 <li>SFFloat</li> 45 47 <li>SFDouble</li> 46 48 <li>SFString</li> 47 <li>MFBool</li> 49 <li>SFVec4</li> 50 <li>SFMatrix</li> 48 51 <li>MFInt</li> 49 <li>MFDouble</li>50 52 <li>MFString</li> 53 <li>MFVec2</li> 54 <li>MFVec3</li> 55 <li>MFMatrix</li> 51 56 </ul> 52 57 </p> … … 126 131 </ul> 127 132 133 <h3>Network protocol</h3> 134 <p> 135 The values of the fields are sent over a TCP connection with a simple stream based text protocol. 136 Every line of text carries the information of one single field and ends in a line feed (ASCII code 0x0a). 137 The different parts of a line are separated by NUL characters (ASCII code 0x00). 138 139 <pre class="example"> 140 Text<b><NUL></b>SFString<b><NUL></b>This is a test<b><LF></b> 141 Translation<b><NUL></b>SFVec4<b><NUL></b>1<b><NUL></b>2<b><NUL></b>3<b><NUL></b>4<b><LF></b> 142 </pre> 143 144 In this example, the information about two fields is sent: 145 <ul> 146 <li>A field called "Text" of type "SFString" containing the text "This is a text"</li> 147 <li>A field called "Translation" of type "SFVec4" containing the value "(1, 2, 3, 4)".</li> 148 </ul> 149 150 </p> 151 128 152 <!-- End page contents --> 129 153 -
trunk/avango-doc/guide/screen.css
r189 r262 70 70 .sidenote:before { 71 71 font-family:Fixedsys,Courier,monospace; 72 width: 7.5em;72 width:6.0em; 73 73 display:block; 74 74 margin-top:-10px; … … 114 114 } 115 115 116 /* Examples should be formatted with <div class="example"> */ 117 118 .example { 119 background-color:#ddf; 120 font-family:Fixedsys,Courier,monospace; 121 padding:10px; 122 border:dotted 1px black; 123 } 124 125 /* insert "example" badge */ 126 127 .example:before { 128 width:4.5em; 129 display:block; 130 margin-top:-10px; 131 margin-left:-10px; 132 margin-right:-10px; 133 margin-bottom:10px; 134 padding:1px; 135 border-color:#999; 136 border-right-style:dotted; 137 border-right-width:1px; 138 border-bottom-style:dotted; 139 border-bottom-width:1px; 140 font-style:italic; 141 content: "example"; 142 } 143 116 144 /* Class lists - displayed in a separate block. TODO: Make consistent with other lists */ 117 145
Note: See TracChangeset
for help on using the changeset viewer.
