element HAnimSegment
diagram x3d-4.0_diagrams/x3d-4.0_p105.png
type extension of X3DGroupingNode
properties
content complex
children IS MetadataBoolean 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 EnvironmentLight LinePickSensor PickableGroup PointPickSensor PrimitivePickSensor VolumePickSensor SplinePositionInterpolator SplinePositionInterpolator2D SplineScalarInterpolator SquadOrientationInterpolator StaticGroup TextureProjector TextureProjectorParallel CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorChaser ColorDamper CoordinateChaser CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser ScalarDamper TexCoordChaser2D TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor IsoSurfaceVolumeData SegmentedVolumeData VolumeData Analyser AudioDestination BiquadFilter BufferAudioSource ChannelMerger ChannelSelector ChannelSplitter Convolver Delay DynamicsCompressor Gain ListenerPointSource MicrophoneSource OscillatorSource SpatialSound StreamAudioDestination StreamAudioSource WaveShaper EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite HAnimMotion 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.
                    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.
               
bboxCenter  SFVec3f    0 0 0    
bboxSize  bboxSizeType    -1 -1 -1    
bboxDisplay  SFBool    false    
visible  SFBool    true    
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    
description  SFString        
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="HAnim"/>
<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="HAnim"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/hanim.html#HAnimSegment"/>
   
<!-- HAnim specification https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/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="description" type="SFString"/>
       
<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>
   
</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/@description
type SFString
source <xs:attribute name="description" type="SFString"/>

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