Class ShapeDescription
Base class representing the particle emitter.
Inheritance
ShapeDescription
Namespace: Evergine.Framework.Particles.Shape
Assembly: Evergine.Framework.dll
Syntax
public abstract class ShapeDescription
Fields
RandomizeDirection
Gets or sets the directional randomness of the particle's emission velocity.
Declaration
public float RandomizeDirection
Field Value
| Type | Description |
|---|---|
| float |
VelocityOffset
Gets or sets the directional randomness on the particle's emission velocity.
Declaration
public Vector3 VelocityOffset
Field Value
| Type | Description |
|---|---|
| Vector3 |
Properties
ShapeType
Gets the emitter shape type.
Declaration
public abstract EmitterShapes ShapeType { get; }
Property Value
| Type | Description |
|---|---|
| EmitterShapes |
Methods
CreateFromType(EmitterShapes)
Gets a shape emitter from its description.
Declaration
public static ShapeDescription CreateFromType(EmitterShapes shapeType)
Parameters
| Type | Name | Description |
|---|---|---|
| EmitterShapes | shapeType | The type of the shape. |
Returns
| Type | Description |
|---|---|
| ShapeDescription | The shape emitter. |