Show / Hide Table of Contents

Class WrappingSquareGrid

WrapModifier applied to SquareGrid. This is a very common grid in games.

Inheritance
System.Object
BaseModifier
WrapModifier
WrappingSquareGrid
Implements
IGrid
Inherited Members
WrapModifier.Rebind(IGrid)
WrapModifier.Canonicalize(Cell)
WrapModifier.TryMove(Cell, CellDir, Cell, CellDir, Connection)
WrapModifier.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, Cell, CellRotation)
WrapModifier.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, Cell, CellRotation)
WrapModifier.Raycast(Vector3, Vector3, Single)
WrapModifier.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
WrapModifier.TryApplySymmetry(GridSymmetry, Cell, Cell, CellRotation)
WrapModifier.Unbounded
BaseModifier.GetCellTypes()
BaseModifier.GetDual()
BaseModifier.GetCells()
BaseModifier.GetCellType(Cell)
BaseModifier.IsCellInGrid(Cell)
BaseModifier.GetCellDirs(Cell)
BaseModifier.GetCellCorners(Cell)
BaseModifier.FindBasicPath(Cell, Cell)
BaseModifier.GetIndex(Cell)
BaseModifier.GetCellByIndex(Int32)
BaseModifier.GetBound()
BaseModifier.GetBound(IEnumerable<Cell>)
BaseModifier.BoundBy(IBound)
BaseModifier.IntersectBounds(IBound, IBound)
BaseModifier.UnionBounds(IBound, IBound)
BaseModifier.GetCellsInBounds(IBound)
BaseModifier.IsCellInBound(Cell, IBound)
BaseModifier.GetCellCenter(Cell)
BaseModifier.GetCellCorner(Cell, CellCorner)
BaseModifier.GetTRS(Cell)
BaseModifier.GetDeformation(Cell)
BaseModifier.GetPolygon(Cell, Vector3[], Matrix4x4)
BaseModifier.GetTriangleMesh(Cell)
BaseModifier.GetMeshData(Cell, MeshData, Matrix4x4)
BaseModifier.FindCell(Vector3, Cell)
BaseModifier.FindCell(Matrix4x4, Cell, CellRotation)
BaseModifier.GetCellsIntersectsApprox(Vector3, Vector3)
BaseModifier.TryApplySymmetry(GridSymmetry, IBound, IBound)
BaseModifier.Is2d
BaseModifier.Is3d
BaseModifier.IsPlanar
BaseModifier.IsRepeating
BaseModifier.IsOrientable
BaseModifier.IsFinite
BaseModifier.IsSingleCellType
BaseModifier.CoordinateDimension
BaseModifier.Unwrapped
BaseModifier.Underlying
BaseModifier.IndexCount
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class WrappingSquareGrid : WrapModifier, IGrid

Constructors

WrappingSquareGrid(Vector2, Vector2Int)

Declaration
public WrappingSquareGrid(Vector2 cellSize, Vector2Int size)
Parameters
Type Name Description
Vector2 cellSize
Vector2Int size

WrappingSquareGrid(Single, Vector2Int)

Declaration
public WrappingSquareGrid(float cellSize, Vector2Int size)
Parameters
Type Name Description
System.Single cellSize
Vector2Int size

Implements

IGrid
In This Article
Back to top Generated by DocFX