Component Editor
(NOTE) A component used for drawing a grid.
| Methods | Properties | Base Classes | Derived Classes |
|---|---|---|---|
| Constructor | Active | component | |
| AlwaysDrawInEditor | |||
| Axis | |||
| CellSize | |||
| DrawAxisOrigins | |||
| DrawInGame | |||
| FollowEditorCamera | |||
| GridColor | |||
| GridHighlight | |||
| HalfCellOffset | |||
| HighlightInterval | |||
| Lines |
Properties
Active : boolean
var Active : Boolean
AlwaysDrawInEditor : boolean
Always draw the grid in editor (not just when it's selected)
var AlwaysDrawInEditor : Boolean
Axis : AxisDirection
var Axis : AxisDirection
CellSize : real
The deltas in the grid (how far apart we draw grid lines)
var CellSize : Real
DrawAxisOrigins : boolean
Changes the line color to.
var DrawAxisOrigins : Boolean
DrawInGame : boolean
Draw the grid in the game.
var DrawInGame : Boolean
FollowEditorCamera : boolean
Move with the editor camera?
var FollowEditorCamera : Boolean
GridColor : real4
Color of grid lines.
var GridColor : Real4
GridHighlight : real4
var GridHighlight : Real4
HalfCellOffset : boolean
Is the grid offset by half a unit?
var HalfCellOffset : Boolean
HighlightInterval : integer
How often should cells be activated.
var HighlightInterval : Integer
Lines : integer
The number of lines to draw.
var Lines : Integer
Methods
GridDraw : Void
constructor
Name Type Description function GridDraw()