public enum VfxAttributeOne per-particle quantity a graph can read or write.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A fixed set rather than an open one, for now. Every attribute here has a known type, a known meaning to the renderers, and a place in the compiled graph's declaration — which is what lets storage be allocated for exactly the ones a graph touches and nothing else. An effect that never rotates its particles pays nothing for rotation.
The values are bit positions, so a declaration is a mask and "does this graph use rotation" is one instruction.
Fields and properties (10)
NoneNothing.
PositionWhere the particle is, in the effect's space. Float3.
VelocityHow it is moving, per second. Float3.
SizeHow big it is. Float.
ColourIts colour and opacity, linear and premultiplied by nothing. Float4.
LifetimeHow long it lives, in seconds. Float.
AgeHow long it has lived. Float.
RotationIts roll, in radians. Float.
AngularVelocityHow fast that roll is changing, in radians per second. Float.
IdentifierThe particle's identifier, unique within its system for as long as it lives. UInt.
Used by (21)
- ParticleBufferVixen.Vfx
- SweepVixen.Vfx
- VfxAttributesVixen.Vfx
- VfxCollisionTestsVixen.Vfx.Tests
- VfxCompiledGraphVixen.Vfx
- VfxCompiledGraphTestsVixen.Vfx.Tests
- VfxCustomAttributeTestsVixen.Vfx.Tests
- VfxGeometryBuilderVixen.Vfx
- VfxGeometryTestsVixen.Vfx.Tests
- VfxGpuSimulationVixen.Rendering
- VfxGpuSortVixen.Rendering
- VfxOpcodesVixen.Vfx
- VfxRendererVixen.Vfx
- VfxRibbonTestsVixen.Vfx.Tests
- VfxShaderBindingVixen.Vfx
- VfxShaderEmitterVixen.Vfx
- VfxShaderEmitterTestsVixen.Vfx.Tests
- VfxShaderPackingVixen.Vfx
- VfxSimulationVixen.Vfx
- VfxSubEmitterVixen.Vfx
- VfxPreviewViewVixen.Editor.AssetEditors