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
Field Value
- int
Loaded
Field Value
- bool
OverlapVegetationCells
public List<VegetationCell> OverlapVegetationCells
Field Value
- List<VegetationCell>
Prepared
Field Value
- bool
VegetationPackageBillboardInstancesList
public List<VegetationPackageBillboardInstances> VegetationPackageBillboardInstancesList
Field Value
- List<VegetationPackageBillboardInstances>
xIndex
Field Value
- int
yIndex
Field Value
- int
Properties
Rectangle
public Rect Rectangle { get; set; }
Property Value
- Rect
Methods
ClearCache()
ClearCache(int, int)
public void ClearCache(int vegetationPackageIndex, int vegetationItemIndex)
Parameters
vegetationPackageIndex int
vegetationItemIndex int
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>