position.vwf.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Copyright 2012 United States Government, as represented by the Secretary of Defense, Under
  2. # Secretary of Defense (Personnel & Readiness).
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. # in compliance with the License. You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software distributed under the License
  10. # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  11. # or implied. See the License for the specific language governing permissions and limitations under
  12. # the License.
  13. ## `animation.position.vwf` defines a key value for an animation.
  14. ##
  15. ## @name animation.position.vwf
  16. ## @namespace
  17. ---
  18. properties:
  19. ## This position's location on the animation timeline. Valid values are in the range from `0` to
  20. ## the animation's duration.
  21. ##
  22. ## Positions that don't provide `time` will be automatically distributed along the range between
  23. ## the siblings that do. If none of a node's animation positions provide `time`, then the
  24. ## positions will be distributed evenly throughout the animation--in the range [`0`, *duration*].
  25. ##
  26. ## @name animation.position.vwf#animationTime
  27. ## @property
  28. animationTime:
  29. ## The animated node's transform at this position. The node's transform will be set to this value
  30. ## when the animations reaches this position. Transforms for intermediate postions will be
  31. ## interpolated from the transforms of the adjacent positions.
  32. ##
  33. ## if no times, distribute evenly over number of children
  34. ## transforms optional; only for node3 animations, and may be provided by asset or by node's update
  35. ##
  36. ## @name animation.position.vwf#animationTransform
  37. ## @property
  38. animationTransform:
  39. ## animation positions and control positions are not necessarily coincident, although they typically are
  40. ## animation data may be missing from control positions if no transform is necessary
  41. ## control data may be missing from animation positions if value/time == 1, attraction does not change
  42. ##
  43. ## The sequence of the animation key value. Key values will be sorted on the sequence to keep the order correct,
  44. ## because Ruby 1.8.7 doesn't preserve child order in component objects.
  45. ##
  46. ## @name animation.position.vwf#sequence
  47. ## @property
  48. sequence: 0