Class: TinyGLTF::AnimationChannel
- Inherits:
-
Object
- Object
- TinyGLTF::AnimationChannel
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.
187
188
189
|
# File 'lib/tiny_gltf.rb', line 187
def animation
@animation
end
|
Instance Method Details
#model ⇒ Object
195
196
197
|
# File 'lib/tiny_gltf.rb', line 195
def model
animation.model
end
|
#sampler ⇒ Object
199
200
201
|
# File 'lib/tiny_gltf.rb', line 199
def sampler
animation.samplers[sampler_index]
end
|
#target_node ⇒ Object
203
204
205
|
# File 'lib/tiny_gltf.rb', line 203
def target_node
model.nodes[target_node_index]
end
|