Class DiamondMeshGridBuilder
Builder for building diamond mesh grid.
[Version(1, 14, 0)]
[AddComponentMenu("Gamelogic/GridBuilders/Mesh Grids/Diamond Grid Builder")]
public class DiamondMeshGridBuilder : MeshGridBuilder<DiamondPoint>, ITileGrid<DiamondPoint>, IGridBuilderBase, IGLScriptableObject
- Inheritance
-
DiamondMeshGridBuilder
- Implements
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.transformComponent.gameObjectComponent.tagObject.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
- Extension Methods
Properties
Grid
public RectGrid<TileCell> Grid { get; }
Property Value
GridShape
public DiamondMeshGridBuilder.Shape GridShape { get; }
Property Value
Map
public IMap3D<DiamondPoint> Map { get; }
Property Value
Methods
CreateMap()
protected override IMap3D<DiamondPoint> CreateMap()
Returns
CreateMeshMap()
protected override IMeshMap<DiamondPoint> CreateMeshMap()
Returns
GetColorFunc(int, int, int)
protected override Func<DiamondPoint, int> GetColorFunc(int x0, int x1, int y1)
Parameters
Returns
InitGrid()
protected override void InitGrid()
See Also
MeshGridBuilder<TPoint>