Ejemplo n.º 1
0
        public UserTransformKeyframe AddKeyframe(Transform transform)
        {
            UserTransformKeyframe newKeyframe = new UserTransformKeyframe(transform);

            keyframes.Add(newKeyframe);
            return(newKeyframe);
        }
Ejemplo n.º 2
0
        public UserTransformKeyframe AddKeyframe(Vector3 position, Quaternion rotation)
        {
            UserTransformKeyframe newKeyframe = new UserTransformKeyframe(position, rotation);

            keyframes.Add(newKeyframe);
            return(newKeyframe);
        }
Ejemplo n.º 3
0
        public void CreateSnapshot(Transform desiredTransform)
        {
            UserTransformKeyframe  keyframe = recording.AddKeyframe(desiredTransform);
            UserTransformableGhost ghost    = keyframe.CreateGhost(target);

            ghosts.Add(ghost);
            IncorporateGhost(ghosts.Count - 1);
        }
Ejemplo n.º 4
0
 public UserTransformKeyframe AddKeyframe(UserTransformKeyframe keyframe)
 {
     keyframes.Add(keyframe);
     return(keyframe);
 }
Ejemplo n.º 5
0
 public virtual async Task Execute(UserTransformKeyframe keyframe, Transform frameOfReference)
 {
 }