org.jouvieje.fmodex
Class Geometry
java.lang.Object
org.jouvieje.fmodex.utils.Pointer
org.jouvieje.fmodex.Geometry
- public class Geometry
- extends Pointer
'Geometry' API
Method Summary |
FMOD_RESULT |
addPolygon(float directocclusion,
float reverbocclusion,
boolean doublesided,
int numvertices,
FMOD_VECTOR[] vertices,
java.nio.IntBuffer polygonindex)
|
static Geometry |
asGeometry(Pointer pointer)
Create a view of the Pointer object as a Geometry object. |
FMOD_RESULT |
getActive(java.nio.ByteBuffer active)
|
FMOD_RESULT |
getMaxPolygons(java.nio.IntBuffer maxpolygons,
java.nio.IntBuffer maxvertices)
|
FMOD_RESULT |
getMemoryInfo(int memorybits,
int event_memorybits,
java.nio.IntBuffer memoryused,
FMOD_MEMORY_USAGE_DETAILS memoryused_details)
|
FMOD_RESULT |
getNumPolygons(java.nio.IntBuffer numpolygons)
|
FMOD_RESULT |
getPolygonAttributes(int index,
java.nio.FloatBuffer directocclusion,
java.nio.FloatBuffer reverbocclusion,
java.nio.ByteBuffer doublesided)
|
FMOD_RESULT |
getPolygonNumVertices(int index,
java.nio.IntBuffer numvertices)
|
FMOD_RESULT |
getPolygonVertex(int index,
int vertexindex,
FMOD_VECTOR vertex)
|
FMOD_RESULT |
getPosition(FMOD_VECTOR position)
|
FMOD_RESULT |
getRotation(FMOD_VECTOR forward,
FMOD_VECTOR up)
|
FMOD_RESULT |
getScale(FMOD_VECTOR scale)
|
FMOD_RESULT |
getUserData(Pointer userdata)
|
FMOD_RESULT |
release()
|
FMOD_RESULT |
save(java.nio.ByteBuffer data,
java.nio.IntBuffer datasize)
|
FMOD_RESULT |
setActive(boolean active)
|
FMOD_RESULT |
setPolygonAttributes(int index,
float directocclusion,
float reverbocclusion,
boolean doublesided)
|
FMOD_RESULT |
setPolygonVertex(int index,
int vertexindex,
FMOD_VECTOR vertex)
|
FMOD_RESULT |
setPosition(FMOD_VECTOR position)
|
FMOD_RESULT |
setRotation(FMOD_VECTOR forward,
FMOD_VECTOR up)
|
FMOD_RESULT |
setScale(FMOD_VECTOR scale)
|
FMOD_RESULT |
setUserData(Pointer userdata)
|
Methods inherited from class org.jouvieje.fmodex.utils.Pointer |
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Geometry
public Geometry()
asGeometry
public static Geometry asGeometry(Pointer pointer)
- Create a view of the
Pointer
object as a Geometry
object.
This view is valid only if the memory holded by the Pointer
holds a Geometry object.
release
public FMOD_RESULT release()
addPolygon
public FMOD_RESULT addPolygon(float directocclusion,
float reverbocclusion,
boolean doublesided,
int numvertices,
FMOD_VECTOR[] vertices,
java.nio.IntBuffer polygonindex)
getNumPolygons
public FMOD_RESULT getNumPolygons(java.nio.IntBuffer numpolygons)
getMaxPolygons
public FMOD_RESULT getMaxPolygons(java.nio.IntBuffer maxpolygons,
java.nio.IntBuffer maxvertices)
getPolygonNumVertices
public FMOD_RESULT getPolygonNumVertices(int index,
java.nio.IntBuffer numvertices)
setPolygonVertex
public FMOD_RESULT setPolygonVertex(int index,
int vertexindex,
FMOD_VECTOR vertex)
getPolygonVertex
public FMOD_RESULT getPolygonVertex(int index,
int vertexindex,
FMOD_VECTOR vertex)
setPolygonAttributes
public FMOD_RESULT setPolygonAttributes(int index,
float directocclusion,
float reverbocclusion,
boolean doublesided)
getPolygonAttributes
public FMOD_RESULT getPolygonAttributes(int index,
java.nio.FloatBuffer directocclusion,
java.nio.FloatBuffer reverbocclusion,
java.nio.ByteBuffer doublesided)
setActive
public FMOD_RESULT setActive(boolean active)
getActive
public FMOD_RESULT getActive(java.nio.ByteBuffer active)
setRotation
public FMOD_RESULT setRotation(FMOD_VECTOR forward,
FMOD_VECTOR up)
getRotation
public FMOD_RESULT getRotation(FMOD_VECTOR forward,
FMOD_VECTOR up)
setPosition
public FMOD_RESULT setPosition(FMOD_VECTOR position)
getPosition
public FMOD_RESULT getPosition(FMOD_VECTOR position)
setScale
public FMOD_RESULT setScale(FMOD_VECTOR scale)
getScale
public FMOD_RESULT getScale(FMOD_VECTOR scale)
save
public FMOD_RESULT save(java.nio.ByteBuffer data,
java.nio.IntBuffer datasize)
setUserData
public FMOD_RESULT setUserData(Pointer userdata)
getUserData
public FMOD_RESULT getUserData(Pointer userdata)
getMemoryInfo
public FMOD_RESULT getMemoryInfo(int memorybits,
int event_memorybits,
java.nio.IntBuffer memoryused,
FMOD_MEMORY_USAGE_DETAILS memoryused_details)
NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/
(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)