class
MPointLightComponent
- Module
- Game
- Header
#include "Game/MPointLightComponent.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 | radius | Default 10.0f. |
float | sourceRadius | Default 0.0f. |
float | contactShadowLength | Default 0.0f. |
uint32_t | lightChannels | Default 1. |
bool | castShadows | Default false. |
float | shadowBias | Default 1.0f. |
int32_t | shadowResolutionBias | Default 0. |
float | shadowNearPlane | Default 0.1f. |
float | volumetricScattering | Default 1.0f. |
std::string | lightFunctionMaterial | A material evaluated every frame and projected through the light (LightComponent::lightFunctionMaterialPath). Empty = none. |
Constructors
| Signature | Name | Description |
|---|---|---|
MPointLightComponent() = default | MPointLightComponent | |
~MPointLightComponent() override = default | ~MPointLightComponent |
Public functions
| Returns | Name | Description |
|---|---|---|
void | OnRegister | Mirror a point LightComponent onto the backing entity. |
void | RefreshMirror | |
void | PullFromMirror |
Function details
MPointLightComponent
C++
MPointLightComponent() = default~MPointLightComponent
C++
~MPointLightComponent() override = defaultOnRegister
C++
void OnRegister() overrideMirror a point LightComponent onto the backing entity.
RefreshMirror
C++
void RefreshMirror() overridePullFromMirror
C++
void PullFromMirror(World* ecs, EntityID entity) overrideGenerated from Game/MPointLightComponent.h via game.json · Nov 5, 2026Version 1.0.0