Namespace ValveResourceFormat.Particles ​
Namespaces ​
Classes ​
| Name | Description |
|---|---|
| BindPoseModelObject | A model standing still in its bind pose, for a control point that carries a model with nothing animating it. |
| ControlPoint | Control point used in Valve particle systems. Control point 0 is the default spawn position. Each system holds its own copy, and a write reaches the same control point of every system below the one it is made on, never the systems above. |
| ParticleCollection | Manages the initial and current state arrays for all live particles in a system. |
| ParticleLightSource | A point light a particle system places in the scene on its own, rather than through a renderer. The function that owns it keeps the same instance for the life of the system, so it identifies the light across IParticleSystemObserver.OnLightSourceUpdated(ParticleLightSource) calls. |
| ParticleSupportInfo | Reports which particle function classes the simulation implements. Renderer classes are answered separately by whatever draws the system. |
| ParticleSystemSimulation | Child systems: creation, group selection and group restarts. |
| ParticleSystemState | Represents an entire particle system. |
| SnapshotParticleSystem | Builds the particle system a .vsnap is previewed through: an ordinary definition that binds the snapshot to SnapshotParticleSystem.SnapshotControlPoint and reads every attribute it stores back out of it through C_INIT_InitFromCPSnapshot, one particle per snapshot element. |
Structs ​
| Name | Description |
|---|---|
| ParticleSpan | A contiguous run of particles in a ParticleCollection, read and written one attribute column at a time. A default instance is empty and has no columns to read. |
Interfaces ​
| Name | Description |
|---|---|
| IParticleCollision | The world geometry a particle system can trace against, for collision and ground placement. Traces run between any two points: along a particle's movement, or out from a control point to find the surfaces a collision plane set is built from. |
| IParticleLighting | The scene lighting a particle system can query. |
| IParticleModelObject | The object a control point is bound to when it carries a model, such as the entity an effect is attached to. It gives the transform, the pose of the skeleton and the sequence being played. The model functions place particles on the hitboxes and bones of the model, skin snapshots to the model and read the scale of the transform. |
| IParticlePlayer | The local player a particle system can query. |
| IParticleSystemObserver | Watches a simulated particle system so a drawing layer can keep up with it. The simulation holds one observer per system. It draws nothing itself, so it runs without a graphics backend. |
Enums ​
| Name | Description |
|---|---|
| BlurFilterType | The weights of a blur kernel. |
| ClosestPointTestType | The shape a hitbox is measured as when finding the point of it closest to a particle. |
| ParticleAlphaReferenceType | Which alpha an alpha tested particle keeps once it passes the test: the first half names the texture alpha, the second the vertex alpha, each either kept or replaced by full opacity. |
| ParticleAnimationType | Particle animation timing modes. |
| ParticleAttachment | Attachment modes for particle systems relative to entities. |
| ParticleBlendMode | Particle render output blending modes. |
| ParticleCollisionMode | How a world collision constraint finds the surfaces particles collide with. |
| ParticleColorBlendMode | How a particle colour initializer combines the colour it picked with a tint. |
| ParticleColorBlendType | Particle color blend types. |
| ParticleControlPointAxis | An axis of a control point's frame. |
| ParticleDepthFeatheringMode | Particle depth feathering option. |
| ParticleDetailLevel | The lowest particle detail tier a child system appears at. |
| ParticleDirectionNoiseType | Vector noise selection for direction noise forces. |
| ParticleEndCapMode | Particle system endcap behavior when reaching lifetime limits. |
| ParticleEntityPos | A position on an entity. |
| ParticleEventType | Particle events a system can pass to its child systems. The children emit from them. |
| ParticleField | Particle field identifiers. |
| ParticleFloatBiasType | Bias curve types for modulating floating-point particle parameters. |
| ParticleFloatRandomMode | Particle random value generation modes. |
| ParticleFogType | Whether a renderer's particles are fogged. |
| ParticleLightBehaviorChoiceList | How a capsule particle light lays out its axis. |
| ParticleLightingQuality | Where a particle renderer samples the scene lighting. |
| ParticleLightningBranchBehavior | Which way a lightning branch heads when it splits off its parent bolt. |
| ParticleLightTypeChoiceList | What kind of light a standard particle light casts. |
| ParticleLightUnitChoiceList | Particle light unit choice list. |
| ParticleMissingParentBehavior | What a particle inheriting from a parent particle does once that parent is gone. |
| ParticleModelType | Where a particle function's model input takes its model from. |
| ParticleNoiseModifier | Output-shaping modifiers for noise-typed particle float inputs. |
| ParticleNoiseTurbulence | Turbulence post-passes for noise-typed particle float inputs. |
| ParticleNoiseType | Primitive selection for noise-typed particle float inputs. |
| ParticleOmni2LightOrientationChoiceList | Which way an Omni2 particle light faces. |
| ParticleOmni2LightTypeChoiceList | Particle Omni2 light type choice list. |
| ParticleOrientation | Particle orientation modes for rendering. |
| ParticleOrientationSetMode | Where a control point placed on a particle takes its orientation from. |
| ParticleOrientationType | How a control point placed on a particle takes its orientation from the particle. |
| ParticleParentSetMode | Which system in the tree a control point write goes to. |
| ParticlePinDistance | What releases a particle pinned to a control point. |
| ParticleSelection | Which particle a function picks out of the system. |
| ParticleSequenceCropOverride | Whether a renderer crops its cards to the art of the sheet frames. Only a first texture layer with a sheet is ever cropped. |
| ParticleSetMethod | Methods for modifying particle attributes. |
| ParticleSortingChoiceList | The order a renderer draws its particles in. |
| ParticleTextureLayerBlendType | How a texture layer, once reduced by its SpriteCardTextureChannel, is combined with the accumulated result of the layers before it. |
| ParticleTraceMissBehavior | What a ground trace does with a particle when it hits nothing. |
| RenderModelSubModelFieldType | How a model particle renderer reads its sub-model attribute to pick the mesh groups it draws. |
| ScalarExpressionType | Scalar expression types used for particles. |
| SpriteCardPerParticleScale | The per particle value a spritecard input reads. |
| SpriteCardTextureChannel | How a texture layer's sampled channels are reduced against the accumulated result of the layers before it. |
| SpriteCardTextureType | What role a texture layer plays. DIFFUSE through UVDISTORTION_ZOOM are colour layers, differing in which effect is applied to the sample; the types after them are not colour at all and must stay out of the colour chain. |
| StandardLightingAttenuationStyle | How a standard particle light falls off with distance. |
| TextureRepetitionMode | How a cable renderer's texture repeat count is interpreted along the rope. |
| VectorExpression | Mathematical operation types for vector expressions. |
| VectorExpressionType | Vector expression types used for particles. |

