G4设置

/vis/viewer/set/background White 可视化背景为白

世界体透明:

G4VisAttributes* WorldVisAtt = new G4VisAttributes(G4Colour(0.0,0.0,1.0,0.));

WorldVisAtt->SetVisibility(true);

logicWorld->SetVisAttributes(WorldVisAtt); 

你可能感兴趣的:(G4设置)