ParticlesMaterial Properties |
The ParticlesMaterial type exposes the following members.
Name | Description | |
---|---|---|
Angle | Initial rotation applied to each particle, in degrees. Only applied when FlagDisableZ or FlagRotateY are true or the SpatialMaterial being used to draw the particle is using . | |
AngleCurve | Each particle's rotation will be animated along this CurveTexture. | |
AngleRandom | Rotation randomness ratio. | |
AngularVelocity | Initial angular velocity applied to each particle. Sets the speed of rotation of the particle. Only applied when FlagDisableZ or FlagRotateY are true or the SpatialMaterial being used to draw the particle is using . | |
AngularVelocityCurve | Each particle's angular velocity will vary along this CurveTexture. | |
AngularVelocityRandom | Angular velocity randomness ratio. | |
AnimOffset | Particle animation offset. | |
AnimOffsetCurve | Each particle's animation offset will vary along this CurveTexture. | |
AnimOffsetRandom | Animation offset randomness ratio. | |
AnimSpeed | Particle animation speed. | |
AnimSpeedCurve | Each particle's animation speed will vary along this CurveTexture. | |
AnimSpeedRandom | Animation speed randomness ratio. | |
Color | Each particle's initial color. If the Particles2D's texture is defined, it will be multiplied by this color. To have particle display color in a SpatialMaterial make sure to set VertexColorUseAsAlbedo to true. | |
ColorRamp | Each particle's color will vary along this GradientTexture. | |
Damping | The rate at which particles lose velocity. | |
DampingCurve | Damping will vary along this CurveTexture. | |
DampingRandom | Damping randomness ratio. | |
Direction | Unit vector specifying the particles' emission direction. | |
DynamicObject |
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.) | |
EmissionBoxExtents | The box's extents if emission_shape is set to . | |
EmissionColorTexture | Particle color will be modulated by color determined by sampling this texture at the same point as the EmissionPointTexture. | |
EmissionNormalTexture | Particle velocity and rotation will be set by sampling this texture at the same point as the EmissionPointTexture. Used only in . Can be created automatically from mesh or node by selecting "Create Emission Points from Mesh/Node" under the "Particles" tool in the toolbar. | |
EmissionPointCount | The number of emission points if emission_shape is set to or . | |
EmissionPointTexture | Particles will be emitted at positions determined by sampling this texture at a random position. Used with and . Can be created automatically from mesh or node by selecting "Create Emission Points from Mesh/Node" under the "Particles" tool in the toolbar. | |
EmissionShape | Particles will be emitted inside this region. Use ParticlesMaterialEmissionShapeEnum constants for values. | |
EmissionSphereRadius | The sphere's radius if emission_shape is set to . | |
FlagAlignY | Align Y axis of particle with the direction of its velocity. | |
FlagDisableZ | If true, particles will not move on the z axis. | |
FlagRotateY | If true, particles rotate around Y axis by Angle. | |
Flatness | Amount of Spread in Y/Z plane. A value of 1 restricts particles to X/Z plane. | |
Gravity | Gravity applied to every particle. | |
HueVariation | Initial hue variation applied to each particle. | |
HueVariationCurve | Each particle's hue will vary along this CurveTexture. | |
HueVariationRandom | Hue variation randomness ratio. | |
InitialVelocity | Initial velocity magnitude for each particle. Direction comes from Spread and the node's orientation. | |
InitialVelocityRandom | Initial velocity randomness ratio. | |
LifetimeRandomness | Particle lifetime randomness ratio. | |
LinearAccel | Linear acceleration applied to each particle in the direction of motion. | |
LinearAccelCurve | Each particle's linear acceleration will vary along this CurveTexture. | |
LinearAccelRandom | Linear acceleration randomness ratio. | |
NativeInstance | (Inherited from Object.) | |
NextPass | Sets the Material to be used for the next pass. This renders the object again using a different material. Note: only applies to SpatialMaterials and ShaderMaterials with type "Spatial". | |
OrbitVelocity | Orbital velocity applied to each particle. Makes the particles circle around origin. Specified in number of full rotations around origin per second. Only available when FlagDisableZ is true. | |
OrbitVelocityCurve | Each particle's orbital velocity will vary along this CurveTexture. | |
OrbitVelocityRandom | Orbital velocity randomness ratio. | |
RadialAccel | Radial acceleration applied to each particle. Makes particle accelerate away from origin. | |
RadialAccelCurve | Each particle's radial acceleration will vary along this CurveTexture. | |
RadialAccelRandom | Radial acceleration randomness ratio. | |
RenderPriority | Sets the render priority for transparent objects in 3D scenes. Higher priority objects will be sorted in front of lower priority objects. Note: this only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority). | |
ResourceLocalToScene | If true, the resource will be made unique in each instance of its local scene. It can thus be modified in a scene instance without impacting other instances of that same scene. | |
ResourceName | The name of the resource. This is an optional identifier. If ResourceName is not empty, its value will be displayed to represent the current resource in the editor inspector. For built-in scripts, the ResourceName will be displayed as the tab name in the script editor. | |
ResourcePath | The path to the resource. In case it has its own file, it will return its filepath. If it's tied to the scene, it will return the scene's path, followed by the resource's index. | |
Scale | Initial scale applied to each particle. | |
ScaleCurve | Each particle's scale will vary along this CurveTexture. | |
ScaleRandom | Scale randomness ratio. | |
Spread | Each particle's initial direction range from +spread to -spread degrees. Applied to X/Z plane and Y/Z planes. | |
TangentialAccel | Tangential acceleration applied to each particle. Tangential acceleration is perpendicular to the particle's velocity giving the particles a swirling motion. | |
TangentialAccelCurve | Each particle's tangential acceleration will vary along this CurveTexture. | |
TangentialAccelRandom | Tangential acceleration randomness ratio. | |
TrailColorModifier | Trail particles' color will vary along this GradientTexture. | |
TrailDivisor | Emitter will emit amount divided by trail_divisor particles. The remaining particles will be used as trail(s). | |
TrailSizeModifier | Trail particles' size will vary along this CurveTexture. |