element TimeSensor

diagram |
type | extension of X3DTimeDependentNode
properties |
content | complex
children | IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by |
group | ChildContentModelInterchange
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.
loop | SFBool |  | false |  |
pauseTime | SFTime |  | 0 |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
resumeTime | SFTime |  | 0 |  |
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
startTime | SFTime |  | 0 |  |
stopTime | SFTime |  | 0 |  |
cycleInterval | derived by: SFTime |  | 1.0 |  |
enabled | SFBool |  | true |  |
containerField | xs:NMTOKEN |  | children |  |
annotation |
appinfo
<xs:attribute name="cycleTime" fixed="outputOnlyField"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="fraction_changed" type="SFFloat" fixed="outputOnlyField"/> <xs:attribute name="time" fixed="outputOnlyField"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="additionalInterface" type="xs:string" default="X3DSensorNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source | <xs:element name="TimeSensor"> <xs:annotation> <xs:appinfo> <xs:attribute name="cycleTime" fixed="outputOnlyField"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="fraction_changed" type="SFFloat" fixed="outputOnlyField"/> <xs:attribute name="time" fixed="outputOnlyField"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="additionalInterface" type="xs:string" default="X3DSensorNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/> <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/time.html#TimeSensor"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DTimeDependentNode"> <xs:attribute name="cycleInterval" default="1.0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="enabled" type="SFBool" default="true"/> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>

attribute TimeSensor/@cycleInterval

type | restriction of SFTime
properties |
default | 1.0
facets |
Kind | Value | Annotation
minInclusive | 0 |
source | <xs:attribute name="cycleInterval" default="1.0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute>

attribute TimeSensor/@enabled

type | SFBool
properties |
default | true
source | <xs:attribute name="enabled" type="SFBool" default="true"/>

attribute TimeSensor/@containerField

type | xs:NMTOKEN
properties |
default | children
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>

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