Cesium3DTileset
        
       
       的点特征。
       还提供对存储在图块的批处理表中的要素属性的访问显示/隐藏要素并更改其点属性的能力
        对
        
         Cesium3DTilePointFeature
        
        对象的修改具有图块的生命周期内容。如果图块的内容被卸载,例如,由于它不可见而需要要为可见的图块释放缓存中的空间,请监听
        
         
          Cesium3DTileset#tileUnload
         
        
        事件以保存任何内容修改。另外,请听
        
         
          Cesium3DTileset#tileVisible
         
        
        事件以重新应用所有修改。
       
        不要直接构造它。通过
        
         
          Cesium3DTileContent#getFeature
         
        
        进行访问或使用
        
         
          Scene#pick
         
        
        和
        
         
          Scene#pickPosition
         
        
        进行选择代码> 。
       
Example:
// On mouse over, display all the properties for a feature in the console log.
handler.setInputAction(function(movement) {
    var feature = scene.pick(movement.endPosition);
    if (feature instanceof Cesium.Cesium3DTilePointFeature) {
        var propertyNames = feature.getPropertyNames();
        var length = propertyNames.length;
        for (var i = 0; i < length; ++i) {
            var propertyName = propertyNames[i];
            console.log(propertyName + ': ' + feature.getProperty(propertyName));
        }
    }
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);Experimental
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.
Members
anchorLineColor : Color
       仅在定义
       
        heightOffset
       
       时应用。
      
       仅在定义
       
        heightOffset
       
       时应用。
      
backgroundColor : Color
       仅在定义
       
        labelText
       
       时应用。
      
       仅在定义
       
        labelText
       
       时应用。
      
backgroundPadding : Cartesian2
       仅在定义
       
        labelText
       
       时应用。
      
       仅在
       
        image
       
       为
       
        undefined
       
       时应用。
      
distanceDisplayCondition : DistanceDisplayCondition
       仅在定义
       
        labelText
       
       时应用。
      
horizontalOrigin : HorizontalOrigin
labelColor : Color
       如果定义了
       
        labelText
       
       ,颜色将应用于标签。
      
labelHorizontalOrigin : HorizontalOrigin
labelOutlineColor : Color
       如果定义了
       
        labelText
       
       ,轮廓颜色将应用于标签。
      
       如果定义了
       
        labelText
       
       ,轮廓宽度将应用于该点。
      
labelStyle : LabelStyle
       仅在定义
       
        labelText
       
       时应用。
      
labelVerticalOrigin : VerticalOrigin
pointOutlineColor : Color
       仅在
       
        image
       
       为
       
        undefined
       
       时应用。
      
       仅在
       
        image
       
       为
       
        undefined
       
       时应用。
      
       仅在
       
        image
       
       为
       
        undefined
       
       时应用。
      
readonly primitive : Cesium3DTileset
        Scene#pick
       
      
      返回的所有对象都具有
      
       primitive
      
      属性。这返回包含要素的图块。
     scaleByDistance : NearFarScalar
- 
      
       Default Value:
      
      
       true
      
     readonly tileset : Cesium3DTileset
translucencyByDistance : NearFarScalar
verticalOrigin : VerticalOrigin
Methods
| Name | Type | Description | 
|---|---|---|
| 
          name
          | String | 属性的名称区分大小写。 | 
Returns:
    未定义
   
   如果该属性不存在。
  Example:
// Display all the properties for a feature in the console log.
var propertyNames = feature.getPropertyNames();
var length = propertyNames.length;
for (var i = 0; i < length; ++i) {
    var propertyName = propertyNames[i];
    console.log(propertyName + ': ' + feature.getProperty(propertyName));
}See:
| Name | Type | Description | 
|---|---|---|
| 
          results
          | Array.<String> | 存储结果的数组。 | 
Returns:
| Name | Type | Description | 
|---|---|---|
| 
          name
          | String | 属性的名称区分大小写。 | 
Returns:
如果具有给定名称的属性不存在,则会创建该属性。
| Name | Type | Description | 
|---|---|---|
| 
          name
          | String | 属性的名称区分大小写。 | 
| 
          value
          | * | 将要复制的属性的值。 | 
Throws:
- 
 
  DeveloperError :继承的批处理表层次结构属性是只读的。
Examples:
var height = feature.getProperty('Height'); // e.g., the height of a buildingvar name = 'clicked';
if (feature.getProperty(name)) {
    console.log('already clicked');
} else {
    feature.setProperty(name, true);
    console.log('first click');
}