|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.geom.particle.TexCoordInterpolator
public class TexCoordInterpolator
Heavily customised interpolator for determining texture coordinates to apply to a given particle.
Public definition to allow renderer-specific particle system implementations to request the interpolation, but not allowed to be created or set up outside of this package.
Field Summary | |
---|---|
protected int |
currentSize
Current total number of items in the array |
protected float[] |
keys
The keys as a single array for fast searching |
Method Summary | |
---|---|
void |
interpolate(float key,
int offset,
float[] outputCoords)
Go find the appropriate set of texture coordinates now. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int currentSize
protected float[] keys
Method Detail |
---|
public void interpolate(float key, int offset, float[] outputCoords)
key
- The key value to get the position foroutputCoords
- An array of the values at that position [x, y, z]
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |