MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / setVisibleAxis

Method setVisibleAxis

engine/source/runtime/function/render/render_system.cpp:206–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 }
205
206 void RenderSystem::setVisibleAxis(std::optional<RenderEntity> axis)
207 {
208 m_render_scene->m_render_axis = axis;
209
210 if (axis.has_value())
211 {
212 std::static_pointer_cast<RenderPipeline>(m_render_pipeline)->setAxisVisibleState(true);
213 }
214 else
215 {
216 std::static_pointer_cast<RenderPipeline>(m_render_pipeline)->setAxisVisibleState(false);
217 }
218 }
219
220 void RenderSystem::setSelectedAxis(size_t selected_axis)
221 {

Callers 2

moveEntityMethod · 0.80

Calls 1

setAxisVisibleStateMethod · 0.80

Tested by

no test coverage detected