public CameraContext(Camera camera, CameraProps props) { cam = camera; cachedCamProps = CameraProps.FromCamera(cam); props.Apply(cam); }
public void Dispose() { cachedCamProps.Apply(cam); }