Table of Contents

Namespace Vintagestory.API.MathTools

Classes

Cuboidf

Represents a three dimensional axis-aligned cuboid using two 3D coordinates. Used for collision and selection boxes.

EvolvingNatFloat

A number generator whose return value changes over time, parametrized by a transform function and some constants

NatFloat

A more natural random number generator (nature usually doesn't grow by the exact same numbers nor does it completely randomly)

Size3f

Represents a vector of 3 floats. Go bug Tyron of you need more utility methods in this class.

Vec2f

Represents a vector of 2 floats. Go bug Tyron of you need more utility methods in this class.

Enums

EnumColorBlendMode

Specifies types of per-pixel color blending.

EnumCombination

Used to define how variant types interact with each other to create unique objects.

EnumDistribution

The distribution of the random numbers

EnumTransformFunction

Used for EvolvingNatFloat value transforms