A batch of planted geometry instances.
struct
|
PlantingBatch
|
implements
|
IComparable<PlantingBatch>
|
||
IEquatable<PlantingBatch>
|
PlantingBatch values have this sort order:
See also:
PlantingThe geometry ID of this batch.
public
readonly
field
|
GeometryId
|
||
type
|
int32
|
See also:
PlantingOptions.GeometryIdReturns the index of this batch in the containing geometry chunk.
public
property
|
Index
{
get
}
|
||
type
|
int32
|
||
value
|
|
The zero-based batch index. |
Outputs the bounds of this planting batch to the given box soup.
public
method
|
Bounds
(Planting planting,
BoxSoup bounds)
|
||
params
|
planting
|
[not-null]
|
The Planting object that has created this batch. |
bounds
|
[not-null]
|
The output box soup. |
public
method
|
Chunk
(Planting planting)
|
||
type
|
PlantingChunk
|
||
params
|
planting
|
public
method
|
CompareTo
(PlantingBatch other)
|
||
type
|
int32
|
||
params
|
other
|
public
method
|
Equals
(PlantingBatch other)
|
||
type
|
bool
|
||
params
|
other
|
Returns the instance data range of this batch in the given instance cache.
public
method
|
Range
(VertexBufferCache cache)
|
||
type
|
RangeI
|
||
params
|
cache
|
The instance cache (see InstanceCache). | |
returns
|
The instance range of this batch. Will be empty (see IsEmpty) if the batch is not present in the given cache. |