VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
BillboardComponent.hpp
Go to the documentation of this file.
1
6
7 #pragma once
8 #include "components/AssetTypes.hpp"
9 #include "components/ColorTypes.hpp"
10
11 namespace vex {
15 glm::vec2 size = glm::vec2(1.0f, 1.0f);
16 vex::rgba color = vex::rgba(1.0f, 1.0f, 1.0f, 1.0f);
17 bool isTransparent = false;
18 bool isUnlit = false;
19 };
20 } // namespace vex
21
A component for rendering a 2D quad that always faces the camera.
bool isTransparent
Indicates if the billboard is rendered in the transparent pass.
bool isUnlit
Indicates if the billboard should ignore scene lighting.
vex::rgba color
Tint color applied to the billboard.
vex::texture_asset_path texturePath
Path to the texture mapped onto the billboard.
glm::vec2 size
World-space size of the billboard quad.
Represents an RGBA color value. Used mainly for fancy rendering in editor.
Specific wrapper for Textures.