APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.sg.prism

public Class NGDirectionalLight

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

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

Field Summary

Modifier and TypeField and Description
private static final Point3D
DEFAULT_DIRECTION

Direction default value

private Point3D
private final Vec3d
Inherited from com.sun.javafx.sg.prism.NGLightBase:
excludedNodesscopedNodes

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Inherited from com.sun.javafx.sg.prism.NGLightBase:
affectsdoRendergetColorgetWorldTransformhasOverlappingContentsisLightOnreleaserenderContentsetColorsetExclusionScopesetLightOnsetScopesetTransformMatrixsetWorldTransform

Field Detail

DEFAULT_DIRECTIONback to summary
private static final Point3D DEFAULT_DIRECTION

Direction default value

directionback to summary
private Point3D direction
effectiveDirback to summary
private final Vec3d effectiveDir

Constructor Detail

NGDirectionalLightback to summary
public NGDirectionalLight()

Method Detail

getDefaultDirectionback to summary
public static Point3D getDefaultDirection()
getDirectionback to summary
public Point3D getDirection()
setDirectionback to summary
public void setDirection(Point3D direction)