Table of Contents

Class FloatingSedimentParticles

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

Fields

AddPos

public Vec3d AddPos

Field Value

Vec3d

AddVelocity

public Vec3f AddVelocity

Field Value

Vec3f

BasePos

public Vec3d BasePos

Field Value

Vec3d

SedimentBlock

public Block SedimentBlock

Field Value

Block

SedimentPos

public BlockPos SedimentPos

Field Value

BlockPos

quantity

public float quantity

Field Value

float

waterColor

public int waterColor

Field Value

int

Properties

DieInAir

Whether or not the particle dies in air.

public override bool DieInAir { get; }

Property Value

bool

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.

ParticleModel

Gets the model type of the particle.

public override EnumParticleModel ParticleModel { get; }

Property Value

EnumParticleModel

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

VertexFlags

gets the glow level of the particle.

public override int VertexFlags { get; }

Property Value

int

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