Top Description Fields Constructors Methods
com.sun.javafx.sg.prism

public Class NGSpotLight

extends NGPointLight
Class Inheritance
Imports
com.sun.javafx.geom.Vec3d, javafx.geometry.Point3D

The peer of the SpotLight class. Holds the default values of SpotLight's properties and updates the visuals via NGNode#visualsChanged when one of the current values changes. The peer receives its changes by javafx.scene.SpotLight#doUpdatePeer calls.

Field Summary

Modifier and TypeField and Description
private static final Point3D
DEFAULT_DIRECTION

Direction default value

private static final float
DEFAULT_FALLOFF

Falloff default value

private static final float
DEFAULT_INNER_ANGLE

Inner angle default value

private static final float
DEFAULT_OUTER_ANGLE

Outer angle default value

private Point3D
private final Vec3d
private float
private float
private float

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Point3D
public static float
public static float
public static float
public Point3D
public float
public float
public float
public void
setDirection(Point3D direction)

public void
setFalloff(float falloff)

public void
setInnerAngle(float innerAngle)

public void
setOuterAngle(float outerAngle)

Inherited from com.sun.javafx.sg.prism.NGPointLight:
getCagetDefaultCagetDefaultLagetDefaultMaxRangegetDefaultQagetLagetMaxRangegetQagetSimulatedDirectiongetSimulatedFalloffgetSimulatedInnerAnglegetSimulatedOuterAnglesetCasetLasetMaxRangesetQa

Field Detail

DEFAULT_DIRECTIONback to summary
private static final Point3D DEFAULT_DIRECTION

Direction default value

DEFAULT_FALLOFFback to summary
private static final float DEFAULT_FALLOFF

Falloff default value

DEFAULT_INNER_ANGLEback to summary
private static final float DEFAULT_INNER_ANGLE

Inner angle default value

DEFAULT_OUTER_ANGLEback to summary
private static final float DEFAULT_OUTER_ANGLE

Outer angle default value

directionback to summary
private Point3D direction
effectiveDirback to summary
private final Vec3d effectiveDir
falloffback to summary
private float falloff
innerAngleback to summary
private float innerAngle
outerAngleback to summary
private float outerAngle

Constructor Detail

NGSpotLightback to summary
public NGSpotLight()

Method Detail

getDefaultDirectionback to summary
public static Point3D getDefaultDirection()
getDefaultFalloffback to summary
public static float getDefaultFalloff()
getDefaultInnerAngleback to summary
public static float getDefaultInnerAngle()
getDefaultOuterAngleback to summary
public static float getDefaultOuterAngle()
getDirectionback to summary
public Point3D getDirection()
getFalloffback to summary
public float getFalloff()
getInnerAngleback to summary
public float getInnerAngle()
getOuterAngleback to summary
public float getOuterAngle()
setDirectionback to summary
public void setDirection(Point3D direction)
setFalloffback to summary
public void setFalloff(float falloff)
setInnerAngleback to summary
public void setInnerAngle(float innerAngle)
setOuterAngleback to summary
public void setOuterAngle(float outerAngle)