element Script

diagram |
type | extension of X3DScriptNode
properties |
content | complex
mixed | true
children | field IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by |
groups | ChildContentModelImmersive LoadSensorChildContentModel
attributes |
Name | Type | Use | Default | Fixed | Annotation
DEF | xs:ID |  |  |  |
appinfo
DEF defines a unique ID name for each node, referenceable by other nodes.
USE | xs:IDREF |  |  |  |
appinfo
USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class | xs:NMTOKENS |  |  |  |
appinfo
The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
url | MFString |  |  |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Networking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
directOutput | SFBool |  | false |  |
mustEvaluate | SFBool |  | false |  |
containerField | containerFieldChoicesX3DUrlObject |  | children |  |
annotation |
appinfo
<xs:element name="field" type="MFNode" default="field"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Scripting"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source | <xs:element name="Script"> <xs:annotation> <xs:appinfo> <xs:element name="field" type="MFNode" default="field"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Scripting"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/scripting.html#Script"/> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:extension base="X3DScriptNode"> <xs:attribute name="directOutput" type="SFBool" default="false"/> <xs:attribute name="mustEvaluate" type="SFBool" default="false"/> <xs:attribute name="containerField" type="containerFieldChoicesX3DUrlObject" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>

attribute Script/@directOutput

type | SFBool
properties |
default | false
source | <xs:attribute name="directOutput" type="SFBool" default="false"/>

attribute Script/@mustEvaluate

type | SFBool
properties |
default | false
source | <xs:attribute name="mustEvaluate" type="SFBool" default="false"/>

attribute Script/@containerField

type | containerFieldChoicesX3DUrlObject
properties |
default | children
facets |
Kind | Value | Annotation
enumeration | children |
appinfo
parent node has abstract type X3DGroupingNode
enumeration | watchList |
appinfo
parent node is LoadSensor
source | <xs:attribute name="containerField" type="containerFieldChoicesX3DUrlObject" default="children"/>

XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy