ConeEmitter

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
DEF xs:ID optional
USE xs:IDREF optional
angle restriction of SFFloat 0.7854 optional
class xs:NMTOKENS optional
containerField xs:NMTOKEN emitter optional
direction SFVec3f 0 1 0 optional
mass restriction of SFFloat 0 optional
position SFVec3f 0 0 0 optional
speed restriction of SFFloat 0 optional
surfaceArea restriction of SFFloat 0 optional
variation restriction of SFFloat 0.25 optional

Used By

Element ParticleSystem

Source

<xs:element name="ConeEmitter">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="ParticleSystems"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/particle_systems.html#ConeEmitter"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DParticleEmitterNode">
        <xs:attribute name="angle" default="0.7854">
          <!-- type="SFFloatNonNegative" -->
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minInclusive value="0"/>
              <xs:maxInclusive value="3.1416"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="direction" type="SFVec3f" default="0 1 0">
          <xs:annotation>
            <xs:appinfo>
              <xs:minInclusive value="-1"/>
              <xs:maxInclusive value="1"/>
            </xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="position" type="SFVec3f" default="0 0 0"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="emitter"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample