MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnEnable

Method OnEnable

Source/Engine/Level/Actors/Decal.cpp:129–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void Decal::OnEnable()
130{
131 GetSceneRendering()->AddActor(this, _sceneRenderingKey);
132#if USE_EDITOR
133 GetSceneRendering()->AddViewportIcon(this);
134#endif
135
136 // Base
137 Actor::OnEnable();
138}
139
140void Decal::OnDisable()
141{

Callers

nothing calls this directly

Calls 2

OnEnableFunction · 0.85
AddActorMethod · 0.45

Tested by

no test coverage detected