Show / Hide Table of Contents

Class XZHexPrismGrid

Variant of HexPrismGrid that places hexes in the XZ Plane

Inheritance
object
BaseModifier
TransformModifier
XZModifier
XZHexPrismGrid
Implements
IGrid
Inherited Members
XZModifier.GetTRS(Cell)
XZModifier.GetCellTypes()
XZModifier.GetCellType(Cell)
XZModifier.Rebind(IGrid)
XZModifier.FindCell(Matrix4x4, out Cell, out CellRotation)
XZModifier.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, out Cell, out CellRotation)
TransformModifier.GetDual()
TransformModifier.Recenter(Cell)
TransformModifier.GetBoundAabb(IBound)
TransformModifier.GetCellCenter(Cell)
TransformModifier.GetCellCorner(Cell, CellCorner)
TransformModifier.GetDeformation(Cell)
TransformModifier.GetPolygon(Cell, out Vector3[], out Matrix4x4)
TransformModifier.GetTriangleMesh(Cell)
TransformModifier.GetMeshData(Cell, out MeshData, out Matrix4x4)
TransformModifier.GetAabb(Cell)
TransformModifier.GetAabb(IEnumerable<Cell>)
TransformModifier.FindCell(Vector3, out Cell)
TransformModifier.GetCellsIntersectsApprox(Vector3, Vector3)
TransformModifier.Raycast(Vector3, Vector3, float)
TransformModifier.Transform
BaseModifier.GetDiagonalGrid()
BaseModifier.GetCompactGrid()
BaseModifier.GetCells()
BaseModifier.IsCellInGrid(Cell)
BaseModifier.TryMove(Cell, CellDir, out Cell, out CellDir, out Connection)
BaseModifier.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, out Cell, out CellRotation)
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.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
BaseModifier.TryApplySymmetry(GridSymmetry, IBound, out IBound)
BaseModifier.TryApplySymmetry(GridSymmetry, Cell, out Cell, out CellRotation)
BaseModifier.Is2d
BaseModifier.Is3d
BaseModifier.IsPlanar
BaseModifier.IsRepeating
BaseModifier.IsOrientable
BaseModifier.IsFinite
BaseModifier.IsSingleCellType
BaseModifier.CoordinateDimension
BaseModifier.Unbounded
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 XZHexPrismGrid : XZModifier, IGrid

Constructors

XZHexPrismGrid(Vector3, HexOrientation, HexPrismBound)

Declaration
public XZHexPrismGrid(Vector3 cellSize, HexOrientation orientation = HexOrientation.PointyTopped, HexPrismBound bound = null)
Parameters
Type Name Description
Vector3 cellSize
HexOrientation orientation
HexPrismBound bound

XZHexPrismGrid(float, float, HexOrientation, HexPrismBound)

Declaration
public XZHexPrismGrid(float cellSize, float layerHeight, HexOrientation orientation = HexOrientation.PointyTopped, HexPrismBound bound = null)
Parameters
Type Name Description
float cellSize
float layerHeight
HexOrientation orientation
HexPrismBound bound

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