I saw in the document that the feature of 3dtiles is obtained by clicking. If not by clicking, but by id or other attributes, how to obtain a feature?
Official document of Cesium3DTileFeature
https://cesium.com/docs/cesiumjs-ref-doc/Cesium3DTileFeature.html
handler.setInputAction(function(movement) {
var feature = scene.pick(movement.endPosition);
if (feature instanceof Cesium.Cesium3DTileFeature) {
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);