Source.fromScene constructor

Source.fromScene(
  1. String source
)

Creates a new source from a scene. The source should be pointing to a valid scene file.

Implementation

Source.fromScene(this.source) : _type = "scene";