Class ShapeDescription
Base class that represents the base particle emitter.
Inheritance
ShapeDescription
Inherited Members
Namespace: Evergine.Framework.Particles.Shape
Assembly: Evergine.Framework.dll
Syntax
public abstract class ShapeDescription
Fields
RandomizeDirection
Gets or sets the directional random on the particle's emission velocity.
Declaration
public float RandomizeDirection
Field Value
| Type | Description |
|---|---|
| float |
VelocityOffset
Gets or sets the directional random 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 shape type. |
Returns
| Type | Description |
|---|---|
| ShapeDescription | The shape emitter. |