Changeset 1188
- Timestamp:
- 11/21/22 01:32:43 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/Framclipse/com.framsticks.framclipse/res/framscript.xml
r1181 r1188 27 27 <type name="style" context="style file"> 28 28 <description><![CDATA[General visual style properties.]]></description> 29 <element name="style" type="string" default="standard"/>29 <element name="style" type="string" max="-1" default="standard"/> 30 30 <element name="name" type="string" flags="19"/> 31 31 <element name="info" type="string" flags="19"/> … … 1978 1978 <description><![CDATA[If active, the amount of linear mix is random in each crossover operation, so the "Fraction inherited in linear mix crossover" parameter is ignored.]]></description> 1979 1979 </element> 1980 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]">1980 <element name="fn_mut_bound_low" type="string" max="-1" default="[-10.0, -10.0]"> 1981 1981 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> 1982 1982 </element> 1983 <element name="fn_mut_bound_high" type="string" default="[10.0, 10.0]">1983 <element name="fn_mut_bound_high" type="string" max="-1" default="[10.0, 10.0]"> 1984 1984 <description><![CDATA[A vector of higher bounds (one real value for each variable)]]></description> 1985 1985 </element> 1986 <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]">1986 <element name="fn_mut_stddev" type="string" max="-1" default="[0.1, 0.1]"> 1987 1987 <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description> 1988 1988 </element> … … 2538 2538 <element name="stam" type="float" min="0" max="1" default="0.25"/> 2539 2539 <element name="i" type="string"/> 2540 <element name="Vstyle" type="string" default="joint"/> 2540 <element name="Vstyle" type="string" max="-1" default="joint"> 2541 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 2542 </element> 2541 2543 <element name="vr" type="float" min="0" max="1" default="0.5"/> 2542 2544 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> … … 2780 2782 <type name="Model" context="Global context"> 2781 2783 <element name="se" type="float" flags="256"/> 2782 <element name="Vstyle" type="string" flags="256"/> 2784 <element name="Vstyle" type="string" flags="256"> 2785 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 2786 </element> 2783 2787 <element name="geno" type="Geno" flags="257"/> 2784 2788 <element name="newFromString" function="true" type="Model"> … … 3110 3114 <element name="d" type="string"/> 3111 3115 <element name="i" type="string"/> 3112 <element name="Vstyle" type="string" default="neuro"/> 3116 <element name="Vstyle" type="string" max="-1" default="neuro"> 3117 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 3118 </element> 3113 3119 <element name="getInputCount" type="integer" flags="3"/> 3114 3120 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 3669 3675 <element name="rz" type="float" flags="1024"/> 3670 3676 <element name="i" type="string"/> 3671 <element name="Vstyle" type="string" default="part"/> 3677 <element name="Vstyle" type="string" max="-1" default="part"> 3678 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 3679 </element> 3672 3680 <element name="vr" type="float" min="0" max="1" default="0.5"/> 3673 3681 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> … … 3966 3974 </type> 3967 3975 <type name="POVExport" context="Global context"> 3968 <element name="povex_outdir" type="string" default=".">3976 <element name="povex_outdir" type="string" max="-1" default="."> 3969 3977 <description><![CDATA[Directory name WITHOUT trailing '/' sign]]></description> 3970 3978 </element> 3971 <element name="povex_outfiles" type="string" default="scene_%04d.pov">3979 <element name="povex_outfiles" type="string" max="-1" default="scene_%04d.pov"> 3972 3980 <description><![CDATA[Frame number replaces %d (eg. 'scene%03d.pov')]]></description> 3973 3981 </element> … … 4234 4242 <description><![CDATA[Resets the simulator to its default state, resets all parameters to default values and then loads this experiment definition.]]></description> 4235 4243 <arguments/></element> 4236 <element name="usercode" type="string" min="1" >4244 <element name="usercode" type="string" min="1" max="-1"> 4237 4245 <description><![CDATA[You can override any function from the original experiment definition script. Use the same function names and provide alternative implementations. 4238 4246 Example: … … 5196 5204 <description><![CDATA[If active, the amount of linear mix is random in each crossover operation, so the "Fraction inherited in linear mix crossover" parameter is ignored.]]></description> 5197 5205 </element> 5198 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]">5206 <element name="fn_mut_bound_low" type="string" max="-1" default="[-10.0, -10.0]"> 5199 5207 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> 5200 5208 </element> 5201 <element name="fn_mut_bound_high" type="string" default="[10.0, 10.0]">5209 <element name="fn_mut_bound_high" type="string" max="-1" default="[10.0, 10.0]"> 5202 5210 <description><![CDATA[A vector of higher bounds (one real value for each variable)]]></description> 5203 5211 </element> 5204 <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]">5212 <element name="fn_mut_stddev" type="string" max="-1" default="[0.1, 0.1]"> 5205 5213 <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description> 5206 5214 </element> … … 6058 6066 <description><![CDATA[Resets the simulator to its default state, resets all parameters to default values and then loads this experiment definition.]]></description> 6059 6067 <arguments/></element> 6060 <element name="usercode" type="string" min="1" >6068 <element name="usercode" type="string" min="1" max="-1"> 6061 6069 <description><![CDATA[You can override any function from the original experiment definition script. Use the same function names and provide alternative implementations. 6062 6070 Example: … … 6599 6607 <description><![CDATA[String prefix used in the Framsticks file format to indicate object fields that contain serialized objects.]]></description> 6600 6608 </element> 6609 <element name="ESC" type="string" flags="1"/> 6610 <element name="NBSP" type="string" flags="1"/> 6601 6611 </type> 6602 6612 <type name="UserScripts" context="Global context"> … … 6815 6825 6816 6826 Internaly, the data returned by this function is generated by the 'scripts/worldmap-faces.script' file, so you can refer to its source if needed. 6817 The first argument to getAsString() (if not null or empty string) selects an alternate userscript to be used instead of the default "worldmap-faces.script", allowing for extension and customization.6827 The first argument to getAsString() (if not null or empty string) selects an alternate userscript to be used instead of the default 'worldmap-faces.script', allowing for extension and customization. 6818 6828 Examples: 6819 6829 WorldMap.getAsString(null,null) //use the default script … … 7105 7115 <element name="d" type="string"/> 7106 7116 <element name="i" type="string"/> 7107 <element name="Vstyle" type="string" default="neuro"/> 7117 <element name="Vstyle" type="string" max="-1" default="neuro"> 7118 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 7119 </element> 7108 7120 <element name="getInputCount" type="integer" flags="3"/> 7109 7121 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 7910 7922 <element name="stam" type="float" min="0" max="1" default="0.25"/> 7911 7923 <element name="i" type="string"/> 7912 <element name="Vstyle" type="string" default="joint"/> 7924 <element name="Vstyle" type="string" max="-1" default="joint"> 7925 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 7926 </element> 7913 7927 <element name="vr" type="float" min="0" max="1" default="0.5"/> 7914 7928 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> … … 7923 7937 <type name="m" context="Visual style definition"> 7924 7938 <element name="se" type="float" flags="1024"/> 7925 <element name="Vstyle" type="string"/> 7939 <element name="Vstyle" type="string" max="-1"> 7940 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 7941 </element> 7926 7942 </type> 7927 7943 <type name="Material" context="Visual style definition"> … … 7978 7994 <element name="d" type="string"/> 7979 7995 <element name="i" type="string"/> 7980 <element name="Vstyle" type="string" default="neuro"/> 7996 <element name="Vstyle" type="string" max="-1" default="neuro"> 7997 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 7998 </element> 7981 7999 <element name="getInputCount" type="integer" flags="3"/> 7982 8000 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 8018 8036 <element name="rz" type="float" flags="1024"/> 8019 8037 <element name="i" type="string"/> 8020 <element name="Vstyle" type="string" default="part"/> 8038 <element name="Vstyle" type="string" max="-1" default="part"> 8039 <description><![CDATA[See the "Visual style definition" context for more information]]></description> 8040 </element> 8021 8041 <element name="vr" type="float" min="0" max="1" default="0.5"/> 8022 8042 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> … … 8181 8201 </type> 8182 8202 <type name="VisualStyle" context="Visual style definition"> 8183 <element name="style" type="string" default="standard"/>8203 <element name="style" type="string" max="-1" default="standard"/> 8184 8204 <element name="name" type="string" flags="19"/> 8185 8205 <element name="info" type="string" flags="19"/> … … 8938 8958 </type> 8939 8959 <type name="ImageExport" context="Framsticks Theater"> 8940 <element name="imgex_outdir" type="string" default=".">8960 <element name="imgex_outdir" type="string" max="-1" default="."> 8941 8961 <description><![CDATA[Directory name WITHOUT trailing '/' sign]]></description> 8942 8962 </element> 8943 <element name="imgex_outfiles" type="string" default="scene_%04d.jpg">8963 <element name="imgex_outfiles" type="string" max="-1" default="scene_%04d.jpg"> 8944 8964 <description><![CDATA[Frame number replaces %d (eg. 'image%03d.jpg')]]></description> 8945 8965 </element> … … 9361 9381 </type> 9362 9382 <type name="VisualStyle" context="Framsticks Theater"> 9363 <element name="style" type="string" default="standard"/>9383 <element name="style" type="string" max="-1" default="standard"/> 9364 9384 <element name="name" type="string" flags="19"/> 9365 9385 <element name="info" type="string" flags="19"/>
Note: See TracChangeset
for help on using the changeset viewer.