ViewportGraphicBuilderOptions Interface

Options for creating a GraphicBuilder to produce a RenderGraphic to be displayed in a specific Viewport. The level of detail of the graphic will be computed from the position of its geometry within the viewport's Frustum. Default values for wantNormals and generateEdges will be determined by the viewport's ViewFlags. The GraphicBuilder.iModel will be set to the viewport's IModelConnection.

Extends

Properties

Name Type Description
applyAspectRatioSkew boolean | undefined If true, getAspectRatioSkew will be taken into account when computing the level of detail for the produced graphics.  
computeChordTolerance undefined | undefined    
iModel undefined | undefined    
viewport Viewport The viewport in which the resultant RenderGraphic is to be drawn.  

Inherited properties

Name Type Inherited from Description
generateEdges boolean | undefined GraphicBuilderOptions Controls whether edges are generated for surfaces.
pickable PickableGraphicOptions | undefined GraphicBuilderOptions If the graphic is to be pickable, specifies the pickable Id and other options.
placement Transform | undefined GraphicBuilderOptions The local-to-world transform in which the builder's geometry is to be defined - by default, an identity transform.
preserveOrder boolean | undefined GraphicBuilderOptions If true, the order in which geometry is added to the builder is preserved.
type GraphicType GraphicBuilderOptions The type of graphic to produce.
viewIndependentOrigin Point3d | undefined GraphicBuilderOptions If defined, specifies a point about which the graphic will rotate such that it always faces the viewer.
wantNormals boolean | undefined GraphicBuilderOptions Controls whether normals are generated for surfaces.

Defined in

Last Updated: 13 May, 2024