element HAnimMotion

diagram |
type | extension of X3DChildNode
properties |
content | complex
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by |
element | HAnimHumanoid
group | ChildContentModelHumanoidAnimation
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. This attribute is only functional if the X3D model is loaded within an HTML page.
id | xs:NMTOKEN |  |  |  |
appinfo
The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing. This attribute is only functional if the X3D model is loaded within an HTML page.
style | SFString |  |  |  |
appinfo
The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets. This attribute is only functional if the X3D model is loaded within an HTML page.
channels | SFString |  |  |  |
channelsEnabled | MFBool |  |  |  |
description | SFString |  |  |  |
enabled | SFBool |  | true |  |
endFrame | derived by: SFInt32 |  | 0 |  |
frameDuration | derived by: SFTime |  | 0.1 |  |
frameIncrement | SFInt32 |  | 1 |  |
frameIndex | derived by: SFInt32 |  | 0 |  |
joints | SFString |  |  |  |
loa | loaType |  | -1 |  |
loop | SFBool |  | false |  |
name | xs:NMTOKEN |  |  |  |
appinfo
name attribute is ordinarily required, unless this is a USE node
startFrame | derived by: SFInt32 |  | 0 |  |
values | MFFloat |  |  |  |
containerField | containerFieldChoicesHAnimMotion |  | 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="next" type="SFBool" fixed="inputOnlyField"/> <xs:attribute name="previous" type="SFBool" fixed="inputOnlyField"/> <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="next" type="SFBool" fixed="inputOnlyField"/> <xs:attribute name="previous" type="SFBool" fixed="inputOnlyField"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="HAnim"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/hanim.html#HAnimMotion"/> <!-- HAnim specification https://www.web3d.org/documents/specifications/19774/V2.0/MotionDataAnimation/MotionNodes.html#MotionObject --> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DChildNode"> <xs:attribute name="channels" type="SFString"/> <xs:attribute name="channelsEnabled" type="MFBool"/> <xs:attribute name="description" type="SFString"/> <xs:attribute name="enabled" type="SFBool" default="true"/> <xs:attribute name="endFrame" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <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="joints" type="SFString"/> <xs:attribute name="loa" type="loaType" default="-1"/> <xs:attribute name="loop" type="SFBool" default="false"/> <xs:attribute name="name" type="xs:NMTOKEN"> <xs:annotation> <xs:appinfo>name attribute is ordinarily required, unless this is a USE node</xs:appinfo> <!-- Design note: cannot REQUIRE @name field or else USE nodes incorrectly fail to validate --> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </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="values" type="MFFloat"/> <xs:attribute name="containerField" type="containerFieldChoicesHAnimMotion" default="motions"/> </xs:extension> <!-- <xs:attribute name="skeletalConfiguration" type="SFString" default="BASIC"> <xs:annotation> <xs:appinfo>Mantis 1415 for compatibility testing with HAnimHumanoid</xs:appinfo> </xs:annotation> </xs:attribute> --> </xs:complexContent> </xs:complexType> </xs:element>

attribute HAnimMotion/@channels

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

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 | true
source | <xs:attribute name="enabled" type="SFBool" default="true"/>

attribute HAnimMotion/@endFrame

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

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/@joints

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

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/@name

type | xs:NMTOKEN
annotation |
appinfo
name attribute is ordinarily required, unless this is a USE node
source | <xs:attribute name="name" type="xs:NMTOKEN"> <xs:annotation> <xs:appinfo>name attribute is ordinarily required, unless this is a USE node</xs:appinfo> <!-- Design note: cannot REQUIRE @name field or else USE nodes incorrectly fail to validate --> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </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/@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 | containerFieldChoicesHAnimMotion
properties |
default | motions
facets |
Kind | Value | Annotation
enumeration | children |
appinfo
parent node is a grouping node
enumeration | motions |
appinfo
parent node is HAnimHumanoid
source | <xs:attribute name="containerField" type="containerFieldChoicesHAnimMotion" default="motions"/>

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