/vis/viewer/set/background White 可视化背景为白
世界体透明:
G4VisAttributes* WorldVisAtt = new G4VisAttributes(G4Colour(0.0,0.0,1.0,0.));
WorldVisAtt->SetVisibility(true);
logicWorld->SetVisAttributes(WorldVisAtt);
/vis/viewer/set/background White 可视化背景为白
世界体透明:
G4VisAttributes* WorldVisAtt = new G4VisAttributes(G4Colour(0.0,0.0,1.0,0.));
WorldVisAtt->SetVisibility(true);
logicWorld->SetVisAttributes(WorldVisAtt);