Class: TinyGLTF::AnimationSampler
- Inherits:
-
Object
- Object
- TinyGLTF::AnimationSampler
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
#animation ⇒ Object
Returns the value of attribute animation.
210
211
212
|
# File 'lib/tiny_gltf.rb', line 210
def animation
@animation
end
|
Instance Method Details
221
222
223
|
# File 'lib/tiny_gltf.rb', line 221
def input
model.accessors[input_index]
end
|
#model ⇒ Object
217
218
219
|
# File 'lib/tiny_gltf.rb', line 217
def model
animation.model
end
|
#output ⇒ Object
225
226
227
|
# File 'lib/tiny_gltf.rb', line 225
def output
model.accessors[output_index]
end
|