Table of Contents

Class Vec3d

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

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

[DocumentAsJson]
[ProtoContract]
public class Vec3d
Inheritance
Vec3d

Fields

X (Recommended) (Default: 0)

The X-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(1)]
public double X

Field Value

double

Y (Recommended) (Default: 0)

The Y-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(2)]
public double Y

Field Value

double

Z (Recommended) (Default: 0)

The Z-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(3)]
public double Z

Field Value

double