Table of Contents

Class BillboardCell

Namespace
AwesomeTechnologies.BillboardSystem
Assembly
Assembly-CSharp.dll
public class BillboardCell : IHasRect
Inheritance
BillboardCell
Implements
Inherited Members
Extension Methods

Constructors

BillboardCell(Rect, float, float)

public BillboardCell(Rect rectangle, float centerY, float sizeY)

Parameters

rectangle Rect
centerY float
sizeY float

Fields

BilllboardCellBounds

public Bounds BilllboardCellBounds

Field Value

Bounds

FlagForRemoval

public bool FlagForRemoval

Field Value

bool

Index

public int Index

Field Value

int

Loaded

public bool Loaded

Field Value

bool

OverlapVegetationCells

public List<VegetationCell> OverlapVegetationCells

Field Value

List<VegetationCell>

Prepared

public bool Prepared

Field Value

bool

VegetationPackageBillboardInstancesList

public List<VegetationPackageBillboardInstances> VegetationPackageBillboardInstancesList

Field Value

List<VegetationPackageBillboardInstances>

xIndex

public int xIndex

Field Value

int

yIndex

public int yIndex

Field Value

int

Properties

Rectangle

public Rect Rectangle { get; set; }

Property Value

Rect

Methods

ClearCache()

public void ClearCache()

ClearCache(int, int)

public void ClearCache(int vegetationPackageIndex, int vegetationItemIndex)

Parameters

vegetationPackageIndex int
vegetationItemIndex int

Dispose()

public void Dispose()

DrawPolarVegetationCellGizmo(BillboardCell, float, Vector3)

public static void DrawPolarVegetationCellGizmo(BillboardCell vegetationCell, float sphereRadius, Vector3 spherePosition)

Parameters

vegetationCell BillboardCell
sphereRadius float
spherePosition Vector3

GetBoundingSphere()

public BoundingSphere GetBoundingSphere()

Returns

BoundingSphere

GetPolarBoundingSphere(float, Vector3)

public BoundingSphere GetPolarBoundingSphere(float radius, Vector3 polarSpherePosition)

Parameters

radius float
polarSpherePosition Vector3

Returns

BoundingSphere

PrepareBillboardCell(List<VegetationPackagePro>)

public void PrepareBillboardCell(List<VegetationPackagePro> vegetationPackageProList)

Parameters

vegetationPackageProList List<VegetationPackagePro>