API Reference > imodeljs-common > Rendering > FeatureTable FeatureTable Class Beta Defines a look-up table for Features within a batched RenderGraphic. Consecutive 32-bit indices are assigned to each unique Feature. Primitives within the RenderGraphic can use per-vertex indices to specify the distribution of Features within the primitive.V A FeatureTable can be shared amongst multiple primitives within a single RenderGraphic, and amongst multiple sub-Graphics of a RenderGraphic. see FeatureSymbology for mechanisms for resymbolizing features within a ViewState. Extends IndexMap<Feature> Methods Name Description constructor(maxFeatures: number, modelId: Id64String = Id64.invalid, type: BatchType = BatchType.Primary): FeatureTable Construct an empty FeatureTable. findFeature(index: number): Feature | undefined Returns the Feature corresponding to the specified index, or undefined if the index is not present. Inherited methods Name Inherited from Description clear(): void IndexMap<Feature> Removes all elements from the map. indexOf(value: Feature): number IndexMap<Feature> Finds the index of an element equivalent to the supplied value. insert(value: Feature, onInsert?: (value: Feature) => any): number IndexMap<Feature> Attempt to insert a new value into the map. lowerBound(value: Feature): { equal: boolean, index: number } Protected IndexMap<Feature> Properties Name Type Description isPlanarClassifier Accessor ReadOnly boolean Returns true if this FeatureTable is associated with BatchType.PlanarClassifier geometry. isUniform Accessor ReadOnly boolean Returns true if this FeatureTable contains exactly one Feature. isVolumeClassifier Accessor ReadOnly boolean Returns true if this FeatureTable is associated with BatchType.VolumeClassifier geometry. maxFeatures Accessor ReadOnly number Returns the maximum number of Features this FeatureTable can contain. modelId Id64String type BatchType uniform Accessor ReadOnly Feature | undefined If this FeatureTable contains exactly one Feature, returns that Feature; otherwise returns undefined. Inherited properties Name Type Inherited from Description _array Protected Array<IndexedValue<Feature>> IndexMap<Feature> _clone Protected CloneFunction<Feature> IndexMap<Feature> _compareValues Protected OrderedComparator<Feature> IndexMap<Feature> _maximumSize Protected number IndexMap<Feature> isEmpty Accessor ReadOnly boolean IndexMap<Feature> Returns true if the map contains no elements. isFull Accessor ReadOnly boolean IndexMap<Feature> Returns true if the maximum number of elements have been inserted. length Accessor ReadOnly number IndexMap<Feature> The number of elements in the map. Defined in core/common/src/FeatureTable.ts Line 110 Last Updated: 13 June, 2024