Struct Blood.BloodSpawnInfo
A struct that details how blood particles should be spawned
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public struct Blood.BloodSpawnInfo
Constructors
| Edit this page View SourceBloodSpawnInfo(int, int, float, float, float, float, Color?)
Declaration
public BloodSpawnInfo(int minCount, int maxCount, float minSpeed, float maxSpeed, float angleMin, float angleMax, Color? colorOverride = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | minCount | |
| int | maxCount | |
| float | minSpeed | |
| float | maxSpeed | |
| float | angleMin | |
| float | angleMax | |
| Color? | colorOverride |
Fields
| Edit this page View SourceAngleMax
The maximum angle direction of the blood particles
Declaration
public float AngleMax
Field Value
| Type | Description |
|---|---|
| float |
AngleMin
The minimum angle direction of the blood particles
Declaration
public float AngleMin
Field Value
| Type | Description |
|---|---|
| float |
ColorOverride
The color of the blood particles. If left null, will use the default color
Declaration
public Color? ColorOverride
Field Value
| Type | Description |
|---|---|
| Color? |
MaxCount
The max amount of blood particles to spawn
Declaration
public int MaxCount
Field Value
| Type | Description |
|---|---|
| int |
MaxSpeed
The max velocity of the blood particles
Declaration
public float MaxSpeed
Field Value
| Type | Description |
|---|---|
| float |
MinCount
The min amount of blood particles to spawn
Declaration
public int MinCount
Field Value
| Type | Description |
|---|---|
| int |
MinSpeed
The min velocity of the blood particles
Declaration
public float MinSpeed
Field Value
| Type | Description |
|---|---|
| float |