Source

scalation.scala3d.Source
case class Source(size: Int, name: String, location: Point3D, color: Color)

The Source case class is used to create vehicles in the animation.

Value parameters

color

the color of the source

location

the location of the source in the scene

name

the name of the source

size

the size of the source

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def showStats(): Unit

Show the statistics collected by this Source.

Show the statistics collected by this Source.

Attributes

override def toString: String

Convert this Source to a string.

Convert this Source to a string.

Attributes

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val entry: Box
val surface: PhongMaterial