GameEntities.CutSceneManager.SetCamera C# (CSharp) Method

SetCamera() private method

private SetCamera ( MapObject cameraOrCameraCurve ) : void
cameraOrCameraCurve MapObject
return void
        public void SetCamera( MapObject cameraOrCameraCurve )
        {
            camera = cameraOrCameraCurve as MapCamera;
            cameraCurve = cameraOrCameraCurve as MapCameraCurve;
            if( cameraCurve != null )
                cameraCurveTime = cameraCurve.GetCurveTimeRange().Minimum;
            oldCameraCurveTime = cameraCurveTime;
        }