CustomGraphicBuilderOptions Interface

Options for creating a GraphicBuilder to produce a RenderGraphic that is not associated with any particular Viewport and may not be associated with any particular IModelConnection. This is primarily useful when the same graphic is to be saved and reused for display in multiple viewports and for which a chord tolerance can be computed independently of each viewport's Frustum.

Extends

Properties

Name Type Description
applyAspectRatioSkew undefined | undefined    
computeChordTolerance (args: ComputeChordToleranceArgs) => number A function that can compute the level of detail for the graphics produced by the builder.  
iModel IModelConnection | undefined Optionally, the IModelConnection with which the graphic is associated.  
viewport undefined | undefined    

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