public interface R2InstanceBillboardedDynamicType extends R2InstanceBillboardedType, R2DeletableType
The type of billboarded instances that are expected to change often, both in the number of instances, and the values of individual instances.
Modifier and Type | Method and Description |
---|---|
int |
addInstance(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceWorldType> position,
double scale,
double rotation)
Enable rendering of an instance with transform
t |
void |
clear()
Clear all instances.
|
int |
maximumSize() |
arrayObject, enabledCount, update, updateRequired
instanceID
delete, wrap
int maximumSize()
void clear()
int addInstance(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceWorldType> position, double scale, double rotation) throws R2ExceptionBatchIsFull
t
position
- The world-space positionscale
- The scalerotation
- The rotationR2ExceptionBatchIsFull
- If the batch cannot accept any more
instancesCopyright © 2017 <code@io7m.com> http://io7m.com