Struct ParticleSystemData
Provides parameters for drawing a particle system.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("TParticleSystemData")]
public struct ParticleSystemData
Fields
Acceleration
Acceleration vector of particles (in m/s²).
Declaration
sistent("Acceleration")]
public Vector3 Acceleration
Field Value
Type | Description |
---|---|
Vector3 |
Color
Color of particles.
Declaration
sistent("Color")]
public Color Color
Field Value
Type | Description |
---|---|
Color |
Remarks
Initial opacity of particles is derived from the A (alpha) property.
LifeTime
Maximum lifetime of particles (in seconds)
Declaration
sistent("LifeTime")]
public float LifeTime
Field Value
Type | Description |
---|---|
Single |
Remarks
A particle is removed when either
- its lifetime is reached
- its size reaches zero
- its opacity reaches zero
OpacityRate
Rate of change of the opacity of particles (per second)
Declaration
sistent("OpacityRate")]
public float OpacityRate
Field Value
Type | Description |
---|---|
Single |
Remarks
Set to a negative value to fade out particles. Opacity ranges from 1.0 to 0.0
SizeRate
Rate of change of the size of particles (in m/s)
Declaration
sistent("SizeRate")]
public float SizeRate
Field Value
Type | Description |
---|---|
Single |
Remarks
Can be positive or negative
SpawnRate
Number of particles to spawn per second
Declaration
sistent("SpawnRate")]
public float SpawnRate
Field Value
Type | Description |
---|---|
Single |
StartPositionRnd
Amount to randomize the start position of particles.
Declaration
sistent("StartPositionRnd")]
public Vector3 StartPositionRnd
Field Value
Type | Description |
---|---|
Vector3 |
Remarks
The position is randomized by ±0.5 * StartPositionRnd
StartSize
Initial diameter of particles (in m).
Declaration
sistent("StartSize")]
public float StartSize
Field Value
Type | Description |
---|---|
Single |
StartSizeRnd
Amount to randomize the initial size of particles.
Declaration
sistent("StartSizeRnd")]
public float StartSizeRnd
Field Value
Type | Description |
---|---|
Single |
Remarks
The size is randomized by ±0.5 * StartSizeRnd
StartVelocity
Initial velocity vector of particles (in m/s).
Declaration
sistent("StartVelocity")]
public Vector3 StartVelocity
Field Value
Type | Description |
---|---|
Vector3 |
StartVelocityRnd
Amount to randomize the start velocity.
Declaration
sistent("StartVelocityRnd")]
public Vector3 StartVelocityRnd
Field Value
Type | Description |
---|---|
Vector3 |
Remarks
The velocity is randomized by ±0.5 * StartVelocityRnd