# PonyTracker: Référence de la classe Geometry

Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Macros Pages
Référence de la classe Geometry

`#include <fmod.hpp>`

## Fonctions membres publiques

FMOD_RESULT F_API | release ()
FMOD_RESULT F_API | addPolygon (float directocclusion, float reverbocclusion, bool doublesided, int numvertices, const FMOD_VECTOR *vertices, int *polygonindex)
FMOD_RESULT F_API | getNumPolygons (int *numpolygons)
FMOD_RESULT F_API | getMaxPolygons (int *maxpolygons, int *maxvertices)
FMOD_RESULT F_API | getPolygonNumVertices (int index, int *numvertices)
FMOD_RESULT F_API | setPolygonVertex (int index, int vertexindex, const FMOD_VECTOR *vertex)
FMOD_RESULT F_API | getPolygonVertex (int index, int vertexindex, FMOD_VECTOR *vertex)
FMOD_RESULT F_API | setPolygonAttributes (int index, float directocclusion, float reverbocclusion, bool doublesided)
FMOD_RESULT F_API | getPolygonAttributes (int index, float *directocclusion, float *reverbocclusion, bool *doublesided)
FMOD_RESULT F_API | setActive (bool active)
FMOD_RESULT F_API | getActive (bool *active)
FMOD_RESULT F_API | setRotation (const FMOD_VECTOR *forward, const FMOD_VECTOR *up)
FMOD_RESULT F_API | getRotation (FMOD_VECTOR *forward, FMOD_VECTOR *up)
FMOD_RESULT F_API | setPosition (const FMOD_VECTOR *position)
FMOD_RESULT F_API | getPosition (FMOD_VECTOR *position)
FMOD_RESULT F_API | setScale (const FMOD_VECTOR *scale)
FMOD_RESULT F_API | getScale (FMOD_VECTOR *scale)
FMOD_RESULT F_API | save (void *data, int *datasize)
FMOD_RESULT F_API | setUserData (void *userdata)
FMOD_RESULT F_API | getUserData (void **userdata)
FMOD_RESULT F_API | getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)

## Description détaillée

Définition à la ligne 538 du fichier fmod.hpp.

## Documentation des fonctions membres

FMOD_RESULT F_API addPolygon | ( | float | directocclusion,
|  | float | reverbocclusion,
|  | bool | doublesided,
|  | int | numvertices,
|  | const FMOD_VECTOR * | vertices,
|  | int * | polygonindex
| ) |  |

FMOD_RESULT F_API getActive | ( | bool * | active | ) |

FMOD_RESULT F_API getMaxPolygons | ( | int * | maxpolygons,
|  | int * | maxvertices
| ) |  |

FMOD_RESULT F_API getMemoryInfo | ( | unsigned int | memorybits,
|  | unsigned int | event_memorybits,
|  | unsigned int * | memoryused,
|  | FMOD_MEMORY_USAGE_DETAILS * | memoryused_details
| ) |  |

FMOD_RESULT F_API getNumPolygons | ( | int * | numpolygons | ) |

FMOD_RESULT F_API getPolygonAttributes | ( | int | index,
|  | float * | directocclusion,
|  | float * | reverbocclusion,
|  | bool * | doublesided
| ) |  |

FMOD_RESULT F_API getPolygonNumVertices | ( | int | index,
|  | int * | numvertices
| ) |  |

FMOD_RESULT F_API getPolygonVertex | ( | int | index,
|  | int | vertexindex,
|  | FMOD_VECTOR * | vertex
| ) |  |

FMOD_RESULT F_API getPosition | ( | FMOD_VECTOR * | position | ) |

FMOD_RESULT F_API getRotation | ( | FMOD_VECTOR * | forward,
|  | FMOD_VECTOR * | up
| ) |  |

FMOD_RESULT F_API getScale | ( | FMOD_VECTOR * | scale | ) |

FMOD_RESULT F_API getUserData | ( | void ** | userdata | ) |

FMOD_RESULT F_API release | ( |  | ) |

FMOD_RESULT F_API save | ( | void * | data,
|  | int * | datasize
| ) |  |

FMOD_RESULT F_API setActive | ( | bool | active | ) |

FMOD_RESULT F_API setPolygonAttributes | ( | int | index,
|  | float | directocclusion,
|  | float | reverbocclusion,
|  | bool | doublesided
| ) |  |

FMOD_RESULT F_API setPolygonVertex | ( | int | index,
|  | int | vertexindex,
|  | const FMOD_VECTOR * | vertex
| ) |  |

FMOD_RESULT F_API setPosition | ( | const FMOD_VECTOR * | position | ) |

FMOD_RESULT F_API setRotation | ( | const FMOD_VECTOR * | forward,
|  | const FMOD_VECTOR * | up
| ) |  |

FMOD_RESULT F_API setScale | ( | const FMOD_VECTOR * | scale | ) |

FMOD_RESULT F_API setUserData | ( | void * | userdata | ) |

La documentation de cette classe a été générée à partir du fichier suivant :

- sources/fmod/include/fmod.hpp