Table of Contents

Class WaterSplashParticles

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class WaterSplashParticles : ParticlesProviderBase, IParticlePropertiesProvider
Inheritance
WaterSplashParticles
Implements
Inherited Members

Fields

AddPos

public Vec3d AddPos

Field Value

Vec3d

AddVelocity

public Vec3f AddVelocity

Field Value

Vec3f

BasePos

public Vec3d BasePos

Field Value

Vec3d

QuantityMul

public float QuantityMul

Field Value

float

Properties

DieInLiquid

Determines whether or not the particle dies in liquid

public override bool DieInLiquid { get; }

Property Value

bool

GravityEffect

Gets the gravity effect on the particle.

public override float GravityEffect { get; }

Property Value

float

LifeLength

gets the life length of the particle.

public override float LifeLength { get; }

Property Value

float

OpacityEvolve

Gets the evolving opacity value of the particle.

public override EvolvingNatFloat OpacityEvolve { get; }

Property Value

EvolvingNatFloat

An evolving value based on opacity.

Pos

Gets the position of particles.

public override Vec3d Pos { get; }

Property Value

Vec3d

Quantity

Gets the quantity of particles.

public override float Quantity { get; }

Property Value

float

Size

gets the size of the particle.

public override float Size { get; }

Property Value

float

SizeEvolve

gets the dynamic size of the particle.

public override EvolvingNatFloat SizeEvolve { get; }

Property Value

EvolvingNatFloat

SwimOnLiquid

public override bool SwimOnLiquid { get; }

Property Value

bool

Methods

GetRgbaColor(ICoreClientAPI)

Gets the color of the particle.

public override int GetRgbaColor(ICoreClientAPI capi)

Parameters

capi ICoreClientAPI

Returns

int

GetVelocity(Vec3d)

Gets the velocity of the particles.

public override Vec3f GetVelocity(Vec3d pos)

Parameters

pos Vec3d

Returns

Vec3f