Table of Contents

Class PTargetGridJob

Namespace
Global
Assembly
Assembly-CSharp.dll
public class PTargetGridJob : CynicatSimpleJob
Inheritance
PTargetGridJob
Inherited Members

Constructors

PTargetGridJob()

public PTargetGridJob()

PTargetGridJob(int, int, float, float)

public PTargetGridJob(int gridSizeX, int gridSizeY, float targetSizeX, float targetSizeY)

Parameters

gridSizeX int
gridSizeY int
targetSizeX float
targetSizeY float

Fields

attachedLabels

public List<int> attachedLabels

Field Value

List<int>

cellSizeX

public float cellSizeX

Field Value

float

cellSizeY

public float cellSizeY

Field Value

float

differenceRemapping

public int[] differenceRemapping

Field Value

int[]

grid

public bool[,] grid

Field Value

bool[,]

gridSizeX

public int gridSizeX

Field Value

int

gridSizeY

public int gridSizeY

Field Value

int

labelGrid

public int[,] labelGrid

Field Value

int[,]

labelRects

public Rect[] labelRects

Field Value

Rect[]

lastLabelGrid

public int[,] lastLabelGrid

Field Value

int[,]

maxLabels

public int maxLabels

Field Value

int

meshBuilderMap

public MeshBuilder[] meshBuilderMap

Field Value

MeshBuilder[]

meshBuilders

public List<MeshBuilder> meshBuilders

Field Value

List<MeshBuilder>

newLabelsBackBuffer

public List<int> newLabelsBackBuffer

Field Value

List<int>

newLabelsFrontBuffer

public List<int> newLabelsFrontBuffer

Field Value

List<int>

targetSizeX

public float targetSizeX

Field Value

float

targetSizeY

public float targetSizeY

Field Value

float

tearDecalEnd

public List<Vector3> tearDecalEnd

Field Value

List<Vector3>

tearDecalStart

public List<Vector3> tearDecalStart

Field Value

List<Vector3>

Methods

ClearData()

public override void ClearData()

OnExecute()

protected override void OnExecute()

OnSchedule()

protected override void OnSchedule()

OnStart()

protected override void OnStart()

Resize<T>(ref T[,,], int, int, int)

public void Resize<T>(ref T[,,] array, int width, int height, int depth)

Parameters

array T[,,]
width int
height int
depth int

Type Parameters

T

Resize<T>(ref T[,], int, int)

public void Resize<T>(ref T[,] array, int width, int height)

Parameters

array T[,]
width int
height int

Type Parameters

T

Resize<T>(ref T[], int)

public void Resize<T>(ref T[] array, int length)

Parameters

array T[]
length int

Type Parameters

T

SetGridData(int, int, float, float)

public void SetGridData(int gridSizeX, int gridSizeY, float targetSizeX, float targetSizeY)

Parameters

gridSizeX int
gridSizeY int
targetSizeX float
targetSizeY float