![]() |
Shkyera Engine
Easy to use, game engine for Python
|
#include <BillboardComponent.hpp>
Public Types | |
enum class | Orientation { CameraFacing , AxisAligned , WorldFixed } |
enum class | Scale { World , Camera } |
enum class | Occlusion { Occludable , NotOccludable } |
Public Member Functions | |
glm::mat4 | getModelMatrix (const glm::mat4 &baseMatrix, const glm::vec3 &cameraPosition, const glm::mat4 &viewMatrix) const |
Public Attributes | |
Orientation | orientation {Orientation::CameraFacing} |
Scale | scale {Scale::Camera} |
Occlusion | occlusion {Occlusion::NotOccludable} |
HandleAndAsset< Material > | material {} |
|
strong |
|
strong |
|
strong |
|
inline |
HandleAndAsset<Material> shkyera::BillboardComponent< Mode >::material {} |
Occlusion shkyera::BillboardComponent< Mode >::occlusion {Occlusion::NotOccludable} |
Orientation shkyera::BillboardComponent< Mode >::orientation {Orientation::CameraFacing} |
Scale shkyera::BillboardComponent< Mode >::scale {Scale::Camera} |