Table of Contents

Class Size3i

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

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

public class Size3i : ISize3
Inheritance
Size3i
Implements
Inherited Members
Extension Methods

Constructors

Size3i()

public Size3i()

Size3i(int, int, int)

public Size3i(int width, int height, int length)

Parameters

width int
height int
length int

Fields

Height

public int Height

Field Value

int

Length

public int Length

Field Value

int

Width

public int Width

Field Value

int

Properties

HeightAsDouble

public double HeightAsDouble { get; }

Property Value

double

HeightAsFloat

public float HeightAsFloat { get; }

Property Value

float

HeightAsInt

public int HeightAsInt { get; }

Property Value

int

LengthAsDouble

public double LengthAsDouble { get; }

Property Value

double

LengthAsFloat

public float LengthAsFloat { get; }

Property Value

float

LengthAsInt

public int LengthAsInt { get; }

Property Value

int

Volume

public int Volume { get; }

Property Value

int

WidthAsDouble

public double WidthAsDouble { get; }

Property Value

double

WidthAsFloat

public float WidthAsFloat { get; }

Property Value

float

WidthAsInt

public int WidthAsInt { get; }

Property Value

int

Methods

CanContain(Size3i)

public bool CanContain(Size3i obj)

Parameters

obj Size3i

Returns

bool

Clone()

public Size3i Clone()

Returns

Size3i