Cesium3DTileset
        
       
       的一个点特征。
       提供对存储在切片批处理表中的要素属性的访问,以及显示/隐藏要素和更改其点属性的能力
        对
        
         Cesium3DTilePointFeature
        
        对象的修改具有图块内容的生命周期。如果 tile 的内容被卸载,例如,由于它不在视野中并且需要释放缓存中的空间以供可见的 tile 使用,请侦听
        
         
          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) {
    const feature = scene.pick(movement.endPosition);
    if (feature instanceof Cesium.Cesium3DTilePointFeature) {
        const propertyIds = feature.getPropertyIds();
        const length = propertyIds.length;
        for (let i = 0; i < length; ++i) {
            const propertyId = propertyIds[i];
            console.log(`{propertyId}: ${feature.getProperty(propertyId)}`);
        }
    }
}, 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:
    undefined
   
   。
  Example:
// Display all the properties for a feature in the console log.
const propertyIds = feature.getPropertyIds();
const length = propertyIds.length;
for (let i = 0; i < length; ++i) {
    const propertyId = propertyIds[i];
    console.log(`{propertyId} : ${feature.getProperty(propertyId)}`);
}See:
| Name | Type | Description | 
|---|---|---|
| 
          results
          | Array.<String> | 可选 存储结果的数组。 | 
Returns:
| Name | Type | Description | 
|---|---|---|
| 
          results
          | Array.<String> | 可选 存储结果的数组。 | 
Returns:
Deprecated: true
See:
| Name | Type | Description | 
|---|---|---|
| 
          name
          | String | 属性的区分大小写的名称。 | 
Returns:
如果具有给定名称的属性不存在,则会创建它。
| Name | Type | Description | 
|---|---|---|
| 
          name
          | String | 属性的区分大小写的名称。 | 
| 
          value
          | * | 将被复制的属性的值。 | 
Throws:
- 
 
  DeveloperError :继承的批处理表层次结构属性是只读的。
Examples:
const height = feature.getProperty('Height'); // e.g., the height of a buildingconst name = 'clicked';
if (feature.getProperty(name)) {
    console.log('already clicked');
} else {
    feature.setProperty(name, true);
    console.log('first click');
}