M

DrawContext

Name Return Type Description
M FlushBuffer(VertexBuffer, Int32, IndexBuffer, Int32, VertexFormat, EffectInstance, PrimitiveType, Int32, Int32) None Submits geometry for rendering.
M GetCamera() The camera. Gets the camera corresponding to the Revit view where rendering takes place.
M GetClipPlanes() IList<ClipPlane> Gets the clipping planes for the Revit view where rendering takes place. Clipping planes control the 3D extent of a view and can be set using Section Box in Revit.
M GetClipRectangle() The clip rectangle. Gets the clip rectangle for the Revit view where rendering takes place. The clip rectangle is the area currently being redrawn, which may be smaller than the view rectangle.
M GetOverrideColor(Color%) bool Returns override color that will be applied to geometry during rendering.
M GetOverrideTransparency(Double%) bool Returns override transparency that will be applied to geometry during rendering.
M GetViewRectangle() The view rectangle. Gets the rectangle that represents the extent (in 2D) of the Revit view where rendering takes place.
M IsAvailable() bool Checks whether the facilities of this class are available for use in the current scope.
M IsInterrupted() bool Checks whether the current rendering pass has been interrupted.
M IsTransparentPass() bool Determines whether the current rendering pass is for transparent objects.
M SetWorldTransform(Transform) None Sets the world transformation that will be applied to geometry during rendering.