element Viewport
diagram x3d-3.2_diagrams/x3d-3.2_p226.png
type extension of X3DViewportNode
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
used by
element Layer
groups LayoutGroupContentModel PickSensorGroupingNodeContentModel SceneGraphFragmentContentModel
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    
clipBoundary  MFFloat    0 1 0 1    
appinfo
<xs:minInclusive value="0"/>
<xs:maxInclusive value="1"/>
containerField  xs:NMTOKEN    viewport    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layering"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="Viewport">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layering"/>
     
<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/layering.html#Viewport"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DViewportNode">
       
<xs:attribute name="clipBoundary" type="MFFloat" default="0 1 0 1">
         
<xs:annotation>
           
<xs:appinfo>
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="viewport"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute Viewport/@clipBoundary
type MFFloat
properties
default 0 1 0 1
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"/>
<xs:maxInclusive value="1"/>
source <xs:attribute name="clipBoundary" type="MFFloat" default="0 1 0 1">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute Viewport/@containerField
type xs:NMTOKEN
properties
default viewport
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="viewport"/>


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