A component for rendering a 2D quad that always faces the camera. More...
#include <BillboardComponent.hpp>
Public Attributes | |
| vex::texture_asset_path | texturePath |
| Path to the texture mapped onto the billboard. | |
| glm::vec2 | size = glm::vec2(1.0f, 1.0f) |
| World-space size of the billboard quad. | |
| vex::rgba | color = vex::rgba(1.0f, 1.0f, 1.0f, 1.0f) |
| Tint color applied to the billboard. | |
| bool | isTransparent = false |
| Indicates if the billboard is rendered in the transparent pass. | |
| bool | isUnlit = false |
| Indicates if the billboard should ignore scene lighting. | |
A component for rendering a 2D quad that always faces the camera.
Definition at line 13 of file BillboardComponent.hpp.
Tint color applied to the billboard.
Definition at line 16 of file BillboardComponent.hpp.
| bool vex::BillboardComponent::isTransparent = false |
Indicates if the billboard is rendered in the transparent pass.
Definition at line 17 of file BillboardComponent.hpp.
| bool vex::BillboardComponent::isUnlit = false |
Indicates if the billboard should ignore scene lighting.
Definition at line 18 of file BillboardComponent.hpp.
| glm::vec2 vex::BillboardComponent::size = glm::vec2(1.0f, 1.0f) |
World-space size of the billboard quad.
Definition at line 15 of file BillboardComponent.hpp.
| vex::texture_asset_path vex::BillboardComponent::texturePath |
Path to the texture mapped onto the billboard.
Definition at line 14 of file BillboardComponent.hpp.