class Mittsu::Scene
Attributes
auto_update[RW]
fog[RW]
override_material[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
Mittsu::Object3D::new
# File lib/mittsu/scenes/scene.rb, line 6 def initialize super @type = 'Scene' @auto_update = true end
Public Instance Methods
clone(object = Scene.new)
click to toggle source
Calls superclass method
Mittsu::Object3D#clone
# File lib/mittsu/scenes/scene.rb, line 14 def clone(object = Scene.new) super object.fog = fog unless fog.nil? object.override_material = override_material unless override_material.nil? object.auto_update = auto_update object.matrix_auto_update = matrix_auto_update object end