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
AddVelocity
public Vec3f AddVelocity
Field Value
BasePos
public Vec3d BasePos
Field Value
SedimentBlock
public Block SedimentBlock
Field Value
SedimentPos
public BlockPos SedimentPos
Field Value
quantity
public float quantity
Field Value
waterColor
public int waterColor
Field Value
Properties
DieInAir
Whether or not the particle dies in air.
public override bool DieInAir { get; }
Property Value
DieInLiquid
Determines whether or not the particle dies in liquid
public override bool DieInLiquid { get; }
Property Value
GravityEffect
Gets the gravity effect on the particle.
public override float GravityEffect { get; }
Property Value
LifeLength
gets the life length of the particle.
public override float LifeLength { get; }
Property Value
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
Pos
Gets the position of particles.
public override Vec3d Pos { get; }
Property Value
Quantity
Gets the quantity of particles.
public override float Quantity { get; }
Property Value
Size
gets the size of the particle.
public override float Size { get; }
Property Value
SizeEvolve
gets the dynamic size of the particle.
public override EvolvingNatFloat SizeEvolve { get; }
Property Value
SwimOnLiquid
public override bool SwimOnLiquid { get; }
Property Value
VertexFlags
gets the glow level of the particle.
public override int VertexFlags { get; }
Property Value
Methods
GetRgbaColor(ICoreClientAPI)
Gets the color of the particle.
public override int GetRgbaColor(ICoreClientAPI capi)
Parameters
capi
ICoreClientAPI
Returns
GetVelocity(Vec3d)
Gets the velocity of the particles.
public override Vec3f GetVelocity(Vec3d pos)
Parameters
pos
Vec3d