Skip to reading
GDScript Programming & Godot

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

Source table from Earlier edition reference / Current 0.86.4.0 property paths > p. 350, page 252
Stored pathType / accessPurpose and limits
particle.colortext W / DefinitionLightning uses Primary Color for the outer bolt, Emission Color for its bright core, and Opacity for both. Glow depends on the renderer and environment. Motion, amount and lifetime fields belong to other particle presets.
particle.emissionColortext W / DefinitionLightning uses Primary Color for the outer bolt, Emission Color for its bright core, and Opacity for both. Glow depends on the renderer and environment. Motion, amount and lifetime fields belong to other particle presets.
particle.opacitynumber W / DefinitionParticle opacity from 0 to 1.
particle.directionvector3 W / DefinitionBolt direction relative to the emitter.
particle.boltWidthnumber W / DefinitionLightning thickness in scene units. The bright core is one third of this width.
particle.boltLengthnumber W / DefinitionDistance from the emitter to the bolt tip in scene units, along Direction. Transform scale also affects the result.
particle.flashDurationnumber W / DefinitionSeconds each flash stays visible. One Shot plays one flash; disable and enable Emit In Game to replay it.
particle.flashIntervalnumber W / DefinitionDark time in seconds between flashes. Zero produces a continuous bolt. Each new flash gets a new jagged shape.
particle.boltJaggednessnumber W / DefinitionSideways displacement in scene units. Zero makes a straight beam. Start and end remain fixed.
particle.boltSegmentsnumber W / DefinitionNumber of lightning segments, from 2 to 128. Fewer segments reduce rendering work.
Page 252 of 378Permalink
Go to page