Enum ParticleField ​
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
Particle field identifiers.
csharp
public enum ParticleFieldFields ​
| Name | Value | Description |
|---|---|---|
Position | 0 | World-space position of the particle. |
LifeDuration | 1 | Total lifetime duration in seconds. |
PositionPrevious | 2 | World-space position from the previous frame, used for velocity. |
Radius | 3 | Visual radius of the particle. |
Roll | 4 | Roll rotation angle in radians. |
RollSpeed | 5 | Roll rotation speed in radians per second. |
Color | 6 | RGB color of the particle. |
Alpha | 7 | Opacity in the range [0, 1]. |
CreationTime | 8 | System time at which the particle was created. |
SequenceNumber | 9 | Primary sprite sheet sequence index. |
TrailLength | 10 | Trail length multiplier. |
ParticleId | 11 | Unique particle identifier. |
Yaw | 12 | Yaw rotation angle in radians. |
SecondSequenceNumber | 13 | Secondary sprite sheet sequence index. |
HitboxIndex | 14 | Index of the hitbox associated with this particle. |
HitboxOffsetPosition | 15 | World-space offset position relative to a hitbox. |
AlphaAlternate | 16 | Alternate alpha value used by some operators and renderers. |
ScratchVector | 17 | General-purpose scratch vector field. |
ScratchFloat | 18 | General-purpose scratch float field (index 0). |
NoneDisabled | 19 | Reserved field; no active use. |
Pitch | 20 | Pitch rotation angle in radians. |
Normal | 21 | Surface normal direction of the particle. |
GlowRgb | 22 | RGB color used for glow effects. |
GlowAlpha | 23 | Opacity of the glow effect. |
SceneObjectPointer | 24 | Pointer to the scene object associated with this particle. |
ModelHelperPointer | 25 | Pointer to a model helper object. |
ScratchFloat1 | 26 | General-purpose scratch float field (index 1). |
ScratchFloat2 | 27 | General-purpose scratch float field (index 2). |
SceneObjectPointer2 | 28 | Pointer to a second scene object associated with this particle. |
RefCountedPointer | 29 | Reference-counted pointer scratch field. |
ScratchVector2 | 30 | Second general-purpose scratch vector field. |
BoneIndices | 31 | Bone indices for skinned mesh attachment. |
BoneWeights | 32 | Bone weights for skinned mesh attachment. |
ParentParticleIndex | 33 | Index of this particle's parent in a parent-child hierarchy. |
ForceScale | 34 | Scale factor applied to forces acting on this particle. |
ModelHelperPointer2 | 35 | Pointer to a second model helper object. |
ModelHelperPointer3 | 36 | Pointer to a third model helper object. |
ModelHelperPointer4 | 37 | Pointer to a fourth model helper object. |
ManualAnimationFrame | 38 | Manually set animation frame index. |
ShaderExtraData1 | 39 | Shader-specific extra data field 1. |
ShaderExtraData2 | 40 | Shader-specific extra data field 2. |
BoxMins | 41 | Minimum corner of the particle's local bounding box. |
BoxMaxs | 42 | Maximum corner of the particle's local bounding box. |
BoxAngles | 43 | Orientation of the particle's local bounding box. |
BoxFlags | 44 | Flags describing how the particle's local bounding box is used. |
UserEventStates | 45 | Bit field of the user events currently raised on this particle. |
ParentParticleId | 46 | Identifier of the parent particle this particle was created from. |
RopeSegmentId | 47 | Identifier of the rope segment this particle belongs to. |
RopeSegmentData | 48 | Per-segment payload carried alongside ParticleField.RopeSegmentId. |

