class

MRectLightComponent

Module
Game
Header
#include "Game/MRectLightComponent.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.
int32_tareaShapeDefault 0.
floatsourceWidthDefault 1.0f.
floatsourceHeightDefault 1.0f.
booltwoSidedDefault false.
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
MRectLightComponent() = defaultMRectLightComponent
~MRectLightComponent() override = default~MRectLightComponent

Public functions

ReturnsNameDescription
voidOnRegister
voidRefreshMirror
voidPullFromMirror

Function details

MRectLightComponent

C++
MRectLightComponent() = default

~MRectLightComponent

C++
~MRectLightComponent() override = default

OnRegister

C++
void OnRegister() override

RefreshMirror

C++
void RefreshMirror() override

PullFromMirror

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