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 Inherited | boolean | undefined | GraphicBuilderOptions | Controls whether edges are generated for surfaces. |
pickable Inherited | PickableGraphicOptions | undefined | GraphicBuilderOptions | If the graphic is to be pickable, specifies the pickable Id and other options. |
placement Inherited | Transform | undefined | GraphicBuilderOptions | The local-to-world transform in which the builder's geometry is to be defined - by default, an identity transform. |
preserveOrder Inherited | boolean | undefined | GraphicBuilderOptions | If true, the order in which geometry is added to the builder is preserved. |
type Inherited | GraphicType | GraphicBuilderOptions | The type of graphic to produce. |
viewIndependentOrigin Inherited | Point3d | undefined | GraphicBuilderOptions | If defined, specifies a point about which the graphic will rotate such that it always faces the viewer. |
wantNormals Inherited | boolean | undefined | GraphicBuilderOptions | Controls whether normals are generated for surfaces. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.