diagram | |||||||||||||||||||||||||||
type | extension of SceneGraphStructureStatement | ||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||
source | <xs:element name="unit"> <xs:annotation> <xs:appinfo> <!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors --> <xs:attribute name="conversionFactor" type="SFDouble" default="1.0"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> Functional summary: unit statement defines data-conversion factors for typed values defined in a scene. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#UNITStatement"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="SceneGraphStructureStatement"> <xs:attribute name="category" type="unitCategoryChoices" use="required"/> <xs:attribute name="name" type="xs:NMTOKEN" use="required"> <xs:annotation> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </xs:attribute> <xs:attribute name="conversionFactor" use="required"> <xs:annotation> <xs:appinfo> Warning: conversionFactor is required and must be specified in source document. </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFDouble"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | unitCategoryChoices | |||||||||||||||||||||||
properties |
|
|||||||||||||||||||||||
facets |
|
|||||||||||||||||||||||
source | <xs:attribute name="category" type="unitCategoryChoices" use="required"/> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="name" type="xs:NMTOKEN" use="required"> <xs:annotation> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </xs:attribute> |
type | restriction of SFDouble | ||||||
properties |
|
||||||
facets |
|
||||||
annotation |
|
||||||
source | <xs:attribute name="conversionFactor" use="required"> <xs:annotation> <xs:appinfo> Warning: conversionFactor is required and must be specified in source document. </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFDouble"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |