EmitterShape

Namespace: Murder.Core.Particles
Assembly: Murder.dll

public sealed struct EmitterShape

⭐ Constructors

public EmitterShape()

⭐ Properties

Circle

public readonly Circle Circle;

Returns
Circle

Kind

public readonly EmitterShapeKind Kind;

Returns
EmitterShapeKind

Line

public readonly Line2 Line;

Returns
Line2

Rectangle

public readonly Rectangle Rectangle;

Returns
Rectangle

⭐ Methods

GetRandomPosition(Random)

public Vector2 GetRandomPosition(Random random)

Parameters
random Random

Returns
Vector2