GeometryAppearanceProps Interface

Establish a non-default SubCategory or to override SubCategoryAppearance for the geometry that follows. A GeometryAppearanceProps always signifies a reset to the SubCategoryAppearance for subsequent GeometryStreamProps entries for undefined values.

see GeometryStreamEntryProps

extensions

Properties

Name Type Description
color undefined | number Optional color to override SubCategoryAppearance.color for subsequent geometry.  
displayPriority undefined | number Optional display priority (2d only), 0 if undefined.  
geometryClass undefined | GeometryClass Optional GeometryClass (for DGN compatibility, subCategories preferred), GeometryClass.Primary if undefined.  
style undefined | string Optional style to override SubCategoryAppearance.styleId for subsequent geometry.  
subCategory undefined | string Optional SubCategory id for subsequent geometry.  
transparency undefined | number Optional transparency, 0.0 if undefined.  
weight undefined | number Optional weight to override SubCategoryAppearance.weight for subsequent geometry.  

Defined in

Last Updated: 20 June, 2023