Click or drag to resize
ParticlesPrefab Class
Holder for all properties on the different particles in a GalaxyPrefab
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      GalaxiaParticlesPrefab

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

The ParticlesPrefab type exposes the following members.

Constructors
  NameDescription
Public methodParticlesPrefab
Initializes a new instance of the ParticlesPrefab class
Top
Properties
  NameDescription
Public propertyactive
Is the prefab active.
Public propertyAlphaDistributor
The Alpha distributor property
Public propertyColor
The color Gradient
Public propertyColorDistributor
The color Distributor property
Public propertyColorOverlay
The Color Overlay
Public propertyCount
The amount of particles the prefab has.
Public propertyDownsample
The amount of down sample for the given particles when using the Advanced Galaxy Renderer
Public propertyGalaxyPrefab
The galaxy Prefab
Public propertyMaterial
The internal prefab material
Public propertyMaxScreenSize
The maximum screen size for every particle in the prefab
Public propertyOriginalPreset
The original Preset of the prefab.
Public propertyPositionDistribution
The position distributor property
Public propertyRotationDistributor
The Rotation Distributor property
Public propertySeed
The seed of the prefab.
Public propertySize
The size of the prefab.
Public propertySizeDistributor
The Size Distributor Property
Public propertyTexture
The texture
Public propertyTextureSheetPow
The particle texture sheet power factor.
Top
Methods
  NameDescription
Public methodDestoryPrefab
Destroys the Particle Prefab.
Public methodGetColor
Gets the color for given parameters.
Public methodGetRotation
Get's a random rotation.
Public methodGetRotation(Vector3, Single, Single, Single, Single)
Gets the rotation of a particle.
Public methodGetSize
Gets the size of a particle.
Public methodSetUp
Used to assign a Galaxy Prefab.
Public methodUpdateMaterial
Updates the Particles Prefab Internal material. With all the uniform variables from it's galaxy prefab.
Public methodUpdateMaterial(Color)
Updates the Particles Prefab Internal material. With all the uniform variables from it's galaxy prefab.
Public methodUpdateMaterial(GalaxyPrefab)
Updates the Particles Prefab Internal material. With all the uniform variables from the given Galaxy Prefab.
Public methodUpdateMaterial(GalaxyPrefab, Color)
Updates the Particles Prefab Internal material. With all the uniform variables from the given Galaxy Prefab.
Public methodUpdateMaterialAnimation
Top
Fields
  NameDescription
Public fieldm_colorDistributor
Top
See Also