Class: Collada::Parser::Geometry
- Inherits:
-
Object
- Object
- Collada::Parser::Geometry
- Defined in:
- lib/collada/parser/scene.rb,
lib/collada/parser/geometry.rb
Defined Under Namespace
Classes: Mesh
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#mesh ⇒ Object
readonly
Returns the value of attribute mesh.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id, name, mesh, attributes) ⇒ Geometry
constructor
A new instance of Geometry.
Constructor Details
#initialize(id, name, mesh, attributes) ⇒ Geometry
Returns a new instance of Geometry.
195 196 197 |
# File 'lib/collada/parser/scene.rb', line 195 def initialize(mesh) @mesh = mesh end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
223 224 225 |
# File 'lib/collada/parser/geometry.rb', line 223 def attributes @attributes end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
219 220 221 |
# File 'lib/collada/parser/geometry.rb', line 219 def id @id end |
#mesh ⇒ Object (readonly)
Returns the value of attribute mesh.
199 200 201 |
# File 'lib/collada/parser/scene.rb', line 199 def mesh @mesh end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
220 221 222 |
# File 'lib/collada/parser/geometry.rb', line 220 def name @name end |