class

MPointLightComponent

Module
Game
Header
#include "Game/MPointLightComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
Vec3colorDefault Vec3(1.0f, 1.0f, 1.0f).
floatintensityDefault 1.0f.
int32_tintensityUnitsDefault 0.
floatcolorTemperatureDefault 0.0f.
floatradiusDefault 10.0f.
floatsourceRadiusDefault 0.0f.
floatcontactShadowLengthDefault 0.0f.
uint32_tlightChannelsDefault 1.
boolcastShadowsDefault false.
floatshadowBiasDefault 1.0f.
int32_tshadowResolutionBiasDefault 0.
floatshadowNearPlaneDefault 0.1f.
floatvolumetricScatteringDefault 1.0f.
std::stringlightFunctionMaterialA material evaluated every frame and projected through the light (LightComponent::lightFunctionMaterialPath). Empty = none.

Constructors

SignatureNameDescription
MPointLightComponent() = defaultMPointLightComponent
~MPointLightComponent() override = default~MPointLightComponent

Public functions

ReturnsNameDescription
voidOnRegisterMirror a point LightComponent onto the backing entity.
voidRefreshMirror
voidPullFromMirror

Function details

MPointLightComponent

C++
MPointLightComponent() = default

~MPointLightComponent

C++
~MPointLightComponent() override = default

OnRegister

C++
void OnRegister() override

Mirror a point LightComponent onto the backing entity.

RefreshMirror

C++
void RefreshMirror() override

PullFromMirror

C++
void PullFromMirror(World* ecs, EntityID entity) override
Generated from Game/MPointLightComponent.h via game.json · Nov 5, 2026Version 1.0.0