Table of Contents

Class EnumWindBitModeMask

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Windmode flags, which can be ORed with existing vertex data to add the specified wind mode (assuming it was 0 previously!)

public static class EnumWindBitModeMask
Inheritance
EnumWindBitModeMask
Inherited Members

Fields

Bend

Same as weak wind, but no wiggle. Height bend based on ground distance.

public const int Bend = 134217728

Field Value

int

ExtraWeakWind

Vertical wiggle

public const int ExtraWeakWind = 234881024

Field Value

int

Fruit

public const int Fruit = 268435456

Field Value

int

Leaves

Same as normal wind, but with some special behavior for leaves. Wiggle + Height bend based on ground distance.

public const int Leaves = 100663296

Field Value

int

NormalWind

Normally affected by wind. Wiggle + Height bend based on ground distance.

public const int NormalWind = 67108864

Field Value

int

TallBend

Bend behavior for tall plants

public const int TallBend = 167772160

Field Value

int

Water

Vertical wiggle

public const int Water = 201326592

Field Value

int

WeakWind

Slightly affected by wind. Wiggle + Height bend based on ground distance.

public const int WeakWind = 33554432

Field Value

int

WeakWindNoBend

public const int WeakWindNoBend = 301989888

Field Value

int