No documentation available yet. Click "Add documentation" to contribute!
VfxDriverContainer
Class Documentation
Edit documentationThe material drivers of a
VfxMaterialRenderComponent (its Drivers):
shader parameter values that the driver graph computes. There
are two kinds:
materialDrivers: one value per emitter, set as a named material parameter.DynamicParticleParameter: values per particle, written into a per-particle buffer that the shader reads.
When the system is prepared, the render component runs the driver setup over both maps: it records which components each driver defines, assigns the random slots and registers the logic drivers.
Properties
Per-particle shader values, each a
VfxDynamicParticleParameterDefinition
under a U8 key. The key is the index of the value in the particle's record.
On every draw the client also sets the shader parameter DYNAMIC_PARTICLE_ENABLE_MASK:
four bits per key, one for each component that the key's drivers define. Bits 0-3
belong to key 0, bits 4-7 to key 1, and so on.
Type history (4 revisions)
- 15.22 - 15.24
Map<String, IVfxMaterialDriver> - 16.1 - 16.1
Map<String, IVfxVector4Driver> - 15.24 - 15.24
Map<String, IVfxMaterialDriver> - since 16.1
Map<String, IVfxVector4Driver>
Four-component drivers, each under the name of a material parameter. On every draw of the emitter, the client sets each value as the material parameter whose name is the key.