Open 3D Engine AtomTressFX Gem API Reference 24.09.2
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Color Class Reference

Public Member Functions

 Color (float r, float g, float b, float a=1.f)
 
 Color (const Color &other)
 
const float & operator[] (unsigned int i) const
 
float & operator[] (unsigned int i)
 
Coloroperator= (const Color &other)
 

Public Attributes

union { 
 
   struct { 
 
      float   m [4] 
 
   }  
 
   struct { 
 
      float   r 
 
      float   g 
 
      float   b 
 
      float   a 
 
   }  
 
};  
 

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