Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FMOD.Geometry Struct Reference

Public Member Functions

RESULT release ()
 
RESULT addPolygon (float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR[] vertices, out int polygonindex)
 
RESULT getNumPolygons (out int numpolygons)
 
RESULT getMaxPolygons (out int maxpolygons, out int maxvertices)
 
RESULT getPolygonNumVertices (int index, out int numvertices)
 
RESULT setPolygonVertex (int index, int vertexindex, ref VECTOR vertex)
 
RESULT getPolygonVertex (int index, int vertexindex, out VECTOR vertex)
 
RESULT setPolygonAttributes (int index, float directocclusion, float reverbocclusion, bool doublesided)
 
RESULT getPolygonAttributes (int index, out float directocclusion, out float reverbocclusion, out bool doublesided)
 
RESULT setActive (bool active)
 
RESULT getActive (out bool active)
 
RESULT setRotation (ref VECTOR forward, ref VECTOR up)
 
RESULT getRotation (out VECTOR forward, out VECTOR up)
 
RESULT setPosition (ref VECTOR position)
 
RESULT getPosition (out VECTOR position)
 
RESULT setScale (ref VECTOR scale)
 
RESULT getScale (out VECTOR scale)
 
RESULT save (IntPtr data, out int datasize)
 
RESULT setUserData (IntPtr userdata)
 
RESULT getUserData (out IntPtr userdata)
 
 Geometry (IntPtr ptr)
 
bool hasHandle ()
 
void clearHandle ()
 

Public Attributes

IntPtr handle
 

Private Member Functions

static RESULT FMOD5_Geometry_Release (IntPtr geometry)
 
static RESULT FMOD5_Geometry_AddPolygon (IntPtr geometry, float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR[] vertices, out int polygonindex)
 
static RESULT FMOD5_Geometry_GetNumPolygons (IntPtr geometry, out int numpolygons)
 
static RESULT FMOD5_Geometry_GetMaxPolygons (IntPtr geometry, out int maxpolygons, out int maxvertices)
 
static RESULT FMOD5_Geometry_GetPolygonNumVertices (IntPtr geometry, int index, out int numvertices)
 
static RESULT FMOD5_Geometry_SetPolygonVertex (IntPtr geometry, int index, int vertexindex, ref VECTOR vertex)
 
static RESULT FMOD5_Geometry_GetPolygonVertex (IntPtr geometry, int index, int vertexindex, out VECTOR vertex)
 
static RESULT FMOD5_Geometry_SetPolygonAttributes (IntPtr geometry, int index, float directocclusion, float reverbocclusion, bool doublesided)
 
static RESULT FMOD5_Geometry_GetPolygonAttributes (IntPtr geometry, int index, out float directocclusion, out float reverbocclusion, out bool doublesided)
 
static RESULT FMOD5_Geometry_SetActive (IntPtr geometry, bool active)
 
static RESULT FMOD5_Geometry_GetActive (IntPtr geometry, out bool active)
 
static RESULT FMOD5_Geometry_SetRotation (IntPtr geometry, ref VECTOR forward, ref VECTOR up)
 
static RESULT FMOD5_Geometry_GetRotation (IntPtr geometry, out VECTOR forward, out VECTOR up)
 
static RESULT FMOD5_Geometry_SetPosition (IntPtr geometry, ref VECTOR position)
 
static RESULT FMOD5_Geometry_GetPosition (IntPtr geometry, out VECTOR position)
 
static RESULT FMOD5_Geometry_SetScale (IntPtr geometry, ref VECTOR scale)
 
static RESULT FMOD5_Geometry_GetScale (IntPtr geometry, out VECTOR scale)
 
static RESULT FMOD5_Geometry_Save (IntPtr geometry, IntPtr data, out int datasize)
 
static RESULT FMOD5_Geometry_SetUserData (IntPtr geometry, IntPtr userdata)
 
static RESULT FMOD5_Geometry_GetUserData (IntPtr geometry, out IntPtr userdata)
 

Constructor & Destructor Documentation

◆ Geometry()

FMOD.Geometry.Geometry ( IntPtr ptr)

Member Function Documentation

◆ addPolygon()

RESULT FMOD.Geometry.addPolygon ( float directocclusion,
float reverbocclusion,
bool doublesided,
int numvertices,
VECTOR[] vertices,
out int polygonindex )

◆ clearHandle()

void FMOD.Geometry.clearHandle ( )

◆ FMOD5_Geometry_AddPolygon()

static RESULT FMOD.Geometry.FMOD5_Geometry_AddPolygon ( IntPtr geometry,
float directocclusion,
float reverbocclusion,
bool doublesided,
int numvertices,
VECTOR[] vertices,
out int polygonindex )
private

◆ FMOD5_Geometry_GetActive()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetActive ( IntPtr geometry,
out bool active )
private

◆ FMOD5_Geometry_GetMaxPolygons()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetMaxPolygons ( IntPtr geometry,
out int maxpolygons,
out int maxvertices )
private

◆ FMOD5_Geometry_GetNumPolygons()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetNumPolygons ( IntPtr geometry,
out int numpolygons )
private

◆ FMOD5_Geometry_GetPolygonAttributes()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetPolygonAttributes ( IntPtr geometry,
int index,
out float directocclusion,
out float reverbocclusion,
out bool doublesided )
private

◆ FMOD5_Geometry_GetPolygonNumVertices()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetPolygonNumVertices ( IntPtr geometry,
int index,
out int numvertices )
private

◆ FMOD5_Geometry_GetPolygonVertex()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetPolygonVertex ( IntPtr geometry,
int index,
int vertexindex,
out VECTOR vertex )
private

◆ FMOD5_Geometry_GetPosition()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetPosition ( IntPtr geometry,
out VECTOR position )
private

◆ FMOD5_Geometry_GetRotation()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetRotation ( IntPtr geometry,
out VECTOR forward,
out VECTOR up )
private

◆ FMOD5_Geometry_GetScale()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetScale ( IntPtr geometry,
out VECTOR scale )
private

◆ FMOD5_Geometry_GetUserData()

static RESULT FMOD.Geometry.FMOD5_Geometry_GetUserData ( IntPtr geometry,
out IntPtr userdata )
private

◆ FMOD5_Geometry_Release()

static RESULT FMOD.Geometry.FMOD5_Geometry_Release ( IntPtr geometry)
private

◆ FMOD5_Geometry_Save()

static RESULT FMOD.Geometry.FMOD5_Geometry_Save ( IntPtr geometry,
IntPtr data,
out int datasize )
private

◆ FMOD5_Geometry_SetActive()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetActive ( IntPtr geometry,
bool active )
private

◆ FMOD5_Geometry_SetPolygonAttributes()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetPolygonAttributes ( IntPtr geometry,
int index,
float directocclusion,
float reverbocclusion,
bool doublesided )
private

◆ FMOD5_Geometry_SetPolygonVertex()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetPolygonVertex ( IntPtr geometry,
int index,
int vertexindex,
ref VECTOR vertex )
private

◆ FMOD5_Geometry_SetPosition()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetPosition ( IntPtr geometry,
ref VECTOR position )
private

◆ FMOD5_Geometry_SetRotation()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetRotation ( IntPtr geometry,
ref VECTOR forward,
ref VECTOR up )
private

◆ FMOD5_Geometry_SetScale()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetScale ( IntPtr geometry,
ref VECTOR scale )
private

◆ FMOD5_Geometry_SetUserData()

static RESULT FMOD.Geometry.FMOD5_Geometry_SetUserData ( IntPtr geometry,
IntPtr userdata )
private

◆ getActive()

RESULT FMOD.Geometry.getActive ( out bool active)

◆ getMaxPolygons()

RESULT FMOD.Geometry.getMaxPolygons ( out int maxpolygons,
out int maxvertices )

◆ getNumPolygons()

RESULT FMOD.Geometry.getNumPolygons ( out int numpolygons)

◆ getPolygonAttributes()

RESULT FMOD.Geometry.getPolygonAttributes ( int index,
out float directocclusion,
out float reverbocclusion,
out bool doublesided )

◆ getPolygonNumVertices()

RESULT FMOD.Geometry.getPolygonNumVertices ( int index,
out int numvertices )

◆ getPolygonVertex()

RESULT FMOD.Geometry.getPolygonVertex ( int index,
int vertexindex,
out VECTOR vertex )

◆ getPosition()

RESULT FMOD.Geometry.getPosition ( out VECTOR position)

◆ getRotation()

RESULT FMOD.Geometry.getRotation ( out VECTOR forward,
out VECTOR up )

◆ getScale()

RESULT FMOD.Geometry.getScale ( out VECTOR scale)

◆ getUserData()

RESULT FMOD.Geometry.getUserData ( out IntPtr userdata)

◆ hasHandle()

bool FMOD.Geometry.hasHandle ( )

◆ release()

RESULT FMOD.Geometry.release ( )

◆ save()

RESULT FMOD.Geometry.save ( IntPtr data,
out int datasize )

◆ setActive()

RESULT FMOD.Geometry.setActive ( bool active)

◆ setPolygonAttributes()

RESULT FMOD.Geometry.setPolygonAttributes ( int index,
float directocclusion,
float reverbocclusion,
bool doublesided )

◆ setPolygonVertex()

RESULT FMOD.Geometry.setPolygonVertex ( int index,
int vertexindex,
ref VECTOR vertex )

◆ setPosition()

RESULT FMOD.Geometry.setPosition ( ref VECTOR position)

◆ setRotation()

RESULT FMOD.Geometry.setRotation ( ref VECTOR forward,
ref VECTOR up )

◆ setScale()

RESULT FMOD.Geometry.setScale ( ref VECTOR scale)

◆ setUserData()

RESULT FMOD.Geometry.setUserData ( IntPtr userdata)

Member Data Documentation

◆ handle

IntPtr FMOD.Geometry.handle

The documentation for this struct was generated from the following file: