|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
#include <scene/skybox/skyMesh.h>
Public Member Functions | |
| MeshInstance * | meshInstance () const |
| SkyMesh (const std::shared_ptr< GraphicsDevice > &device, Scene *scene, GraphNode *node, Texture *texture, int type) | |
| ~SkyMesh () | |
Static Public Member Functions | |
| static std::shared_ptr< Mesh > | createSphereMesh (const std::shared_ptr< GraphicsDevice > &device, int latBands=64, int lonBands=64) |
| Create a full UV sphere mesh (no flattening). Used for atmosphere sky. | |
| visutwin::canvas::SkyMesh::SkyMesh | ( | const std::shared_ptr< GraphicsDevice > & | device, |
| Scene * | scene, | ||
| GraphNode * | node, | ||
| Texture * | texture, | ||
| int | type ) |
Definition at line 178 of file skyMesh.cpp.
References visutwin::canvas::CULLFACE_FRONT, and visutwin::canvas::LAYERID_SKYBOX.
| visutwin::canvas::SkyMesh::~SkyMesh | ( | ) |
Definition at line 223 of file skyMesh.cpp.
References visutwin::canvas::LAYERID_SKYBOX.
|
static |
Create a full UV sphere mesh (no flattening). Used for atmosphere sky.
Definition at line 336 of file skyMesh.cpp.
|
inline |