[QUESTION]Where is KX_Camera setprojectionMatrix??

Hello…

who knows where is the function setprojectionMatrix in Blender 2.5?

I can find this function in Blender 2.34—2.49

But…where is it in Blender2.5x??

Thanks alot

http://www.blender.org/documentation/blender_python_api_2_56_0/bge.types.html#bge.types.KX_Camera.projection_matrix

but…this is only the projection_matrix…not set projection matrix

There’s no set projection matrix function in class bge.types.KX_Camera(KX_GameObject)???

You set that variable to the projection matrix…or does that not work…?

No, it doesnt work…because ‘projection_matrix’ is a variable of class KX_Camera, which only can be read…
Not a setProjectionMatrix function…
you can access like:cam.projection_matrix…it replies the camera’s 4x4 projection matrix