class
MDecalComponent
- Module
- Game
- Header
#include "Game/MDecalComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
std::string | materialPath | |
Vec3 | size | Default Vec3(1.0f, 1.0f, 1.0f). |
float | fadeFactor | Default 1.0f. |
DecalProjection | projection | Which 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
| Signature | Name | Description |
|---|---|---|
MDecalComponent() = default | MDecalComponent | |
~MDecalComponent() override = default | ~MDecalComponent |
Public functions
| Returns | Name | Description |
|---|---|---|
void | OnRegister | |
void | RefreshMirror | |
void | PullFromMirror |
Function details
MDecalComponent
C++
MDecalComponent() = default~MDecalComponent
C++
~MDecalComponent() override = defaultOnRegister
C++
void OnRegister() overrideRefreshMirror
C++
void RefreshMirror() overridePullFromMirror
C++
void PullFromMirror(World* ecs, EntityID entity) overrideGenerated from Game/MDecalComponent.h via game.json · Nov 5, 2026Version 1.0.0