Table of Contents

Class GridManager

Namespace
PAC.Drawing

Handles drawing a grid over the image when the grid is enabled.

public class GridManager : MonoBehaviour
Inheritance
GridManager
Extension Methods

Fields

lineThickness

public float lineThickness

Field Value

float

Properties

height

public int height { get; }

Property Value

int

on

public bool on { get; }

Property Value

bool

width

public int width { get; }

Property Value

int

xOffset

public int xOffset { get; }

Property Value

int

yOffset

public int yOffset { get; }

Property Value

int

Methods

SetGrid(int, int, int, int)

public void SetGrid(int width, int height, int xOffset, int yOffset)

Parameters

width int
height int
xOffset int
yOffset int

SetOnOff(bool)

public void SetOnOff(bool on)

Parameters

on bool

SetOnOffNoDisplayUpdate(bool)

public void SetOnOffNoDisplayUpdate(bool on)

Parameters

on bool