Class: Stagecraft::MatrixNode
Instance Attribute Summary collapse
-
#matrix ⇒ Object
Returns the value of attribute matrix.
Attributes inherited from Node
#cast_shadow, #children, #name, #parent, #position, #receive_shadow, #render_order, #rotation, #scale, #visible, #world_version
Instance Method Summary collapse
-
#initialize(matrix) ⇒ MatrixNode
constructor
A new instance of MatrixNode.
Methods inherited from Node
#add, #find, #local_matrix, #look_at, #remove, #transform_dirty!, #traverse, #world_matrix, #world_matrix_with_version, #world_position
Constructor Details
#initialize(matrix) ⇒ MatrixNode
Returns a new instance of MatrixNode.
147 148 149 150 |
# File 'lib/stagecraft/core/node.rb', line 147 def initialize(matrix, **) super(**) self.matrix = matrix end |
Instance Attribute Details
#matrix ⇒ Object
Returns the value of attribute matrix.
145 146 147 |
# File 'lib/stagecraft/core/node.rb', line 145 def matrix @matrix end |