Class: MagicaVoxel::Voxel
- Inherits:
-
Struct
- Object
- Struct
- MagicaVoxel::Voxel
- Defined in:
- lib/magica_voxel.rb
Overview
The Voxel Data
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
30 31 32 |
# File 'lib/magica_voxel.rb', line 30 def color @color end |
#x ⇒ Object
Returns the value of attribute x
30 31 32 |
# File 'lib/magica_voxel.rb', line 30 def x @x end |
#y ⇒ Object
Returns the value of attribute y
30 31 32 |
# File 'lib/magica_voxel.rb', line 30 def y @y end |
#z ⇒ Object
Returns the value of attribute z
30 31 32 |
# File 'lib/magica_voxel.rb', line 30 def z @z end |