class

MLevelStatics

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

Public functions

ReturnsNameDescription
int32_tFindActorsOfClassInRadiusname matching is exact.
int32_tFindActorsWithTagInRadius
int32_tFindActorsNamedInRadius
int32_tFindActorsInRadius
int32_tGetFoundActorCount
AActor*GetFoundActor
floatGetFoundActorDistance
AActor*FindActorByName
AActor*FindNearestActorOfClass
int32_tGetActorCount
floatGetSceneFloatScene environment, keyed by name so a knob added to SceneEnvironment is one table row here rather than a new reflected pair.
boolSetSceneFloat
Vec3GetSceneVector
boolSetSceneVector
boolGetSceneBool
boolSetSceneBool
std::stringGetSceneString
boolSetSceneString
AActor*SpawnActorAtTransformSpawn with a whole transform.
boolLoadStreamingRegionLevel streaming.
boolUnloadStreamingRegion
boolIsStreamingRegionLoaded
voidSetDataLayerActive
boolIsDataLayerActive
voidSetSceneOverrideTests and headless hosts have no SceneManager; they hand the scene in.
Scene*ResolveScene

Function details

FindActorsOfClassInRadius

C++
int32_t FindActorsOfClassInRadius(const std::string& className, const Vec3& origin, float radius)

name matching is exact.

FindActorsWithTagInRadius

C++
int32_t FindActorsWithTagInRadius(const std::string& tag, const Vec3& origin, float radius)

FindActorsNamedInRadius

C++
int32_t FindActorsNamedInRadius(const std::string& name, const Vec3& origin, float radius)

FindActorsInRadius

C++
int32_t FindActorsInRadius(const Vec3& origin, float radius)

GetFoundActorCount

C++
int32_t GetFoundActorCount() const

GetFoundActor

C++
AActor* GetFoundActor(int32_t index) const

GetFoundActorDistance

C++
float GetFoundActorDistance(int32_t index) const

FindActorByName

C++
AActor* FindActorByName(const std::string& name) const

FindNearestActorOfClass

C++
AActor* FindNearestActorOfClass(const std::string& className, const Vec3& origin) const

GetActorCount

C++
int32_t GetActorCount() const

GetSceneFloat

C++
float GetSceneFloat(const std::string& key) const

Scene environment, keyed by name so a knob added to SceneEnvironment is one table row here rather than a new reflected pair. Unknown keys read as zero / false / empty and refuse the write with a warning naming the key. Keys: ambient_intensity, ambient_color, ibl_enabled, ibl_intensity, fog_enabled, fog_color, fog_density, fog_start, fog_end, shadow_max_distance, skybox, exposure.

SetSceneFloat

C++
bool SetSceneFloat(const std::string& key, float value)

GetSceneVector

C++
Vec3 GetSceneVector(const std::string& key) const

SetSceneVector

C++
bool SetSceneVector(const std::string& key, const Vec3& value)

GetSceneBool

C++
bool GetSceneBool(const std::string& key) const

SetSceneBool

C++
bool SetSceneBool(const std::string& key, bool value)

GetSceneString

C++
std::string GetSceneString(const std::string& key) const

SetSceneString

C++
bool SetSceneString(const std::string& key, const std::string& value)

SpawnActorAtTransform

C++
AActor* SpawnActorAtTransform(const std::string& className, const Vec3& location, const Vec3& rotationDegrees, const Vec3& scale)

Spawn with a whole transform. Rotation is Euler degrees, matching the GetActorRotationEuler / SetActorRotationEuler pair. Spawn-shaped (the name, the Object return, the class name first), so a Visual Script class's Expose on Spawn variables ride as extra pins exactly as they do on SpawnActorByClass.

LoadStreamingRegion

C++
bool LoadStreamingRegion(const std::string& regionName)

Level streaming. A streaming region — the named group of sectors the World Partition panel authors — is this world's streaming level. Loading pins every cell, so it streams in and stays wherever the viewers are; unloading drops the pin and queues the unload. A cell a viewer is standing in streams straight back in: distance streaming still owns everything a graph has not pinned.

UnloadStreamingRegion

C++
bool UnloadStreamingRegion(const std::string& regionName)

IsStreamingRegionLoaded

C++
bool IsStreamingRegionLoaded(const std::string& regionName) const

SetDataLayerActive

C++
void SetDataLayerActive(const std::string& layerName, bool active)

IsDataLayerActive

C++
bool IsDataLayerActive(const std::string& layerName) const

SetSceneOverride

C++
static void SetSceneOverride(Scene* scene)

Tests and headless hosts have no SceneManager; they hand the scene in.

ResolveScene

C++
static Scene* ResolveScene()
Generated from Game/MLevelStatics.h via game.json · Nov 5, 2026Version 1.0.0