class
MDirectionalLightComponent
- Module
- Game
- Header
#include "Game/MDirectionalLightComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
Vec3 | color | Default Vec3(1.0f, 1.0f, 1.0f). |
float | intensity | Default 1.0f. |
int32_t | intensityUnits | Default 0. |
float | colorTemperature | Default 0.0f. |
float | sourceAngle | Default 0.5357f. |
float | contactShadowLength | Default 0.0f. |
uint32_t | lightChannels | Default 1. |
bool | castShadows | Default true. |
float | shadowBias | Default 1.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
MDirectionalLightComponent() = default | MDirectionalLightComponent | |
~MDirectionalLightComponent() override = default | ~MDirectionalLightComponent |
Public functions
| Returns | Name | Description |
|---|---|---|
void | OnRegister | |
void | RefreshMirror | |
void | PullFromMirror |
Function details
MDirectionalLightComponent
C++
MDirectionalLightComponent() = default~MDirectionalLightComponent
C++
~MDirectionalLightComponent() override = defaultOnRegister
C++
void OnRegister() overrideRefreshMirror
C++
void RefreshMirror() overridePullFromMirror
C++
void PullFromMirror(World* ecs, EntityID entity) overrideGenerated from Game/MDirectionalLightComponent.h via game.json · Nov 5, 2026Version 1.0.0