Describes a "feature" within a batched RenderGraphic. A batched RenderGraphic can contain multiple features. Each feature is associated with a unique combination of attributes (elementId, subcategory, geometry class). This allows geometry to be more efficiently batched on the GPU, while enabling features to be re-symbolized individually.
As a simple example, a single mesh primitive may contain geometry for 3 elements, all belonging to the same subcategory and geometry class. The mesh would therefore contain 3 Features. Each vertex within the mesh would be associated with the index of the Feature to which it belongs, where the index is determined by the FeatureTable associated with the primitive.
|constructor(elementId: Id64String = Id64.invalid, subCategoryId: Id64String = Id64.invalid, geometryClass: GeometryClass = GeometryClass.Primary): Feature|
|compare(rhs: Feature): number||Performs ordinal comparison of this feature with another.|
|equals(other: Feature): boolean||Returns true if this feature is equivalent to the supplied feature.|
|isDefined Accessor ReadOnly||boolean|
|isUndefined Accessor ReadOnly||boolean|
Last Updated: 20 September, 2019