Show / Hide Table of Contents

Class WrappingSquareGrid

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

Inheritance
object
BaseModifier
WrapModifier
WrappingSquareGrid
Implements
IGrid
Inherited Members
WrapModifier.Rebind(IGrid)
WrapModifier.Canonicalize(Cell)
WrapModifier.GetDual()
WrapModifier.TryMove(Cell, CellDir, out Cell, out CellDir, out Connection)
WrapModifier.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, out Cell, out CellRotation)
WrapModifier.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, out Cell, out CellRotation)
WrapModifier.Raycast(Vector3, Vector3, float)
WrapModifier.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
WrapModifier.TryApplySymmetry(GridSymmetry, Cell, out Cell, out CellRotation)
WrapModifier.Unbounded
BaseModifier.GetCellTypes()
BaseModifier.GetDiagonalGrid()
BaseModifier.GetCompactGrid()
BaseModifier.Recenter(Cell)
BaseModifier.GetCells()
BaseModifier.GetCellType(Cell)
BaseModifier.IsCellInGrid(Cell)
BaseModifier.GetCellDirs(Cell)
BaseModifier.GetCellCorners(Cell)
BaseModifier.FindBasicPath(Cell, Cell)
BaseModifier.GetIndex(Cell)
BaseModifier.GetCellByIndex(int)
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.GetBoundAabb(IBound)
BaseModifier.GetCellCenter(Cell)
BaseModifier.GetCellCorner(Cell, CellCorner)
BaseModifier.GetTRS(Cell)
BaseModifier.GetDeformation(Cell)
BaseModifier.GetPolygon(Cell, out Vector3[], out Matrix4x4)
BaseModifier.GetTriangleMesh(Cell)
BaseModifier.GetMeshData(Cell, out MeshData, out Matrix4x4)
BaseModifier.GetAabb(Cell)
BaseModifier.GetAabb(IEnumerable<Cell>)
BaseModifier.FindCell(Vector3, out Cell)
BaseModifier.FindCell(Matrix4x4, out Cell, out CellRotation)
BaseModifier.GetCellsIntersectsApprox(Vector3, Vector3)
BaseModifier.TryApplySymmetry(GridSymmetry, IBound, out IBound)
BaseModifier.Is2d
BaseModifier.Is3d
BaseModifier.IsPlanar
BaseModifier.IsRepeating
BaseModifier.IsOrientable
BaseModifier.IsFinite
BaseModifier.IsSingleCellType
BaseModifier.CoordinateDimension
BaseModifier.Unwrapped
BaseModifier.Underlying
BaseModifier.IndexCount
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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(float, Vector2Int)

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

Implements

IGrid

Extension Methods

GridExtensions.FindCell(IGrid, Vector3)
GridExtensions.GetCellsIntersectsApprox(IGrid, Aabb)
GridExtensions.GetMeshData(IGrid, Cell)
GridExtensions.GetNeighbours(IGrid, Cell)
GridExtensions.GetPolygon(IGrid, Cell)
GridExtensions.Masked(IGrid, ISet<Cell>)
GridExtensions.Masked(IGrid, Func<Cell, bool>, IEnumerable<Cell>)
GridExtensions.Move(IGrid, Cell, CellDir)
GridExtensions.ToMeshData(IGrid)
GridExtensions.ToMeshData(IGrid, IEnumerable<Cell>)
GridExtensions.Transformed(IGrid, Matrix4x4)
In this article
Back to top Generated by DocFX