Spot

class Spot(val delegate: Spot) extends Point with SFXDelegate[Spot]
Companion
object
class Point
trait PositionDelegate[Point]
class Light
trait ColorDelegate[Light]
trait SFXDelegate[Spot]
class Object
trait Matchable
class Any

Value members

Constructors

def this(x: Double, y: Double, z: Double, specularExponent: Double, color: Color)

Creates a new instance of Spot light with the specified x, y, z, specularExponent, and color

Creates a new instance of Spot light with the specified x, y, z, specularExponent, and color

Concrete methods

The x coordinate of the direction vector for this light.

The x coordinate of the direction vector for this light.

def pointsAtX_=(v: Double): Unit

The y coordinate of the direction vector for this light.

The y coordinate of the direction vector for this light.

def pointsAtY_=(v: Double): Unit

The z coordinate of the direction vector for this light.

The z coordinate of the direction vector for this light.

def pointsAtZ_=(v: Double): Unit

The specular exponent, which controls the focus of this light source.

The specular exponent, which controls the focus of this light source.

def specularExponent_=(v: Double): Unit

Inherited methods

def color: ObjectProperty[Color]

The Effect's color.

The Effect's color.

Inherited from
ColorDelegate
def color_=(c: Color): Unit
Inherited from
ColorDelegate
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

X Position

X Position

Inherited from
PositionDelegate
def x_=(v: Double): Unit
Inherited from
PositionDelegate

Y Position

Y Position

Inherited from
PositionDelegate
def y_=(v: Double): Unit
Inherited from
PositionDelegate

The z coordinate of the light position.

The z coordinate of the light position.

Inherited from
Point
def z_=(v: Double): Unit
Inherited from
Point

Concrete fields

override val delegate: Spot