MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetActiveChild

Method SetActiveChild

GTE/Graphics/SwitchNode.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void SwitchNode::SetActiveChild(int32_t activeChild)
19{
20 LogAssert(
21 activeChild == invalidChild ||
22 (0 <= activeChild && activeChild < GetNumChildren()),
23 "Invalid active child specified.");
24
25 mActiveChild = activeChild;
26}
27
28void SwitchNode::GetVisibleSet(Culler& culler,
29 std::shared_ptr<Camera> const& camera, bool noCull)

Callers 2

OnCharPressMethod · 0.80
CreateSceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected