C# Class FMOD.Geometry

Show file Open project: punker76/simple-music-player Class Usage Examples

Public Methods

Method Description
Geometry ( IntPtr raw ) : System
addPolygon ( float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR vertices, int &polygonindex ) : RESULT
getActive ( bool &active ) : RESULT
getMaxPolygons ( int &maxpolygons, int &maxvertices ) : RESULT
getNumPolygons ( int &numpolygons ) : RESULT
getPolygonAttributes ( int index, float &directocclusion, float &reverbocclusion, bool &doublesided ) : RESULT
getPolygonNumVertices ( int index, int &numvertices ) : RESULT
getPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
getPosition ( VECTOR &position ) : RESULT
getRotation ( VECTOR &forward, VECTOR &up ) : RESULT
getScale ( VECTOR &scale ) : RESULT
getUserData ( IntPtr &userdata ) : RESULT
release ( ) : RESULT
save ( IntPtr data, int &datasize ) : RESULT
setActive ( bool active ) : RESULT
setPolygonAttributes ( int index, float directocclusion, float reverbocclusion, bool doublesided ) : RESULT
setPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
setPosition ( VECTOR &position ) : RESULT
setRotation ( VECTOR &forward, VECTOR &up ) : RESULT
setScale ( VECTOR &scale ) : RESULT
setUserData ( IntPtr userdata ) : RESULT

Private Methods

Method Description
FMOD_Geometry_AddPolygon ( IntPtr geometry, float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR vertices, int &polygonindex ) : RESULT
FMOD_Geometry_GetActive ( IntPtr geometry, bool &active ) : RESULT
FMOD_Geometry_GetMaxPolygons ( IntPtr geometry, int &maxpolygons, int &maxvertices ) : RESULT
FMOD_Geometry_GetNumPolygons ( IntPtr geometry, int &numpolygons ) : RESULT
FMOD_Geometry_GetPolygonAttributes ( IntPtr geometry, int index, float &directocclusion, float &reverbocclusion, bool &doublesided ) : RESULT
FMOD_Geometry_GetPolygonNumVertices ( IntPtr geometry, int index, int &numvertices ) : RESULT
FMOD_Geometry_GetPolygonVertex ( IntPtr geometry, int index, int vertexindex, VECTOR &vertex ) : RESULT
FMOD_Geometry_GetPosition ( IntPtr geometry, VECTOR &position ) : RESULT
FMOD_Geometry_GetRotation ( IntPtr geometry, VECTOR &forward, VECTOR &up ) : RESULT
FMOD_Geometry_GetScale ( IntPtr geometry, VECTOR &scale ) : RESULT
FMOD_Geometry_GetUserData ( IntPtr geometry, IntPtr &userdata ) : RESULT
FMOD_Geometry_Release ( IntPtr geometry ) : RESULT
FMOD_Geometry_Save ( IntPtr geometry, IntPtr data, int &datasize ) : RESULT
FMOD_Geometry_SetActive ( IntPtr geometry, bool active ) : RESULT
FMOD_Geometry_SetPolygonAttributes ( IntPtr geometry, int index, float directocclusion, float reverbocclusion, bool doublesided ) : RESULT
FMOD_Geometry_SetPolygonVertex ( IntPtr geometry, int index, int vertexindex, VECTOR &vertex ) : RESULT
FMOD_Geometry_SetPosition ( IntPtr geometry, VECTOR &position ) : RESULT
FMOD_Geometry_SetRotation ( IntPtr geometry, VECTOR &forward, VECTOR &up ) : RESULT
FMOD_Geometry_SetScale ( IntPtr geometry, VECTOR &scale ) : RESULT
FMOD_Geometry_SetUserData ( IntPtr geometry, IntPtr userdata ) : RESULT

Method Details

Geometry() public method

public Geometry ( IntPtr raw ) : System
raw System.IntPtr
return System

addPolygon() public method

public addPolygon ( float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR vertices, int &polygonindex ) : RESULT
directocclusion float
reverbocclusion float
doublesided bool
numvertices int
vertices VECTOR
polygonindex int
return RESULT

getActive() public method

public getActive ( bool &active ) : RESULT
active bool
return RESULT

getMaxPolygons() public method

public getMaxPolygons ( int &maxpolygons, int &maxvertices ) : RESULT
maxpolygons int
maxvertices int
return RESULT

getNumPolygons() public method

public getNumPolygons ( int &numpolygons ) : RESULT
numpolygons int
return RESULT

getPolygonAttributes() public method

public getPolygonAttributes ( int index, float &directocclusion, float &reverbocclusion, bool &doublesided ) : RESULT
index int
directocclusion float
reverbocclusion float
doublesided bool
return RESULT

getPolygonNumVertices() public method

public getPolygonNumVertices ( int index, int &numvertices ) : RESULT
index int
numvertices int
return RESULT

getPolygonVertex() public method

public getPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
index int
vertexindex int
vertex VECTOR
return RESULT

getPosition() public method

public getPosition ( VECTOR &position ) : RESULT
position VECTOR
return RESULT

getRotation() public method

public getRotation ( VECTOR &forward, VECTOR &up ) : RESULT
forward VECTOR
up VECTOR
return RESULT

getScale() public method

public getScale ( VECTOR &scale ) : RESULT
scale VECTOR
return RESULT

getUserData() public method

public getUserData ( IntPtr &userdata ) : RESULT
userdata System.IntPtr
return RESULT

release() public method

public release ( ) : RESULT
return RESULT

save() public method

public save ( IntPtr data, int &datasize ) : RESULT
data System.IntPtr
datasize int
return RESULT

setActive() public method

public setActive ( bool active ) : RESULT
active bool
return RESULT

setPolygonAttributes() public method

public setPolygonAttributes ( int index, float directocclusion, float reverbocclusion, bool doublesided ) : RESULT
index int
directocclusion float
reverbocclusion float
doublesided bool
return RESULT

setPolygonVertex() public method

public setPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
index int
vertexindex int
vertex VECTOR
return RESULT

setPosition() public method

public setPosition ( VECTOR &position ) : RESULT
position VECTOR
return RESULT

setRotation() public method

public setRotation ( VECTOR &forward, VECTOR &up ) : RESULT
forward VECTOR
up VECTOR
return RESULT

setScale() public method

public setScale ( VECTOR &scale ) : RESULT
scale VECTOR
return RESULT

setUserData() public method

public setUserData ( IntPtr userdata ) : RESULT
userdata System.IntPtr
return RESULT