Class GridBrush
Assembly: UnityEditor.dll
Syntax
public class GridBrush : GridBrushBase
Constructors
|
Improve this Doc
View Source
GridBrush()
Declaration
Properties
|
Improve this Doc
View Source
cellCount
Declaration
public int cellCount { get; }
Property Value
|
Improve this Doc
View Source
cells
Declaration
public GridBrush.BrushCell[] cells { get; }
Property Value
|
Improve this Doc
View Source
pivot
Declaration
public Vector3Int pivot { get; set; }
Property Value
|
Improve this Doc
View Source
size
Declaration
public Vector3Int size { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BoxErase(GridLayout, GameObject, BoundsInt)
Declaration
public override void BoxErase(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
Parameters
Overrides
|
Improve this Doc
View Source
BoxFill(GridLayout, GameObject, BoundsInt)
Declaration
public override void BoxFill(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
Parameters
Overrides
|
Improve this Doc
View Source
Erase(GridLayout, GameObject, Vector3Int)
Declaration
public override void Erase(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
Overrides
|
Improve this Doc
View Source
Flip(GridBrushBase.FlipAxis, GridLayout.CellLayout)
Declaration
public override void Flip(GridBrushBase.FlipAxis flip, GridLayout.CellLayout layout)
Parameters
Overrides
|
Improve this Doc
View Source
FloodFill(GridLayout, GameObject, Vector3Int)
Declaration
public override void FloodFill(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
Overrides
|
Improve this Doc
View Source
GetCellIndex(Int32, Int32, Int32)
Declaration
public int GetCellIndex(int x, int y, int z)
Parameters
Returns
|
Improve this Doc
View Source
GetCellIndex(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public int GetCellIndex(int x, int y, int z, int sizex, int sizey, int sizez)
Parameters
Returns
|
Improve this Doc
View Source
GetCellIndex(Vector3Int)
Declaration
public int GetCellIndex(Vector3Int brushPosition)
Parameters
Returns
|
Improve this Doc
View Source
GetCellIndexWrapAround(Int32, Int32, Int32)
Declaration
public int GetCellIndexWrapAround(int x, int y, int z)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Init(Vector3Int)
Declaration
public void Init(Vector3Int size)
Parameters
|
Improve this Doc
View Source
Init(Vector3Int, Vector3Int)
Declaration
public void Init(Vector3Int size, Vector3Int pivot)
Parameters
|
Improve this Doc
View Source
MoveEnd(GridLayout, GameObject, BoundsInt)
Declaration
public override void MoveEnd(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
Parameters
Overrides
|
Improve this Doc
View Source
MoveStart(GridLayout, GameObject, BoundsInt)
Declaration
public override void MoveStart(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
Parameters
Overrides
|
Improve this Doc
View Source
Paint(GridLayout, GameObject, Vector3Int)
Declaration
public override void Paint(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
Overrides
|
Improve this Doc
View Source
Pick(GridLayout, GameObject, BoundsInt, Vector3Int)
Declaration
public override void Pick(GridLayout gridLayout, GameObject brushTarget, BoundsInt position, Vector3Int pickStart)
Parameters
Overrides
|
Improve this Doc
View Source
Reset()
Declaration
|
Improve this Doc
View Source
Rotate(GridBrushBase.RotationDirection, GridLayout.CellLayout)
Declaration
public override void Rotate(GridBrushBase.RotationDirection direction, GridLayout.CellLayout layout)
Parameters
Overrides
|
Improve this Doc
View Source
SetColor(Vector3Int, Color)
Declaration
public void SetColor(Vector3Int position, Color color)
Parameters
|
Improve this Doc
View Source
SetMatrix(Vector3Int, Matrix4x4)
Declaration
public void SetMatrix(Vector3Int position, Matrix4x4 matrix)
Parameters
|
Improve this Doc
View Source
SetTile(Vector3Int, TileBase)
Declaration
public void SetTile(Vector3Int position, TileBase tile)
Parameters
|
Improve this Doc
View Source
UpdateSizeAndPivot(Vector3Int, Vector3Int)
Declaration
public void UpdateSizeAndPivot(Vector3Int size, Vector3Int pivot)
Parameters
Extension Methods