Spot

scalafx.scene.effect.Light.Spot
See theSpot companion object
class Spot(val delegate: Spot) extends Point, SFXDelegate[Spot]

Attributes

Companion
object
Graph
Supertypes
class Point
trait PositionDelegate[Point]
class Light
trait ColorDelegate[Light]
trait SFXDelegate[Spot]
class Object
trait Matchable
class Any
Show all

Members list

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

Attributes

Concrete methods

The x coordinate of the direction vector for this light.

The x coordinate of the direction vector for this light.

Attributes

The y coordinate of the direction vector for this light.

The y coordinate of the direction vector for this light.

Attributes

The z coordinate of the direction vector for this light.

The z coordinate of the direction vector for this light.

Attributes

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

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

Attributes

Inherited methods

def color: ObjectProperty[Color]

The Effect's color.

The Effect's color.

Attributes

Inherited from:
ColorDelegate
def color_=(c: Color): Unit

Attributes

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

X Position

X Position

Attributes

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

Attributes

Inherited from:
PositionDelegate

Y Position

Y Position

Attributes

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

Attributes

Inherited from:
PositionDelegate

The z coordinate of the light position.

The z coordinate of the light position.

Attributes

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

Attributes

Inherited from:
Point

Concrete fields

override val delegate: Spot

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes