class

MSpotLightComponent

Module
Game
Header
#include "Game/MSpotLightComponent.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.
floatinnerConeAngleDefault 25.0f.
floatouterConeAngleDefault 35.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
MSpotLightComponent() = defaultMSpotLightComponent
~MSpotLightComponent() override = default~MSpotLightComponent

Public functions

ReturnsNameDescription
voidOnRegister
voidRefreshMirror
voidPullFromMirror

Function details

MSpotLightComponent

C++
MSpotLightComponent() = default

~MSpotLightComponent

C++
~MSpotLightComponent() override = default

OnRegister

C++
void OnRegister() override

RefreshMirror

C++
void RefreshMirror() override

PullFromMirror

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