|
| const Entity & | entity |
| |
| using | C = TC |
| |
| template<typename T > |
| auto | mutate (T C::*ptr) |
| | Accesses an element from an existing Component.
|
| |
template<typename MutatorFunc , typename T >
requires (CInvocable<MutatorFunc, T&>) |
| decltype(auto) | mutate (MutatorFunc &&func, T C::*ptr) |
| | Accesses an element from an existing Component.
|
| |
| template<typename T1 , typename T2 , typename... Ts> |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | mutate (T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptrs) |
| | TODO Write docs.
|
| |
| template<typename MutatorFunc , typename T1 , typename T2 , typename... Ts> |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | mutate (MutatorFunc &&func, T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptr) |
| |
| template<typename T > |
| auto | get (T C::*ptr) |
| | Accesses an element from an existing Component.
|
| |
| template<typename T1 , typename T2 , typename... Ts> |
| Tuple< ComponentFieldMutator< T1, C >, ComponentFieldMutator< T2, C >, ComponentFieldMutator< Ts, C >... > | get (T1 C::*ptr1, T2 C::*ptr2, Ts C::*... ptrs) |
| | Accesses an element from an existing Component.
|
| |
| template<typename T > |
| const T & | read (const T C::*ptr) const |
| | Accesses an element from an existing Component.
|
| |
| template<typename T1 , typename T2 , typename... Ts> |
| Tuple< const T1 &, const T2 &, const Ts &... > | read (const T1 C::*ptr1, const T2 C::*ptr2, const Ts C::*... ptrs) const |
| | TODO Write docs.
|
| |
| template<typename T > |
| const T & | get (const T C::*ptr) const |
| | Accesses an element from an existing Component.
|
| |
| template<typename T1 , typename T2 , typename... Ts> |
| Tuple< const T1 &, const T2 &, const Ts &... > | get (const T1 C::*ptr1, const T2 C::*ptr2, const Ts C::*... ptrs) const |
| | Accesses an element from an existing Component.
|
| |
A scene light.
of Lights
The power of sun lights is specified in Watts per square meter. The power of point lights, spot lights, and area lights is specified in Watts. But this is not the electrical Watts that consumer light bulbs are rated at. It is Radiant Flux or Radiant Power which is also measured in Watts. It is the energy radiated from the light in the form of visible light.
If you want to set the power to real world values, you have to convert the wattage of consumer bulbs or LED lights to radiant flux, but it is not a straightforward process. The wattage of bulbs means the electrical power required to power them. LED lights have a “Watt equivalent” which is neither the electrical power they require nor the amount of light they put out. Some consumer lights specify lumens or luminous flux which is the radiant flux weighted with the wavelengths perceived by the human eye.