VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::BillboardComponent Struct Reference

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.

Detailed Description

A component for rendering a 2D quad that always faces the camera.

Definition at line 13 of file BillboardComponent.hpp.

Member Data Documentation

◆ color

vex::rgba vex::BillboardComponent::color = vex::rgba(1.0f, 1.0f, 1.0f, 1.0f)

Tint color applied to the billboard.

Definition at line 16 of file BillboardComponent.hpp.

◆ isTransparent

bool vex::BillboardComponent::isTransparent = false

Indicates if the billboard is rendered in the transparent pass.

Definition at line 17 of file BillboardComponent.hpp.

◆ isUnlit

bool vex::BillboardComponent::isUnlit = false

Indicates if the billboard should ignore scene lighting.

Definition at line 18 of file BillboardComponent.hpp.

◆ size

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.

◆ texturePath

vex::texture_asset_path vex::BillboardComponent::texturePath

Path to the texture mapped onto the billboard.

Definition at line 14 of file BillboardComponent.hpp.


The documentation for this struct was generated from the following file: