Table of Contents

Class Cuboidf

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

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

[DocumentAsJson]
public class Cuboidf
Inheritance
Cuboidf
Derived

Fields

X1 (Optional) (Default: 0)

Start X Pos

[DocumentAsJson]
public float X1

Field Value

float

X2 (Optional) (Default: 0)

End X Pos

[DocumentAsJson]
public float X2

Field Value

float

Y1 (Optional) (Default: 0)

Start Y Pos

[DocumentAsJson]
public float Y1

Field Value

float

Y2 (Optional) (Default: 0)

End Y Pos

[DocumentAsJson]
public float Y2

Field Value

float

Z1 (Optional) (Default: 0)

Start Z Pos

[DocumentAsJson]
public float Z1

Field Value

float

Z2 (Optional) (Default: 0)

End Z Pos

[DocumentAsJson]
public float Z2

Field Value

float