MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / SetLayer

Method SetLayer

SDK/src/NDK/Components/CameraComponent.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 */
161
162 void CameraComponent::SetLayer(unsigned int layer)
163 {
164 m_layer = layer;
165
166 m_entity->Invalidate(); // Invalidate the entity to make it passes through RenderSystem validation
167 }
168
169 /*!
170 * \brief Operation to perform when component is attached to an entity

Callers

nothing calls this directly

Calls 1

InvalidateMethod · 0.80

Tested by

no test coverage detected