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.parameterized.PVectorI3F<R2SpaceWorldType> position,
float scale,
float rotation)
Enable rendering of an instance with transform
t |
void |
clear()
Clear all instances.
|
int |
maximumSize() |
arrayObject, enabledCount, updateinstanceIDdeleteint maximumSize()
void clear()
int addInstance(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceWorldType> position, float scale, float rotation) throws R2ExceptionBatchIsFull
tposition - The world-space positionscale - The scalerotation - The rotationR2ExceptionBatchIsFull - If the batch cannot accept any more
instancesCopyright © 2017 <code@io7m.com> http://io7m.com