element HAnimMotion

diagram |
type | extension of X3DChildNode
properties |
content | complex
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
attributes |
Name | Type | Use | Default | Fixed | Annotation
DEF | xs:ID |  |  |  |
appinfo
DEF defines a unique ID name for each node, referencable 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 XML stylesheets.
channels | MFString |  |  |  |
channelsEnabled | MFBool |  |  |  |
description | SFString |  |  |  |
enabled | SFBool |  | false |  |
frameDuration | derived by: SFTime |  | 0.1 |  |
frameIncrement | SFInt32 |  | 1 |  |
frameIndex | derived by: SFInt32 |  | 0 |  |
startFrame | derived by: SFInt32 |  | 0 |  |
endFrame | derived by: SFInt32 |  | -1 |  |
joints | MFString |  |  |  |
loa | loaType |  | -1 |  |
loop | SFBool |  | false |  |
values | MFFloat |  |  |  |
containerField | xs:NMTOKEN |  | motions |  |
annotation |
appinfo
<xs:attribute name="cycleTime" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="elapsedTime" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="frameCount" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="componentName" type="componentNameChoices" fixed="HAnim"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source | <xs:element name="HAnimMotion"> <xs:annotation> <xs:appinfo> <xs:attribute name="cycleTime" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="elapsedTime" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="frameCount" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="componentName" type="componentNameChoices" fixed="HAnim"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> <xs:documentation source="TODO publish"/> <!-- HAnim specification https://www.web3d.org/documents/specifications/19774/V1.0/HAnim/ObjectInterfaces.html#Site --> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DChildNode"> <xs:attribute name="channels" type="MFString"/> <xs:attribute name="channelsEnabled" type="MFBool"/> <xs:attribute name="description" type="SFString"/> <xs:attribute name="enabled" type="SFBool" default="false"/> <xs:attribute name="frameDuration" default="0.1"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="frameIncrement" type="SFInt32" default="1"/> <xs:attribute name="frameIndex" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="startFrame" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="endFrame" default="-1"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="-1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="joints" type="MFString"/> <xs:attribute name="loa" type="loaType" default="-1"/> <xs:attribute name="loop" type="SFBool" default="false"/> <xs:attribute name="values" type="MFFloat"/> <xs:attribute name="containerField" type="xs:NMTOKEN" default="motions"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>

attribute HAnimMotion/@channels

type | MFString
source | <xs:attribute name="channels" type="MFString"/>

attribute HAnimMotion/@channelsEnabled

type | MFBool
facets |
Kind | Value | Annotation
whiteSpace | collapse |
pattern | \s*((true|false)\s*,?\s*)* |
source | <xs:attribute name="channelsEnabled" type="MFBool"/>

attribute HAnimMotion/@description

type | SFString
source | <xs:attribute name="description" type="SFString"/>

attribute HAnimMotion/@enabled

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

attribute HAnimMotion/@frameDuration

type | restriction of SFTime
properties |
default | 0.1
facets |
Kind | Value | Annotation
minExclusive | 0 |
source | <xs:attribute name="frameDuration" default="0.1"> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute>

attribute HAnimMotion/@frameIncrement

type | SFInt32
properties |
default | 1
source | <xs:attribute name="frameIncrement" type="SFInt32" default="1"/>

attribute HAnimMotion/@frameIndex

type | restriction of SFInt32
properties |
default | 0
facets |
Kind | Value | Annotation
minInclusive | 0 |
source | <xs:attribute name="frameIndex" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute>

attribute HAnimMotion/@startFrame

type | restriction of SFInt32
properties |
default | 0
facets |
Kind | Value | Annotation
minInclusive | 0 |
source | <xs:attribute name="startFrame" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute>

attribute HAnimMotion/@endFrame

type | restriction of SFInt32
properties |
default | -1
facets |
Kind | Value | Annotation
minInclusive | -1 |
source | <xs:attribute name="endFrame" default="-1"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="-1"/> </xs:restriction> </xs:simpleType> </xs:attribute>

attribute HAnimMotion/@joints

type | MFString
source | <xs:attribute name="joints" type="MFString"/>

attribute HAnimMotion/@loa

type | loaType
properties |
default | -1
facets |
Kind | Value | Annotation
minInclusive | -1 |
maxInclusive | 4 |
source | <xs:attribute name="loa" type="loaType" default="-1"/>

attribute HAnimMotion/@loop

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

attribute HAnimMotion/@values

type | MFFloat
facets |
Kind | Value | Annotation
whiteSpace | collapse |
pattern | (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)* |
source | <xs:attribute name="values" type="MFFloat"/>

attribute HAnimMotion/@containerField

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

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