C# Class FMOD.Geometry

Afficher le fichier Open project: punker76/simple-music-player Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Geometry ( IntPtr raw ) : System
raw System.IntPtr
Résultat System

addPolygon() public méthode

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
Résultat RESULT

getActive() public méthode

public getActive ( bool &active ) : RESULT
active bool
Résultat RESULT

getMaxPolygons() public méthode

public getMaxPolygons ( int &maxpolygons, int &maxvertices ) : RESULT
maxpolygons int
maxvertices int
Résultat RESULT

getNumPolygons() public méthode

public getNumPolygons ( int &numpolygons ) : RESULT
numpolygons int
Résultat RESULT

getPolygonAttributes() public méthode

public getPolygonAttributes ( int index, float &directocclusion, float &reverbocclusion, bool &doublesided ) : RESULT
index int
directocclusion float
reverbocclusion float
doublesided bool
Résultat RESULT

getPolygonNumVertices() public méthode

public getPolygonNumVertices ( int index, int &numvertices ) : RESULT
index int
numvertices int
Résultat RESULT

getPolygonVertex() public méthode

public getPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
index int
vertexindex int
vertex VECTOR
Résultat RESULT

getPosition() public méthode

public getPosition ( VECTOR &position ) : RESULT
position VECTOR
Résultat RESULT

getRotation() public méthode

public getRotation ( VECTOR &forward, VECTOR &up ) : RESULT
forward VECTOR
up VECTOR
Résultat RESULT

getScale() public méthode

public getScale ( VECTOR &scale ) : RESULT
scale VECTOR
Résultat RESULT

getUserData() public méthode

public getUserData ( IntPtr &userdata ) : RESULT
userdata System.IntPtr
Résultat RESULT

release() public méthode

public release ( ) : RESULT
Résultat RESULT

save() public méthode

public save ( IntPtr data, int &datasize ) : RESULT
data System.IntPtr
datasize int
Résultat RESULT

setActive() public méthode

public setActive ( bool active ) : RESULT
active bool
Résultat RESULT

setPolygonAttributes() public méthode

public setPolygonAttributes ( int index, float directocclusion, float reverbocclusion, bool doublesided ) : RESULT
index int
directocclusion float
reverbocclusion float
doublesided bool
Résultat RESULT

setPolygonVertex() public méthode

public setPolygonVertex ( int index, int vertexindex, VECTOR &vertex ) : RESULT
index int
vertexindex int
vertex VECTOR
Résultat RESULT

setPosition() public méthode

public setPosition ( VECTOR &position ) : RESULT
position VECTOR
Résultat RESULT

setRotation() public méthode

public setRotation ( VECTOR &forward, VECTOR &up ) : RESULT
forward VECTOR
up VECTOR
Résultat RESULT

setScale() public méthode

public setScale ( VECTOR &scale ) : RESULT
scale VECTOR
Résultat RESULT

setUserData() public méthode

public setUserData ( IntPtr userdata ) : RESULT
userdata System.IntPtr
Résultat RESULT