Class: TinyGLTF::AnimationSampler

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/tiny_gltf.rb,
ext/tiny_gltf/rb_tiny_gltf_init.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

included, #inspect, #to_h, #to_json

Instance Attribute Details

#animationObject (readonly)

Returns the value of attribute animation.



210
211
212
# File 'lib/tiny_gltf.rb', line 210

def animation
  @animation
end

Instance Method Details

#inputObject



221
222
223
# File 'lib/tiny_gltf.rb', line 221

def input
  model.accessors[input_index]
end

#modelObject



217
218
219
# File 'lib/tiny_gltf.rb', line 217

def model
  animation.model
end

#outputObject



225
226
227
# File 'lib/tiny_gltf.rb', line 225

def output
  model.accessors[output_index]
end