|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DHeightfield.DHeightfieldGetHeight
Callback prototype.
Used by the callback heightfield data type to sample a height for a given cell position.
Method Summary | |
---|---|
double |
call(java.lang.Object pUserData,
int x,
int z)
Callback prototype. |
Method Detail |
---|
double call(java.lang.Object pUserData, int x, int z)
Used by the callback heightfield data type to sample a height for a given cell position.
pUserData
- User data specified when creating the dHeightfieldDatax
- The index of a sample in the local x axis. It is a value
in the range zero to ( nWidthSamples - 1 ).z
- The index of a sample in the local z axis. It is a value
in the range zero to ( nDepthSamples - 1 ).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |