diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DShapeNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Appearance Box Cone Cylinder IndexedFaceSet IndexedLineSet IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet PointSet Sphere TriangleFanSet TriangleSet TriangleStripSet ElevationGrid Polyline2D Polypoint2D Rectangle2D TriangleSet2D Extrusion Text Arc2D ArcClose2D Circle2D Disk2D QuadSet IndexedQuadSet GeoElevationGrid NurbsCurve NurbsPatchSurface NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface ProtoInstance Color ColorRGBA ConeEmitter ExplosionEmitter PointEmitter PolylineEmitter SurfaceEmitter VolumeEmitter BoundedPhysicsModel ForcePhysicsModel WindPhysicsModel TextureCoordinate TextureCoordinateGenerator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="ParticleSystem"> <xs:annotation> <xs:appinfo> <xs:attribute name="isActive" type="SFBool" fixed="outputOnlyField"/> <xs:element name="color" type="SFNode" fixed="initializeOnlyField" default="X3DColorNode"> <xs:annotation> <xs:appinfo> <xs:attribute name="synonym" type="xs:NMTOKEN" fixed="colorRamp"/> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="geometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"> <!-- annotates SFNode geometry from X3DShapeNode --> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="ParticleSystems"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/> Support for SFNode geometry field (inherited from X3DShapeNode) is required at level 3. </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="emitter" type="SFNode" fixed="initializeOnlyField" default="X3DParticleEmitterNode"/> <xs:element name="physics" type="MFNode" fixed="initializeOnlyField" default="X3DParticlePhysicsModelNode"/> <xs:element name="texCoord" type="SFNode" fixed="initializeOnlyField" default="TextureCoordinate|TextureCoordinateGenerator"> <xs:annotation> <xs:appinfo> <xs:attribute name="synonym" type="xs:NMTOKEN" fixed="texCoordRamp"/> </xs:appinfo> </xs:annotation> </xs:element> <xs:attribute name="componentName" type="componentNameChoices" fixed="ParticleSystems"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/particleSystems.html#ParticleSystem"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DShapeNode"> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>SFNode</xs:documentation> </xs:annotation> <xs:element ref="Color"> <xs:annotation> <xs:documentation>color (formerly named colorRamp in X3D3)</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="ColorRGBA"> <xs:annotation> <xs:documentation>color (formerly named colorRamp in X3D3)</xs:documentation> </xs:annotation> </xs:element> <!-- unable to include colorRamp ProtoInstance without creating an ambiguous content model --> </xs:choice> <xs:choice minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>SFNode</xs:documentation> </xs:annotation> <xs:element ref="ConeEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="ExplosionEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="PointEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="PolylineEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="SurfaceEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="VolumeEmitter"> <xs:annotation> <xs:documentation>emitter</xs:documentation> </xs:annotation> </xs:element> <!-- unable to include emitter ProtoInstance without creating an ambiguous content model --> </xs:choice> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>MFNode</xs:documentation> </xs:annotation> <xs:element ref="BoundedPhysicsModel"> <xs:annotation> <xs:documentation>physics</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="ForcePhysicsModel"> <xs:annotation> <xs:documentation>physics</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="WindPhysicsModel"> <xs:annotation> <xs:documentation>physics</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="ProtoInstance"> <xs:annotation> <xs:documentation>physics</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:choice minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>SFNode</xs:documentation> </xs:annotation> <xs:element ref="TextureCoordinate" minOccurs="0"> <xs:annotation> <xs:documentation>texCoord (formerly named texCoordRamp in X3D3)</xs:documentation> </xs:annotation> </xs:element> <xs:element ref="TextureCoordinateGenerator" minOccurs="0"> <xs:annotation> <xs:documentation>texCoord</xs:documentation> </xs:annotation> </xs:element> </xs:choice> <!-- unable to include texCoordRamp ProtoInstance without creating an ambiguous content model --> </xs:sequence> <xs:attribute name="createParticles" type="SFBool" default="true"/> <xs:attribute name="enabled" type="SFBool" default="true"/> <xs:attribute name="lifetimeVariation" default="0.25"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="maxParticles" default="200"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="particleLifetime" default="5"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="particleSize" type="SFVec2f" default="0.02 0.02"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="colorKey" type="MFFloat"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="geometryType" type="particleSystemGeometryTypeValues" default="QUAD"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="ParticleSystems"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/> geometryType "SPRITE" supported at level 2, and geometryType "GEOMETRY" supported at level 3. </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="texCoordKey" type="MFFloat"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="createParticles" type="SFBool" default="true"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="enabled" type="SFBool" default="true"/> |
type | restriction of SFFloat | ||||||||||||
properties |
|
||||||||||||
facets |
|
||||||||||||
source | <xs:attribute name="lifetimeVariation" default="0.25"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFInt32 | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="maxParticles" default="200"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFFloat | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="particleLifetime" default="5"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | SFVec2f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
annotation |
|
|||||||||
source | <xs:attribute name="particleSize" type="SFVec2f" default="0.02 0.02"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
type | MFFloat | |||||||||
facets |
|
|||||||||
annotation |
|
|||||||||
source | <xs:attribute name="colorKey" type="MFFloat"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
type | particleSystemGeometryTypeValues | |||||||||||||||||||||||||||||||||
properties |
|
|||||||||||||||||||||||||||||||||
facets |
|
|||||||||||||||||||||||||||||||||
annotation |
|
|||||||||||||||||||||||||||||||||
source | <xs:attribute name="geometryType" type="particleSystemGeometryTypeValues" default="QUAD"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="ParticleSystems"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/> geometryType "SPRITE" supported at level 2, and geometryType "GEOMETRY" supported at level 3. </xs:appinfo> </xs:annotation> </xs:attribute> |
type | MFFloat | |||||||||
facets |
|
|||||||||
annotation |
|
|||||||||
source | <xs:attribute name="texCoordKey" type="MFFloat"> <xs:annotation> <xs:appinfo> <xs:minInclusive value="0"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> |