public class CPUParticles : GeometryInstance

Inheritance Chain

Constructors

    public CPUParticles()

Properties

    public int Amount { get; set; }

    public float Angle { get; set; }

    public Curve AngleCurve { get; set; }

    public float AngleRandom { get; set; }

    public float AngularVelocity { get; set; }

    public Curve AngularVelocityCurve { get; set; }

    public float AngularVelocityRandom { get; set; }

    public float AnimOffset { get; set; }

    public Curve AnimOffsetCurve { get; set; }

    public float AnimOffsetRandom { get; set; }

    public float AnimSpeed { get; set; }

    public Curve AnimSpeedCurve { get; set; }

    public float AnimSpeedRandom { get; set; }

    public Color Color { get; set; }

    public Gradient ColorRamp { get; set; }

Each particle’s vertex color will vary along this GradientTexture.

    public float Damping { get; set; }

    public Curve DampingCurve { get; set; }

    public float DampingRandom { get; set; }

    public DrawOrderEnum DrawOrder { get; set; }

    public Vector3 EmissionBoxExtents { get; set; }

    public Color[] EmissionColors { get; set; }

    public Vector3[] EmissionNormals { get; set; }

    public Vector3[] EmissionPoints { get; set; }

    public EmissionShapeEnum EmissionShape { get; set; }

    public float EmissionSphereRadius { get; set; }

    public bool Emitting { get; set; }

    public float Explosiveness { get; set; }

    public int FixedFps { get; set; }

    public bool FlagAlignY { get; set; }

    public bool FlagDisableZ { get; set; }

    public bool FlagRotateY { get; set; }

    public float Flatness { get; set; }

    public bool FractDelta { get; set; }

    public Vector3 Gravity { get; set; }

    public float HueVariation { get; set; }

    public Curve HueVariationCurve { get; set; }

    public float HueVariationRandom { get; set; }

    public float InitialVelocity { get; set; }

    public float InitialVelocityRandom { get; set; }

    public float Lifetime { get; set; }

    public float LinearAccel { get; set; }

    public Curve LinearAccelCurve { get; set; }

    public float LinearAccelRandom { get; set; }

    public bool LocalCoords { get; set; }

    public Mesh Mesh { get; set; }

    public bool OneShot { get; set; }

    public float Preprocess { get; set; }

    public float RadialAccel { get; set; }

    public Curve RadialAccelCurve { get; set; }

    public float RadialAccelRandom { get; set; }

    public float Randomness { get; set; }

    public float ScaleAmount { get; set; }

    public Curve ScaleAmountCurve { get; set; }

    public float ScaleAmountRandom { get; set; }

    public float SpeedScale { get; set; }

    public float Spread { get; set; }

    public float TangentialAccel { get; set; }

    public Curve TangentialAccelCurve { get; set; }

    public float TangentialAccelRandom { get; set; }

Methods

    public void ConvertFromParticles(Node particles)

    public int GetAmount()

Getter for Amount

    public Color GetColor()

Getter for Color

    public Gradient GetColorRamp()

Getter for ColorRamp

    public DrawOrderEnum GetDrawOrder()

Getter for DrawOrder

    public Vector3 GetEmissionBoxExtents()

Getter for EmissionBoxExtents

    public Color[] GetEmissionColors()

Getter for EmissionColors

    public Vector3[] GetEmissionNormals()

Getter for EmissionNormals

    public Vector3[] GetEmissionPoints()

Getter for EmissionPoints

    public EmissionShapeEnum GetEmissionShape()

Getter for EmissionShape

    public float GetEmissionSphereRadius()

Getter for EmissionSphereRadius

    public float GetExplosivenessRatio()

Getter for Explosiveness

    public int GetFixedFps()

Getter for FixedFps

    public float GetFlatness()

Getter for Flatness

    public bool GetFractionalDelta()

Getter for FractDelta

    public Vector3 GetGravity()

Getter for Gravity

    public float GetLifetime()

Getter for DrawOrderEnum.Lifetime

    public Mesh GetMesh()

Getter for Mesh

    public bool GetOneShot()

Getter for OneShot

    public float GetParam(Parameter param)

    public Curve GetParamCurve(Parameter param)

    public float GetParamRandomness(Parameter param)

    public bool GetParticleFlag(Flags flag)

    public float GetPreProcessTime()

Getter for Preprocess

    public float GetRandomnessRatio()

Getter for Randomness

    public float GetSpeedScale()

Getter for SpeedScale

    public float GetSpread()

Getter for Spread

    public bool GetUseLocalCoordinates()

Getter for LocalCoords

    public bool IsEmitting()

Getter for Emitting

    public void Restart()

    public void SetAmount(int amount)

Setter for Amount

    public void SetColor(Color color)

Setter for Color

    public void SetColorRamp(Gradient ramp)

Setter for ColorRamp

    public void SetDrawOrder(DrawOrderEnum order)

Setter for DrawOrder

    public void SetEmissionBoxExtents(Vector3 extents)

Setter for EmissionBoxExtents

    public void SetEmissionColors(Color[] array)

Setter for EmissionColors

    public void SetEmissionNormals(Vector3[] array)

Setter for EmissionNormals

    public void SetEmissionPoints(Vector3[] array)

Setter for EmissionPoints

    public void SetEmissionShape(EmissionShapeEnum shape)

Setter for EmissionShape

    public void SetEmissionSphereRadius(float radius)

Setter for EmissionSphereRadius

    public void SetEmitting(bool emitting)

Setter for Emitting

    public void SetExplosivenessRatio(float ratio)

Setter for Explosiveness

    public void SetFixedFps(int fps)

Setter for FixedFps

    public void SetFlatness(float amount)

Setter for Flatness

    public void SetFractionalDelta(bool enable)

Setter for FractDelta

    public void SetGravity(Vector3 accelVec)

Setter for Gravity

    public void SetLifetime(float secs)

Setter for DrawOrderEnum.Lifetime

    public void SetMesh(Mesh mesh)

Setter for Mesh

    public void SetOneShot(bool enable)

Setter for OneShot

    public void SetParam(Parameter param, float value)

    public void SetParamCurve(Parameter param, Curve curve)

    public void SetParamRandomness(Parameter param, float randomness)

    public void SetParticleFlag(Flags flag, bool enable)

    public void SetPreProcessTime(float secs)

Setter for Preprocess

    public void SetRandomnessRatio(float ratio)

Setter for Randomness

    public void SetSpeedScale(float scale)

Setter for SpeedScale

    public void SetSpread(float degrees)

Setter for Spread

    public void SetUseLocalCoordinates(bool enable)

Setter for LocalCoords

Inner Types

DrawOrderEnum

Name Value Description
Index 0  
Lifetime 1  
ViewDepth 2  

EmissionShapeEnum

Name Value Description
Point 0  
Sphere 1  
Box 2  
Points 3  
DirectedPoints 4  

Flags

Name Value Description
AlignYToVelocity 0  
RotateY 1  
Max 3  

Parameter

Name Value Description
InitialLinearVelocity 0  
AngularVelocity 1  
LinearAccel 2  
RadialAccel 3  
TangentialAccel 4  
Damping 5  
Angle 6  
Scale 7  
HueVariation 8  
AnimSpeed 9  
AnimOffset 10  
Max 11  
Tags: