getting camera position in EditMode

does anyone knows how may i use my camera transform in editmode(SceneView/Inspector) ?
i need to use camera transform to calculate other values and show in inspector .
so when user change moves camera , i can read the changes .

Do you talk about your main camera in your scene or the sceneview camera itself? If you talk about the sceneview, well there is a way to access the sceneview camera, but it’s not documented. This should give you the sceneview camera:

Camera cam =;