4445464748495051525354
protected Switch sw; public SwitchNodeXith3D(ActiveNode parent) { super(parent); sw = new Switch(Switch.CHILD_MASK, status); sw.setName(name); sw.setUserData(this); sw.setPickable(true); ((Group)parent.get3DObject()).addChild(sw); }