Table of Contents

Struct SuperChunkDimensions

Namespace
Game.Core.Coordinates
Assembly
Game.Core.Coordinates.dll
public readonly struct SuperChunkDimensions
Extension Methods

Constructors

SuperChunkDimensions(int, int)

public SuperChunkDimensions(int x, int y)

Parameters

x int
y int

Fields

x

public readonly int x

Field Value

int

y

public readonly int y

Field Value

int

Methods

Equals(SuperChunkDimensions)

public bool Equals(SuperChunkDimensions other)

Parameters

other SuperChunkDimensions

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToTileDimensions(int)

public TileDimensions ToTileDimensions(int layerDimension = 0)

Parameters

layerDimension int

Returns

TileDimensions

To_W(float)

public float3 To_W(float layerDimension = 0)

Parameters

layerDimension float

Returns

float3

Operators

operator ==(SuperChunkDimensions, SuperChunkDimensions)

public static bool operator ==(SuperChunkDimensions lhs, SuperChunkDimensions rhs)

Parameters

lhs SuperChunkDimensions
rhs SuperChunkDimensions

Returns

bool

explicit operator int2(SuperChunkDimensions)

public static explicit operator int2(SuperChunkDimensions v)

Parameters

v SuperChunkDimensions

Returns

int2

operator !=(SuperChunkDimensions, SuperChunkDimensions)

public static bool operator !=(SuperChunkDimensions lhs, SuperChunkDimensions rhs)

Parameters

lhs SuperChunkDimensions
rhs SuperChunkDimensions

Returns

bool