Toast Engine
Loading...
Searching...
No Matches
scripting::Color3 Struct Reference

RGB color usertype. More...

#include <lua_types.hpp>

Public Member Functions

 Color3 (float r, float g, float b)
 Color3 (const glm::vec3 &v)
auto toString () const -> std::string

Public Attributes

glm::vec3 rgb {0.0f}

Detailed Description

RGB color usertype.

I did it like this so we can have the Color variables on lua be a color picker on the inspector UI


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