<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_191) on Wed Oct 31 14:02:14 UTC 2018 --> <title>Light.Spot (JavaFX 8)</title> <meta name="date" content="2018-10-31"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Light.Spot (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Light.Spot.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/effect/Lighting.html" title="class in javafx.scene.effect"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/effect/Light.Spot.html" target="_top">Frames</a></li> <li><a href="Light.Spot.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.scene.effect.Light">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.scene.effect</div> <h2 title="Class Light.Spot" class="title">Class Light.Spot</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/effect/Light.html" title="class in javafx.scene.effect">javafx.scene.effect.Light</a></li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect">javafx.scene.effect.Light.Point</a></li> <li> <ul class="inheritance"> <li>javafx.scene.effect.Light.Spot</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Enclosing class:</dt> <dd><a href="../../../javafx/scene/effect/Light.html" title="class in javafx.scene.effect">Light</a></dd> </dl> <hr> <br> <pre>public static class <span class="typeNameLabel">Light.Spot</span> extends <a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect">Light.Point</a></pre> <div class="block">Represents a spot light source at a given position in 3D space, with configurable direction and focus. <p> Example: <pre><code> Light.Spot light = new Light.Spot(); light.setX(150); light.setY(100); light.setZ(80); light.setPointsAtX(0); light.setPointsAtY(0); light.setPointsAtZ(-50); light.setSpecularExponent(2); Lighting lighting = new Lighting(); lighting.setLight(light); lighting.setSurfaceScale(5.0); Text text = new Text(); text.setText("Spot"); text.setFill(Color.STEELBLUE); text.setFont(Font.font(null, FontWeight.BOLD, 80)); text.setX(10.0); text.setY(10.0); text.setTextOrigin(VPos.TOP); text.setEffect(lighting); Rectangle rect = new Rectangle(200, 150); rect.setFill(Color.ALICEBLUE); rect.setEffect(lighting); </pre></code> <p> The code above produces the following: </p> <p> <img src="doc-files/lightspot.png"/> </p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== PROPERTY SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="property.summary"> <!-- --> </a> <h3>Property Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Type</th> <th class="colLast" scope="col">Property and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtXProperty">pointsAtX</a></span></code> <div class="block">The x coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtYProperty">pointsAtY</a></span></code> <div class="block">The y coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtZProperty">pointsAtZ</a></span></code> <div class="block">The z coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#specularExponentProperty">specularExponent</a></span></code> <div class="block">The specular exponent, which controls the focus of this light source.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.effect.Light.Point"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.effect.<a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect">Light.Point</a></h3> <code><a href="../../../javafx/scene/effect/Light.Point.html#xProperty">x</a>, <a href="../../../javafx/scene/effect/Light.Point.html#yProperty">y</a>, <a href="../../../javafx/scene/effect/Light.Point.html#zProperty">z</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.scene.effect.Light"> <!-- --> </a> <h3>Properties inherited from class javafx.scene.effect.<a href="../../../javafx/scene/effect/Light.html" title="class in javafx.scene.effect">Light</a></h3> <code><a href="../../../javafx/scene/effect/Light.html#colorProperty">color</a></code></li> </ul> </li> </ul> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested.classes.inherited.from.class.javafx.scene.effect.Light"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class javafx.scene.effect.<a href="../../../javafx/scene/effect/Light.html" title="class in javafx.scene.effect">Light</a></h3> <code><a href="../../../javafx/scene/effect/Light.Distant.html" title="class in javafx.scene.effect">Light.Distant</a>, <a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect">Light.Point</a>, <a href="../../../javafx/scene/effect/Light.Spot.html" title="class in javafx.scene.effect">Light.Spot</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#Spot--">Spot</a></span>()</code> <div class="block">Creates a new instance of Spot light with default parameters.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#Spot-double-double-double-double-javafx.scene.paint.Color-">Spot</a></span>(double x, double y, double z, double specularExponent, <a href="../../../javafx/scene/paint/Color.html" title="class in javafx.scene.paint">Color</a> color)</code> <div class="block">Creates a new instance of Spot light with the specified x, y, z, specularExponent, and color.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtX--">getPointsAtX</a></span>()</code> <div class="block">Gets the value of the property pointsAtX.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtY--">getPointsAtY</a></span>()</code> <div class="block">Gets the value of the property pointsAtY.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtZ--">getPointsAtZ</a></span>()</code> <div class="block">Gets the value of the property pointsAtZ.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#getSpecularExponent--">getSpecularExponent</a></span>()</code> <div class="block">Gets the value of the property specularExponent.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtXProperty--">pointsAtXProperty</a></span>()</code> <div class="block">The x coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtYProperty--">pointsAtYProperty</a></span>()</code> <div class="block">The y coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#pointsAtZProperty--">pointsAtZProperty</a></span>()</code> <div class="block">The z coordinate of the direction vector for this light.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtX-double-">setPointsAtX</a></span>(double value)</code> <div class="block">Sets the value of the property pointsAtX.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtY-double-">setPointsAtY</a></span>(double value)</code> <div class="block">Sets the value of the property pointsAtY.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtZ-double-">setPointsAtZ</a></span>(double value)</code> <div class="block">Sets the value of the property pointsAtZ.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#setSpecularExponent-double-">setSpecularExponent</a></span>(double value)</code> <div class="block">Sets the value of the property specularExponent.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Light.Spot.html#specularExponentProperty--">specularExponentProperty</a></span>()</code> <div class="block">The specular exponent, which controls the focus of this light source.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.effect.Light.Point"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.effect.<a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect">Light.Point</a></h3> <code><a href="../../../javafx/scene/effect/Light.Point.html#getX--">getX</a>, <a href="../../../javafx/scene/effect/Light.Point.html#getY--">getY</a>, <a href="../../../javafx/scene/effect/Light.Point.html#getZ--">getZ</a>, <a href="../../../javafx/scene/effect/Light.Point.html#setX-double-">setX</a>, <a href="../../../javafx/scene/effect/Light.Point.html#setY-double-">setY</a>, <a href="../../../javafx/scene/effect/Light.Point.html#setZ-double-">setZ</a>, <a href="../../../javafx/scene/effect/Light.Point.html#xProperty--">xProperty</a>, <a href="../../../javafx/scene/effect/Light.Point.html#yProperty--">yProperty</a>, <a href="../../../javafx/scene/effect/Light.Point.html#zProperty--">zProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.effect.Light"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.effect.<a href="../../../javafx/scene/effect/Light.html" title="class in javafx.scene.effect">Light</a></h3> <code><a href="../../../javafx/scene/effect/Light.html#colorProperty--">colorProperty</a>, <a href="../../../javafx/scene/effect/Light.html#getColor--">getColor</a>, <a href="../../../javafx/scene/effect/Light.html#setColor-javafx.scene.paint.Color-">setColor</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ PROPERTY DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="property.detail"> <!-- --> </a> <h3>Property Detail</h3> <a name="pointsAtXProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtX</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtXProperty</pre> <div class="block">The x coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtX--"><code>getPointsAtX()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtX-double-"><code>setPointsAtX(double)</code></a></dd> </dl> </li> </ul> <a name="pointsAtYProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtY</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtYProperty</pre> <div class="block">The y coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtY--"><code>getPointsAtY()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtY-double-"><code>setPointsAtY(double)</code></a></dd> </dl> </li> </ul> <a name="pointsAtZProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtZ</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtZProperty</pre> <div class="block">The z coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtZ--"><code>getPointsAtZ()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtZ-double-"><code>setPointsAtZ(double)</code></a></dd> </dl> </li> </ul> <a name="specularExponentProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>specularExponent</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> specularExponentProperty</pre> <div class="block">The specular exponent, which controls the focus of this light source. <pre> Min: 0.0 Max: 4.0 Default: 1.0 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>1.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getSpecularExponent--"><code>getSpecularExponent()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setSpecularExponent-double-"><code>setSpecularExponent(double)</code></a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Spot--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Spot</h4> <pre>public Spot()</pre> <div class="block">Creates a new instance of Spot light with default parameters.</div> </li> </ul> <a name="Spot-double-double-double-double-javafx.scene.paint.Color-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Spot</h4> <pre>public Spot(double x, double y, double z, double specularExponent, <a href="../../../javafx/scene/paint/Color.html" title="class in javafx.scene.paint">Color</a> color)</pre> <div class="block">Creates a new instance of Spot light with the specified x, y, z, specularExponent, and color.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the x coordinate of the light position</dd> <dd><code>y</code> - the y coordinate of the light position</dd> <dd><code>z</code> - the z coordinate of the light position</dd> <dd><code>specularExponent</code> - the specular exponent, which controls the focus of the light source</dd> <dd><code>color</code> - the color of the light</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.1</dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="setPointsAtX-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setPointsAtX</h4> <pre>public final void setPointsAtX(double value)</pre> <div class="block">Sets the value of the property pointsAtX.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The x coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getPointsAtX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPointsAtX</h4> <pre>public final double getPointsAtX()</pre> <div class="block">Gets the value of the property pointsAtX.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The x coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="pointsAtXProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtXProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtXProperty()</pre> <div class="block">The x coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtX--"><code>getPointsAtX()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtX-double-"><code>setPointsAtX(double)</code></a></dd> </dl> </li> </ul> <a name="setPointsAtY-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setPointsAtY</h4> <pre>public final void setPointsAtY(double value)</pre> <div class="block">Sets the value of the property pointsAtY.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The y coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getPointsAtY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPointsAtY</h4> <pre>public final double getPointsAtY()</pre> <div class="block">Gets the value of the property pointsAtY.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The y coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="pointsAtYProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtYProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtYProperty()</pre> <div class="block">The y coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtY--"><code>getPointsAtY()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtY-double-"><code>setPointsAtY(double)</code></a></dd> </dl> </li> </ul> <a name="setPointsAtZ-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setPointsAtZ</h4> <pre>public final void setPointsAtZ(double value)</pre> <div class="block">Sets the value of the property pointsAtZ.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The z coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getPointsAtZ--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPointsAtZ</h4> <pre>public final double getPointsAtZ()</pre> <div class="block">Gets the value of the property pointsAtZ.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The z coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="pointsAtZProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>pointsAtZProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> pointsAtZProperty()</pre> <div class="block">The z coordinate of the direction vector for this light. <pre> Min: n/a Max: n/a Default: 0.0 Identity: n/a </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getPointsAtZ--"><code>getPointsAtZ()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setPointsAtZ-double-"><code>setPointsAtZ(double)</code></a></dd> </dl> </li> </ul> <a name="setSpecularExponent-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSpecularExponent</h4> <pre>public final void setSpecularExponent(double value)</pre> <div class="block">Sets the value of the property specularExponent.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The specular exponent, which controls the focus of this light source. <pre> Min: 0.0 Max: 4.0 Default: 1.0 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>1.0</dd> </dl> </li> </ul> <a name="getSpecularExponent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSpecularExponent</h4> <pre>public final double getSpecularExponent()</pre> <div class="block">Gets the value of the property specularExponent.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The specular exponent, which controls the focus of this light source. <pre> Min: 0.0 Max: 4.0 Default: 1.0 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>1.0</dd> </dl> </li> </ul> <a name="specularExponentProperty--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>specularExponentProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> specularExponentProperty()</pre> <div class="block">The specular exponent, which controls the focus of this light source. <pre> Min: 0.0 Max: 4.0 Default: 1.0 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>1.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Light.Spot.html#getSpecularExponent--"><code>getSpecularExponent()</code></a>, <a href="../../../javafx/scene/effect/Light.Spot.html#setSpecularExponent-double-"><code>setSpecularExponent(double)</code></a></dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Light.Spot.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/effect/Light.Point.html" title="class in javafx.scene.effect"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/effect/Lighting.html" title="class in javafx.scene.effect"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/effect/Light.Spot.html" target="_top">Frames</a></li> <li><a href="Light.Spot.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.scene.effect.Light">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> © 2008, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p> </body> </html>