I’m using the Game Engine for a visualization tool. I’d like to be able to switch between solid and wireframe render modes while running, e.g. from a Python script. I know I can switch “Viewport shading” mode before starting the game engine, but I can’t find anything (e.g. in scene, camera, or actuators) to change this at runtime. I tried changing all scene.objects’ drawMode to Blender.Object.DrawTypes.WIRE but that didn’t do anything.
Any ideas? I’m running 2.49. Thanks!