Class: Rgltf::Validation::Meshes
- Defined in:
- lib/rgltf/validation/meshes.rb
Constant Summary collapse
- BUILTIN =
/\A(?:POSITION|NORMAL|TANGENT|TEXCOORD_\d+|COLOR_\d+|JOINTS_\d+|WEIGHTS_\d+)\z/- CUSTOM =
/\A_[A-Z0-9_]+\z/- MORPH =
%w[POSITION NORMAL TANGENT].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
10 11 12 |
# File 'lib/rgltf/validation/meshes.rb', line 10 def validate array('meshes').each_with_index { |raw, index| validate_mesh(object(raw, "meshes/#{index}"), index) } end |