Scripting API

Scripting API

Particle

Struct in Abyss.Core, from Abyss.Core.

One particle as code reads it, in the world; see Read.

public struct Particle

Fields

Position

public Vector3 Position

Where it is.

Velocity

public Vector3 Velocity

How fast it goes, and which way, in units a second: all that carries it.

Age

public float Age

How long it has lived, in seconds.

Lifetime

public float Lifetime

How long it lives, in seconds.

Size

public Vector3 Size

How big it is along X, Y and Z.

Color

public Vector4 Color

Its color, linear, red, green, blue and alpha.