Table of Contents

Struct FastVec3f

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

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

[DocumentAsJson]
[JsonObject(MemberSerialization.OptIn)]
public struct FastVec3f

Fields

X (Recommended) (Default: 0)

The X-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[JsonProperty]
public float X

Field Value

float

Y (Recommended) (Default: 0)

The Y-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[JsonProperty]
public float Y

Field Value

float

Z (Recommended) (Default: 0)

The Z-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[JsonProperty]
public float Z

Field Value

float