Example #1
0
 public ArcCamera(RawAffCamera rawAffCamera)
 {
     Timing     = rawAffCamera.Timing;
     Move       = new Vector3(rawAffCamera.MoveX, rawAffCamera.MoveY, rawAffCamera.MoveZ);
     Rotate     = new Vector3(rawAffCamera.RotateX, rawAffCamera.RotateY, rawAffCamera.RotateZ);
     CameraType = rawAffCamera.CameraType;
     Duration   = rawAffCamera.Duration;
 }
Example #2
0
        public override void Assign(ArcEvent newValues)
        {
            base.Assign(newValues);
            ArcCamera n = newValues as ArcCamera;

            Move       = n.Move;
            Rotate     = n.Rotate;
            CameraType = n.CameraType;
            Duration   = n.Duration;
        }
Example #3
0
        public static string ToCameraTypeString(CameraEaseType type)
        {
            switch (type)
            {
            case CameraEaseType.L: return("l");

            case CameraEaseType.Reset: return("reset");

            case CameraEaseType.Qi: return("qi");

            case CameraEaseType.Qo: return("qo");

            case CameraEaseType.S: return("s");

            default: return("reset");
            }
        }