![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Public Member Functions | |
| Mesh (const ::Mesh &mesh) | |
| Mesh (int VertexCount=0, int TriangleCount=0) | |
| ~Mesh () | |
| Mesh & | Binormals () |
| Compute mesh binormals (aka bitangent) More... | |
| raylib::BoundingBox | BoundingBox () const |
| Compute mesh bounding box limits. More... | |
| bool | Export (const std::string &fileName) |
| Export mesh data to file. More... | |
| float * | GetAnimNormals () const |
| float * | GetAnimVertices () const |
| int * | GetBoneIds () const |
| float * | GetBoneWeights () const |
| unsigned char * | GetColors () const |
| unsigned short * | GetIndices () const |
| float * | GetNormals () const |
| float * | GetTangents () const |
| float * | GetTexCoords () const |
| float * | GetTexCoords2 () const |
| int | GetTriangleCount () const |
| unsigned int | GetVaoId () const |
| unsigned int * | GetVboId () const |
| int | GetVertexCount () const |
| float * | GetVertices () const |
| raylib::Model | LoadModelFrom () const |
| Load model from generated mesh. More... | |
| Mesh & | NormalsSmooth () |
| Smooth (average) vertex normals. More... | |
| operator raylib::BoundingBox () | |
| Compute mesh bounding box limits. More... | |
| operator raylib::Model () | |
| Load model from generated mesh. More... | |
| Mesh & | operator= (const ::Mesh &mesh) |
| void | SetAnimNormals (float *value) |
| void | SetAnimVertices (float *value) |
| void | SetBoneIds (int *value) |
| void | SetBoneWeights (float *value) |
| void | SetColors (unsigned char *value) |
| void | SetIndices (unsigned short *value) |
| void | SetNormals (float *value) |
| void | SetTangents (float *value) |
| void | SetTexCoords (float *value) |
| void | SetTexCoords2 (float *value) |
| void | SetTriangleCount (int value) |
| void | SetVaoId (unsigned int value) |
| void | SetVboId (unsigned int *value) |
| void | SetVertexCount (int value) |
| void | SetVertices (float *value) |
| Mesh & | Tangents () |
| Compute mesh tangents. More... | |
| void | Unload () |
Static Public Member Functions | |
| ::Mesh | Cube (float width, float height, float length) |
| Generate cuboid mesh. More... | |
| ::Mesh | Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize) |
| Generate cubes-based map mesh from image data. More... | |
| ::Mesh | Cylinder (float radius, float height, int slices) |
| Generate cylinder mesh. More... | |
| ::Mesh | Heightmap (const ::Image &heightmap, ::Vector3 size) |
| Generate heightmap mesh from image data. More... | |
| ::Mesh | HemiSphere (float radius, int rings, int slices) |
| Generate half-sphere mesh (no bottom cap) More... | |
| ::Mesh | Knot (float radius, float size, int radSeg, int sides) |
| Generate trefoil knot mesh. More... | |
| static std::vector< Mesh > | Load (const std::string &fileName) |
| Load meshes from model file. More... | |
| ::Mesh | Plane (float width, float length, int resX, int resZ) |
| Generate plane mesh (with subdivisions) More... | |
| ::Mesh | Poly (int sides, float radius) |
| Generate polygonal mesh. More... | |
| ::Mesh | Sphere (float radius, int rings, int slices) |
| Generate sphere mesh (standard sphere) More... | |
| ::Mesh | Torus (float radius, float size, int radSeg, int sides) |
| Generate torus mesh. More... | |
Protected Member Functions | |
| void | set (const ::Mesh &mesh) |
|
inline |
|
inline |
|
inline |
|
inline |
Compute mesh bounding box limits.
Definition at line 170 of file Mesh.hpp.
Referenced by operator raylib::BoundingBox().
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Compute mesh bounding box limits.
Definition at line 177 of file Mesh.hpp.
References BoundingBox().
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlineprotected |
Definition at line 220 of file Mesh.hpp.
Referenced by Mesh(), and operator=().
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
1.8.17