cesium-examples/map/3d/static/Cesium/Build/Documentation/Cesium3DTileStyle.html

2419 lines
102 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cesium3DTileStyle - Cesium Documentation</title>
<!--[if lt IE 9]>
<script src="javascript/html5.js"></script>
<![endif]-->
<link href="styles/jsdoc-default.css" rel="stylesheet">
<link href="styles/prism.css" rel="stylesheet">
</head>
<body>
<div id="main">
<h1 class="page-title">
<a href="index.html"><img src="Images/CesiumLogo.png" class="cesiumLogo"></a>
Cesium3DTileStyle
<div class="titleCenterer"></div>
</h1>
<section>
<header>
</header>
<article>
<div class="container-overview">
<div class="nameContainer">
<h4 class="name" id="Cesium3DTileStyle">
<a href="#Cesium3DTileStyle" class="doc-link"></a>
new Cesium.Cesium3DTileStyle<span class="signature">(<span class="optional">style</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L58">Scene/Cesium3DTileStyle.js 58</a>
</div>
</h4>
</div>
<div class="description">
A style that is applied to a <a href="Cesium3DTileset.html"><code>Cesium3DTileset</code></a>. <p> Evaluates an expression defined using the <a href="https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification/Styling">3D Tiles Styling language</a>. </p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>style</code></td>
<td class="type">
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
<span class="param-type">String</span>
|
<span class="param-type">Object</span>
</td>
<td class="description last">
<span class="optional">optional</span>
The url of a style or an object defining a style.</td>
</tr>
</tbody>
</table>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">tileset.style = new Cesium.Cesium3DTileStyle({ color : { conditions : [ ['${Height} >= 100', 'color("purple", 0.5)'], ['${Height} >= 50', 'color("red")'], ['true', 'color("blue")'] ] }, show : '${Height} > 0', meta : { description : '"Building id ${id} has height ${Height}."' } });</code></pre>
<pre><code class="language-javascript">tileset.style = new Cesium.Cesium3DTileStyle({ color : 'vec4(${Temperature})', pointSize : '${Temperature} * 2.0' });</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification/Styling">3D Tiles Styling language</a></li>
</ul>
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<div class="nameContainer">
<h4 class="name" id="anchorLineColor">
<a href="#anchorLineColor" class="doc-link"></a>
anchorLineColor<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1226">Scene/Cesium3DTileStyle.js 1226</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>anchorLineColor</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override anchorLineColor expression with a string style.anchorLineColor = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override anchorLineColor expression with a condition style.anchorLineColor = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="anchorLineEnabled">
<a href="#anchorLineEnabled" class="doc-link"></a>
anchorLineEnabled<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1177">Scene/Cesium3DTileStyle.js 1177</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>anchorLineEnabled</code> property. Alternatively a string or object defining a boolean style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Boolean</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override anchorLineEnabled expression with a string style.anchorLineEnabled = 'true';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override anchorLineEnabled expression with a condition style.anchorLineEnabled = { conditions : [ ['${height} > 2', 'true'], ['true', 'false'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="backgroundColor">
<a href="#backgroundColor" class="doc-link"></a>
backgroundColor<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L870">Scene/Cesium3DTileStyle.js 870</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>backgroundColor</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override backgroundColor expression with a string style.backgroundColor = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override backgroundColor expression with a condition style.backgroundColor = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="backgroundEnabled">
<a href="#backgroundEnabled" class="doc-link"></a>
backgroundEnabled<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L959">Scene/Cesium3DTileStyle.js 959</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>backgroundEnabled</code> property. Alternatively a string or object defining a boolean style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Boolean</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override backgroundEnabled expression with a string style.backgroundEnabled = 'true';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override backgroundEnabled expression with a condition style.backgroundEnabled = { conditions : [ ['${height} > 2', 'true'], ['true', 'false'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="backgroundPadding">
<a href="#backgroundPadding" class="doc-link"></a>
backgroundPadding<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L910">Scene/Cesium3DTileStyle.js 910</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>backgroundPadding</code> property. Alternatively a string or object defining a vec2 style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Cartesian2</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override backgroundPadding expression with a string style.backgroundPadding = 'vec2(5.0, 7.0)'; style.backgroundPadding.evaluate(feature); // returns a Cartesian2</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="color">
<a href="#color" class="doc-link"></a>
color<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L360">Scene/Cesium3DTileStyle.js 360</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>color</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is applicable to all tile formats. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ color : '(${Temperature} > 90) ? color("red") : color("white")' }); style.color.evaluateColor(feature, result); // returns a Cesium.Color object</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override color expression with a custom function style.color = { evaluateColor : function(feature, result) { return Cesium.Color.clone(Cesium.Color.WHITE, result); } };</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override color expression with a string style.color = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override color expression with a condition style.color = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="disableDepthTestDistance">
<a href="#disableDepthTestDistance" class="doc-link"></a>
disableDepthTestDistance<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1315">Scene/Cesium3DTileStyle.js 1315</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>disableDepthTestDistance</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Number</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override disableDepthTestDistance expression with a string style.disableDepthTestDistance = '1000.0'; style.disableDepthTestDistance.evaluate(feature); // returns a Number</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="distanceDisplayCondition">
<a href="#distanceDisplayCondition" class="doc-link"></a>
distanceDisplayCondition<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1079">Scene/Cesium3DTileStyle.js 1079</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>distanceDisplayCondition</code> property. Alternatively a string or object defining a vec2 style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Cartesian2</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override distanceDisplayCondition expression with a string style.distanceDisplayCondition = 'vec2(0.0, 5.5e6)'; style.distanceDisplayCondition.evaluate(feature); // returns a Cartesian2</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="font">
<a href="#font" class="doc-link"></a>
font<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L723">Scene/Cesium3DTileStyle.js 723</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>font</code> property. Alternatively a string or object defining a string style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>String</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ font : '(${Temperature} > 90) ? "30px Helvetica" : "24px Helvetica"' }); style.font.evaluate(feature); // returns a String</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override font expression with a custom function style.font = { evaluate : function(feature) { return '24px Helvetica'; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="heightOffset">
<a href="#heightOffset" class="doc-link"></a>
heightOffset<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1128">Scene/Cesium3DTileStyle.js 1128</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>heightOffset</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Number</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override heightOffset expression with a string style.heightOffset = '2.0';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override heightOffset expression with a condition style.heightOffset = { conditions : [ ['${height} > 2', '4.0'], ['true', '2.0'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="horizontalOrigin">
<a href="#horizontalOrigin" class="doc-link"></a>
horizontalOrigin<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1364">Scene/Cesium3DTileStyle.js 1364</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>horizontalOrigin</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>HorizontalOrigin</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ horizontalOrigin : HorizontalOrigin.LEFT }); style.horizontalOrigin.evaluate(feature); // returns a HorizontalOrigin</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override horizontalOrigin expression with a custom function style.horizontalOrigin = { evaluate : function(feature) { return HorizontalOrigin.CENTER; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="image">
<a href="#image" class="doc-link"></a>
image<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1275">Scene/Cesium3DTileStyle.js 1275</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>image</code> property. Alternatively a string or object defining a string style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>String</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ image : '(${Temperature} > 90) ? "/url/to/image1" : "/url/to/image2"' }); style.image.evaluate(feature); // returns a String</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override image expression with a custom function style.image = { evaluate : function(feature) { return '/url/to/image'; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelColor">
<a href="#labelColor" class="doc-link"></a>
labelColor<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L576">Scene/Cesium3DTileStyle.js 576</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelColor</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelColor expression with a string style.labelColor = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelColor expression with a condition style.labelColor = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelHorizontalOrigin">
<a href="#labelHorizontalOrigin" class="doc-link"></a>
labelHorizontalOrigin<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1462">Scene/Cesium3DTileStyle.js 1462</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelHorizontalOrigin</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>HorizontalOrigin</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ labelHorizontalOrigin : HorizontalOrigin.LEFT }); style.labelHorizontalOrigin.evaluate(feature); // returns a HorizontalOrigin</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelHorizontalOrigin expression with a custom function style.labelHorizontalOrigin = { evaluate : function(feature) { return HorizontalOrigin.CENTER; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelOutlineColor">
<a href="#labelOutlineColor" class="doc-link"></a>
labelOutlineColor<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L625">Scene/Cesium3DTileStyle.js 625</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelOutlineColor</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelOutlineColor expression with a string style.labelOutlineColor = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelOutlineColor expression with a condition style.labelOutlineColor = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelOutlineWidth">
<a href="#labelOutlineWidth" class="doc-link"></a>
labelOutlineWidth<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L674">Scene/Cesium3DTileStyle.js 674</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelOutlineWidth</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Number</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelOutlineWidth expression with a string style.labelOutlineWidth = '5';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelOutlineWidth expression with a condition style.labelOutlineWidth = { conditions : [ ['${height} > 2', '5'], ['true', '0'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelStyle">
<a href="#labelStyle" class="doc-link"></a>
labelStyle<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L772">Scene/Cesium3DTileStyle.js 772</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>label style</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>LabelStyle</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ labelStyle : '(${Temperature} > 90) ? ' + LabelStyle.FILL_AND_OUTLINE + ' : ' + LabelStyle.FILL }); style.labelStyle.evaluate(feature); // returns a LabelStyle</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelStyle expression with a custom function style.labelStyle = { evaluate : function(feature) { return LabelStyle.FILL; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelText">
<a href="#labelText" class="doc-link"></a>
labelText<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L821">Scene/Cesium3DTileStyle.js 821</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelText</code> property. Alternatively a string or object defining a string style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>String</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ labelText : '(${Temperature} > 90) ? ">90" : "&lt;=90"' }); style.labelText.evaluate(feature); // returns a String</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelText expression with a custom function style.labelText = { evaluate : function(feature) { return 'Example label text'; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="labelVerticalOrigin">
<a href="#labelVerticalOrigin" class="doc-link"></a>
labelVerticalOrigin<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1511">Scene/Cesium3DTileStyle.js 1511</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>labelVerticalOrigin</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>VerticalOrigin</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ labelVerticalOrigin : VerticalOrigin.TOP }); style.labelVerticalOrigin.evaluate(feature); // returns a VerticalOrigin</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override labelVerticalOrigin expression with a custom function style.labelVerticalOrigin = { evaluate : function(feature) { return VerticalOrigin.CENTER; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="meta">
<a href="#meta" class="doc-link"></a>
meta<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1545">Scene/Cesium3DTileStyle.js 1545</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the object containing application-specific expression that can be explicitly evaluated, e.g., for display in a UI.
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ meta : { description : '"Building id ${id} has height ${Height}."' } }); style.meta.description.evaluate(feature); // returns a String with the substituted variables</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="pointOutlineColor">
<a href="#pointOutlineColor" class="doc-link"></a>
pointOutlineColor<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L478">Scene/Cesium3DTileStyle.js 478</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>pointOutlineColor</code> property. Alternatively a string or object defining a color style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Color</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointOutlineColor expression with a string style.pointOutlineColor = 'color("blue")';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointOutlineColor expression with a condition style.pointOutlineColor = { conditions : [ ['${height} > 2', 'color("cyan")'], ['true', 'color("blue")'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="pointOutlineWidth">
<a href="#pointOutlineWidth" class="doc-link"></a>
pointOutlineWidth<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L527">Scene/Cesium3DTileStyle.js 527</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>pointOutlineWidth</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Number</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointOutlineWidth expression with a string style.pointOutlineWidth = '5';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointOutlineWidth expression with a condition style.pointOutlineWidth = { conditions : [ ['${height} > 2', '5'], ['true', '0'] ] };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="pointSize">
<a href="#pointSize" class="doc-link"></a>
pointSize<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L428">Scene/Cesium3DTileStyle.js 428</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>pointSize</code> property. Alternatively a string or object defining a point size style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Number</code>. </p> <p> This expression is only applicable to point features in a Vector tile or a Point Cloud tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ pointSize : '(${Temperature} > 90) ? 2.0 : 1.0' }); style.pointSize.evaluate(feature); // returns a Number</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointSize expression with a custom function style.pointSize = { evaluate : function(feature) { return 1.0; } };</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointSize expression with a number style.pointSize = 1.0;</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointSize expression with a string style.pointSize = '${height} / 10';</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override pointSize expression with a condition style.pointSize = { conditions : [ ['${height} > 2', '1.0'], ['true', '2.0'] ] };</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="ready">
<a href="#ready" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span>ready<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L224">Scene/Cesium3DTileStyle.js 224</a>
</div>
</h4>
</div>
<div class="description">
When <code>true</code>, the style is ready and its expressions can be evaluated. When a style is constructed with an object, as opposed to a url, this is <code>true</code> immediately.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="readyPromise">
<a href="#readyPromise" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span>readyPromise<span class="type-signature"> : Promise.&lt;<a href="Cesium3DTileStyle.html">Cesium3DTileStyle</a>></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L238">Scene/Cesium3DTileStyle.js 238</a>
</div>
</h4>
</div>
<div class="description">
Gets the promise that will be resolved when the the style is ready and its expressions can be evaluated.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="scaleByDistance">
<a href="#scaleByDistance" class="doc-link"></a>
scaleByDistance<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L999">Scene/Cesium3DTileStyle.js 999</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>scaleByDistance</code> property. Alternatively a string or object defining a vec4 style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Cartesian4</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override scaleByDistance expression with a string style.scaleByDistance = 'vec4(1.5e2, 2.0, 1.5e7, 0.5)'; style.scaleByDistance.evaluate(feature); // returns a Cartesian4</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="show">
<a href="#show" class="doc-link"></a>
show<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L297">Scene/Cesium3DTileStyle.js 297</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>show</code> property. Alternatively a boolean, string, or object defining a show style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return or convert to a <code>Boolean</code>. </p> <p> This expression is applicable to all tile formats. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ show : '(regExp("^Chest").test(${County})) &amp;&amp; (${YearBuilt} >= 1970)' }); style.show.evaluate(feature); // returns true or false depending on the feature's properties</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override show expression with a custom function style.show = { evaluate : function(feature) { return true; } };</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override show expression with a boolean style.show = true; };</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override show expression with a string style.show = '${Height} > 0'; };</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override show expression with a condition style.show = { conditions: [ ['${height} > 2', 'false'], ['true', 'true'] ]; };</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="style">
<a href="#style" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span>style<span class="type-signature"> : Object</span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L201">Scene/Cesium3DTileStyle.js 201</a>
</div>
</h4>
</div>
<div class="description">
Gets the object defining the style using the <a href="https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification/Styling">3D Tiles Styling language</a>.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">{}</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="translucencyByDistance">
<a href="#translucencyByDistance" class="doc-link"></a>
translucencyByDistance<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1039">Scene/Cesium3DTileStyle.js 1039</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>translucencyByDistance</code> property. Alternatively a string or object defining a vec4 style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>Cartesian4</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override translucencyByDistance expression with a string style.translucencyByDistance = 'vec4(1.5e2, 1.0, 1.5e7, 0.2)'; style.translucencyByDistance.evaluate(feature); // returns a Cartesian4</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
<div class="nameContainer">
<h4 class="name" id="verticalOrigin">
<a href="#verticalOrigin" class="doc-link"></a>
verticalOrigin<span class="type-signature"> : <a href="StyleExpression.html">StyleExpression</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.58/Source/Scene/Cesium3DTileStyle.js#L1413">Scene/Cesium3DTileStyle.js 1413</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the <a href="StyleExpression.html"><code>StyleExpression</code></a> object used to evaluate the style's <code>verticalOrigin</code> property. Alternatively a string or object defining a number style can be used. The getter will return the internal <a href="Expression.html"><code>Expression</code></a> or <a href="ConditionsExpression.html"><code>ConditionsExpression</code></a>, which may differ from the value provided to the setter. <p> The expression must return a <code>VerticalOrigin</code>. </p> <p> This expression is only applicable to point features in a Vector tile. </p>
</div>
<dl class="details">
<h5>Examples:</h5>
<pre><code class="language-javascript">var style = new Cesium3DTileStyle({ verticalOrigin : VerticalOrigin.TOP }); style.verticalOrigin.evaluate(feature); // returns a VerticalOrigin</code></pre>
<pre><code class="language-javascript">var style = new Cesium.Cesium3DTileStyle(); // Override verticalOrigin expression with a custom function style.verticalOrigin = { evaluate : function(feature) { return VerticalOrigin.CENTER; } };</code></pre>
<div class="tag-experimental">
<h5>Experimental</h5>
<p>This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.</p>
</div>
</dl>
</article>
</section>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.2</a>
</footer>
</div>
<div class="nav">
<div class="menu">
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
<ul id="ClassList"><li data-name="Animation"><a href="Animation.html">Animation</a></li><li data-name="AnimationViewModel"><a href="AnimationViewModel.html">AnimationViewModel</a></li><li data-name="Appearance"><a href="Appearance.html">Appearance</a></li><li data-name="ArcGisMapServerImageryProvider"><a href="ArcGisMapServerImageryProvider.html">ArcGisMapServerImageryProvider</a></li><li data-name="ArcType"><a href="ArcType.html">ArcType</a></li><li data-name="AssociativeArray"><a href="AssociativeArray.html">AssociativeArray</a></li><li data-name="AxisAlignedBoundingBox"><a href="AxisAlignedBoundingBox.html">AxisAlignedBoundingBox</a></li><li data-name="barycentricCoordinates"><a href="barycentricCoordinates.html">barycentricCoordinates</a></li><li data-name="BaseLayerPicker"><a href="BaseLayerPicker.html">BaseLayerPicker</a></li><li data-name="BaseLayerPickerViewModel"><a href="BaseLayerPickerViewModel.html">BaseLayerPickerViewModel</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="BillboardCollection"><a href="BillboardCollection.html">BillboardCollection</a></li><li data-name="BillboardGraphics"><a href="BillboardGraphics.html">BillboardGraphics</a></li><li data-name="BillboardVisualizer"><a href="BillboardVisualizer.html">BillboardVisualizer</a></li><li data-name="binarySearch"><a href="binarySearch.html">binarySearch</a></li><li data-name="BingMapsApi"><a href="BingMapsApi.html">BingMapsApi</a></li><li data-name="BingMapsGeocoderService"><a href="BingMapsGeocoderService.html">BingMapsGeocoderService</a></li><li data-name="BingMapsImageryProvider"><a href="BingMapsImageryProvider.html">BingMapsImageryProvider</a></li><li data-name="BingMapsStyle"><a href="BingMapsStyle.html">BingMapsStyle</a></li><li data-name="BlendEquation"><a href="BlendEquation.html">BlendEquation</a></li><li data-name="BlendFunction"><a href="BlendFunction.html">BlendFunction</a></li><li data-name="BlendingState"><a href="BlendingState.html">BlendingState</a></li><li data-name="BlendOption"><a href="BlendOption.html">BlendOption</a></li><li data-name="BoundingRectangle"><a href="BoundingRectangle.html">BoundingRectangle</a></li><li data-name="BoundingSphere"><a href="BoundingSphere.html">BoundingSphere</a></li><li data-name="BoxEmitter"><a href="BoxEmitter.html">BoxEmitter</a></li><li data-name="BoxGeometry"><a href="BoxGeometry.html">BoxGeometry</a></li><li data-name="BoxGeometryUpdater"><a href="BoxGeometryUpdater.html">BoxGeometryUpdater</a></li><li data-name="BoxGraphics"><a href="BoxGraphics.html">BoxGraphics</a></li><li data-name="BoxOutlineGeometry"><a href="BoxOutlineGeometry.html">BoxOutlineGeometry</a></li><li data-name="CallbackProperty"><a href="CallbackProperty.html">CallbackProperty</a></li><li data-name="Camera"><a href="Camera.html">Camera</a></li><li data-name="CameraEventAggregator"><a href="CameraEventAggregator.html">CameraEventAggregator</a></li><li data-name="CameraEventType"><a href="CameraEventType.html">CameraEventType</a></li><li data-name="cancelAnimationFrame"><a href="cancelAnimationFrame.html">cancelAnimationFrame</a></li><li data-name="Cartesian2"><a href="Cartesian2.html">Cartesian2</a></li><li data-name="Cartesian3"><a href="Cartesian3.html">Cartesian3</a></li><li data-name="Cartesian4"><a href="Cartesian4.html">Cartesian4</a></li><li data-name="Cartographic"><a href="Cartographic.html">Cartographic</a></li><li data-name="CartographicGeocoderService"><a href="CartographicGeocoderService.html">CartographicGeocoderService</a></li><li data-name="CatmullRomSpline"><a href="CatmullRomSpline.html">CatmullRomSpline</a></li><li data-name="Cesium3DTile"><a href="Cesium3DTile.html">Cesium3DTile</a></li><li data-name="Cesium3DTileColorBlendMode"><a href="Cesium3DTileColorBlendMode.html">Cesium3DTileColorBlendMode</a></li><li data-name="Cesium3DTileContent"><a href="Cesium3DTileContent.html">Cesium3DTileContent</a></li><li data-name="Cesium3DTileFeature"><a href="Cesium3DTileFeature.html">Cesium3DTileFeature</a></li><li data-name="Cesium3DTilePointFeature"><a href="Cesium3
</div>
</div>
<script>
if (window.frameElement) {
document.body.className = 'embedded';
var ele = document.createElement('a');
ele.className = 'popout';
ele.target = '_blank';
ele.href = window.location.href;
ele.title = 'Pop out';
document.getElementById('main').appendChild(ele);
}
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
if (/^https?:/i.test(a.getAttribute('href'))) {
a.target='_blank';
}
});
</script>
<script src="javascript/prism.js"></script>
<script src="javascript/cesiumDoc.js"></script>
</body>
</html>