Class: Rgltf::Validation::Animations
- Defined in:
- lib/rgltf/validation/animations.rb
Constant Summary collapse
- PATHS =
%w[translation rotation scale weights].freeze
- INTERPOLATIONS =
%w[LINEAR STEP CUBICSPLINE].freeze
Instance Method Summary collapse
Methods inherited from Rule
Constructor Details
This class inherits a constructor from Rgltf::Validation::Rule
Instance Method Details
#validate ⇒ Object
9 10 11 12 13 |
# File 'lib/rgltf/validation/animations.rb', line 9 def validate array('animations').each_with_index do |raw, index| validate_animation(object(raw, "animations/#{index}"), index) end end |