element HAnimSegment
diagram x3d-3.2_diagrams/x3d-3.2_p84.png
type extension of X3DGroupingNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Background ColorInterpolator CoordinateInterpolator DirectionalLight Group NavigationInfo NormalInterpolator OrientationInterpolator PositionInterpolator ScalarInterpolator Shape TimeSensor Transform Viewpoint WorldInfo Anchor BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger CylinderSensor Inline IntegerSequencer IntegerTrigger KeySensor PlaneSensor PointLight ProximitySensor SphereSensor SpotLight StringSensor Switch TimeTrigger TouchSensor AudioClip Billboard Collision Fog LoadSensor LocalFog LOD Script Sound VisibilitySensor CoordinateInterpolator2D PositionInterpolator2D ClipPlane EaseInEaseOut LinePickSensor PickableGroup PointPickSensor PrimitivePickSensor VolumePickSensor SplinePositionInterpolator SplinePositionInterpolator2D SplineScalarInterpolator SquadOrientationInterpolator StaticGroup CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorDamper CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite NurbsOrientationInterpolator NurbsPositionInterpolator NurbsSurfaceInterpolator NurbsSet ProtoInstance ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT HAnimDisplacer
used by
elements HAnimHumanoid HAnimJoint TransformSensor
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.
bboxCenter  SFVec3f    0 0 0    
bboxSize  bboxSizeType    -1 -1 -1    
name  xs:NMTOKEN        
appinfo
name attribute is ordinarily required, unless this is a USE node
mass  derived by: SFFloat    0    
centerOfMass  SFVec3f    0 0 0    
momentsOfInertia  MFFloat    0 0 0 0 0 0 0 0 0    
appinfo
<xs:minInclusive value="0"/>
containerField  containerFieldChoicesHAnimSegment    children    
annotation
appinfo
<xs:attribute name="name" type="hanimSegmentNameValues"/>
<xs:element name="coord" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
<xs:element name="displacers" type="MFNode" fixed="inputOutputField" default="HAnimDisplacer"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="H-Anim"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="HAnimSegment">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="name" type="hanimSegmentNameValues"/>
     
<xs:element name="coord" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
     
<xs:element name="displacers" type="MFNode" fixed="inputOutputField" default="HAnimDisplacer"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="H-Anim"/>
     
<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/hanim.html#HAnimSegment"/>
   
<!-- HAnim specification https://www.web3d.org/documents/specifications/19774/V1.0/HAnim/ObjectInterfaces.html#Segment -->
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DGroupingNode">
       
<xs:sequence minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>displacers</xs:documentation>
         
</xs:annotation>
         
<!-- TODO add child Coordinate SFNode? -->
         
<xs:element ref="HAnimDisplacer"/>
       
</xs:sequence>
       
<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="mass" default="0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="momentsOfInertia" type="MFFloat" default="0 0 0 0 0 0 0 0 0">
         
<xs:annotation>
           
<xs:appinfo>
             
<xs:minInclusive value="0"/>
           
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="containerFieldChoicesHAnimSegment" default="children"/>
     
</xs:extension>
     
<!-- description added in X3D version 4.0 -->
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute HAnimSegment/@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 HAnimSegment/@mass
type restriction of SFFloat
properties
default 0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="mass" default="0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute HAnimSegment/@centerOfMass
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 0"/>

attribute HAnimSegment/@momentsOfInertia
type MFFloat
properties
default 0 0 0 0 0 0 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)*
annotation
appinfo
<xs:minInclusive value="0"/>
source <xs:attribute name="momentsOfInertia" type="MFFloat" default="0 0 0 0 0 0 0 0 0">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute HAnimSegment/@containerField
type containerFieldChoicesHAnimSegment
properties
default children
facets
Kind Value Annotation
enumeration children
appinfo
parent node is HAnimJoint
enumeration segments
appinfo
parent node is HAnimHumanoid, typically as a USE node
source <xs:attribute name="containerField" type="containerFieldChoicesHAnimSegment" default="children"/>


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