Table of Contents

Method GetUVs

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

GetUVs(IExplicitShape<int>)

Gets the UVs for the given shape.

public virtual IEnumerable<Vector2> GetUVs(IExplicitShape<int> shape)

Parameters

shape IExplicitShape<int>

The shape for which UVs should be returned.

Returns

IEnumerable<Vector2>

Remarks

implement

Override this method to support 1D grids.

GetUVs(IExplicitShape<GridPoint2>)

Gets the UVs for the given shape.

public virtual IEnumerable<Vector2> GetUVs(IExplicitShape<GridPoint2> shape)

Parameters

shape IExplicitShape<GridPoint2>

The shape for which UVs should be returned.

Returns

IEnumerable<Vector2>

Remarks

implement

Override this method to support 1D grids.

GetUVs(IExplicitShape<GridPoint3>)

Gets the UVs for the given shape.

public virtual IEnumerable<Vector2> GetUVs(IExplicitShape<GridPoint3> shape)

Parameters

shape IExplicitShape<GridPoint3>

The shape for which UVs should be returned.

Returns

IEnumerable<Vector2>

Remarks

implement

Override this method to support 1D grids.