Click or drag to resize
ParticleDistributor Class
The Particle Distributor is the base class for all Particle Distributors.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      GalaxiaParticleDistributor
        GalaxiaDensityWaveDistributor
        GalaxiaGaussianDistributor
        GalaxiaImageDistributor

Namespace: Galaxia
Assembly: Galaxia (in Galaxia.dll) Version: 0.4.0.0 (0.4.0.0)
Syntax
C#
public abstract class ParticleDistributor : ScriptableObject

The ParticleDistributor type exposes the following members.

Constructors
  NameDescription
Protected methodParticleDistributor
Initializes a new instance of the ParticleDistributor class
Top
Properties
  NameDescription
Public propertyGalaxyPrefab
Top
Methods
  NameDescription
Public methodStatic memberIntegral
Used to calculated the Integral Curve of the given Animation curve. Used by the distribution function for ImageDistributor
Public methodStatic memberInverse
Used to inverse an Animation curve.
Public methodProcess
Used by the Particle Generator to modify/distribute the particles to a desired shape. This is where particles are processed one by one. ParticleDistributorProcessContext
Protected methodProcessProperties
Used to process any additional properties dependent on the position and angle of a particle
Public methodRecreateCurves
Used for recreating any predefined curves.
Public methodUpdateMaterial
Updates all uniform variables in the given material
Top
Fields
  NameDescription
Public fieldStatic memberG
The Gravitational constant
Top
Remarks
As it's name suggests, it is used to control the distribution of generated particles.
See Also