class

MDecalComponent

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

Properties

TypeNameDescription
std::stringmaterialPath
Vec3sizeDefault Vec3(1.0f, 1.0f, 1.0f).
floatfadeFactorDefault 1.0f.
DecalProjectionprojectionWhich local axis the decal projects along. Without it on the actor, an ADecalActor could only ever project straight down: the mirror rewrites the ECS component every register, resetting whatever was authored there. Default DecalProjection::YNegative.

Constructors

SignatureNameDescription
MDecalComponent() = defaultMDecalComponent
~MDecalComponent() override = default~MDecalComponent

Public functions

ReturnsNameDescription
voidOnRegister
voidRefreshMirror
voidPullFromMirror

Function details

MDecalComponent

C++
MDecalComponent() = default

~MDecalComponent

C++
~MDecalComponent() override = default

OnRegister

C++
void OnRegister() override

RefreshMirror

C++
void RefreshMirror() override

PullFromMirror

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