wiki.sine.space | sinespace

Scripting/SParticle

From wiki.sine.space
Revision as of 08:50, 11 June 2021 by Voidtech (Talk | contribs) (Created page with "=Properties= {{ScriptFunction|SVector|position|{ get;set; }|The position of the particle.|5= <pre></pre>}} {{ScriptFunction|SVector|velocity|{ get;set; }|The velocity of t...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Properties

position

SVector position { get;set; }

The position of the particle.



velocity

SVector velocity { get;set; }

The velocity of the particle.



animatedVelocity

SVector animatedVelocity { get; }

The animated velocity of the particle.



totalVelocity

SVector totalVelocity { get; }

The total velocity of the particle.



remainingLifetime

float remainingLifetime { get;set; }

The remaining lifetime of the particle.



startLifetime

float startLifetime { get;set; }

The starting lifetime of the particle.



startColor

SColor startColor { get;set; }

The initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules.



randomSeed

uint randomSeed { get;set; }

The random seed of the particle.



axisOfRotation

SVector axisOfRotation { get;set; }

Mesh particles rotate around this axis.



startSize

float startSize { get;set; }

The initial size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules.



startSize3D

SVector startSize3D { get;set; }

The initial 3D size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules.



rotation

float rotation { get;set; }

The rotation of the particle.



rotation3D

SVector rotation3D { get;set; }

The 3D rotation of the particle.



angularVelocity

float angularVelocity { get;set; }

The angular velocity of the particle.




angularVelocity3D

SVector angularVelocity3D { get;set; }

The 3D angular velocity of the particle.