Click or drag to resize
ImageDistributor Class
This is the Image Distribution Algorithm. It uses Images to distribute stars based on it's grayscale values. It Generates Inverse Integrals for probability distributon.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      GalaxiaParticleDistributor
        GalaxiaImageDistributor

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

The ImageDistributor type exposes the following members.

Constructors
  NameDescription
Public methodImageDistributor
Initializes a new instance of the ImageDistributor class
Top
Properties
  NameDescription
Public propertyDistributonDownsample
The Distribution Downsample. This controls at what resolution is the Distribution Map sampled.
Public propertyGalaxyPrefab (Inherited from ParticleDistributor.)
Top
Methods
  NameDescription
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
(Overrides ParticleDistributorProcess(ParticleDistributorProcessContext).)
Protected methodProcessProperties
Used to process any additional properties dependent on the position and angle of a particle
(Inherited from ParticleDistributor.)
Public methodRecreateCurves
Used to bake the integral curves used for image distribution.
(Overrides ParticleDistributorRecreateCurves.)
Public methodSetColorMap
Sets the Color Map. This map controls the color of the particles.
Public methodSetDistributionMap
Sets the Distribution map. This map controls the distribution of the particles.
Public methodSetHeightMap
Sets the Height Map. This map controls the height of the particles.
Public methodUpdateMaterial (Overrides ParticleDistributorUpdateMaterial(Material).)
Top
Fields
See Also