Class: MagicaVoxel::Transform

Inherits:
Node show all
Defined in:
lib/magica_voxel/transform.rb

Overview

The Chunk type nTRN

Since:

  • 0.1.0

Constant Summary

Constants inherited from Chunk

Chunk::TYPES

Instance Attribute Summary collapse

Attributes inherited from Node

#attributes, #id

Instance Method Summary collapse

Methods inherited from Node

#hidden?, #name

Methods inherited from Chunk

#each, header, #initialize, read

Constructor Details

This class inherits a constructor from MagicaVoxel::Chunk

Instance Attribute Details

#child_idObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/magica_voxel/transform.rb', line 9

def child_id
  @child_id
end

#framesObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/magica_voxel/transform.rb', line 9

def frames
  @frames
end

#layer_idObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/magica_voxel/transform.rb', line 9

def layer_id
  @layer_id
end

#reserved_idObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/magica_voxel/transform.rb', line 9

def reserved_id
  @reserved_id
end

Instance Method Details

#inspectObject

:nodoc:

Since:

  • 0.1.0



14
15
16
# File 'lib/magica_voxel/transform.rb', line 14

def inspect
  "#<MagicaVoxel::Transform id=#{id}, name=#{name}, hidden=#{hidden?}>"
end