GraphicType Enumeration

Describes the type of a GraphicBuilder, which defines the coordinate system in which the builder's geometry is defined and controls the behavior of the RenderGraphic produced by the builder.

note For those types for which depth-testing is disabled, the order in which the individual geometric primitives are drawn determines which geometry draws on top of other geometry.

  • Within a GraphicList, each RenderGraphic is rendered in the order in which it appears in the list; and
  • Within a single RenderGraphic, each geometric primitive is rendered in the ordered in which it was added to the GraphicBuilder.

Members

Name Value Description
Scene Renders as if it were part of the scene. All of the ViewFlags applied to the view's normal geometry also applies to these types of decorations.
Coordinates: CoordSystem.World.
Lighting and RenderMode: from view.
Depth-testing: enabled.
ViewBackground Renders behind all other graphics. For example, the border of a SheetViewState is of this type.
Coordinates: CoordSystem.View.
RenderMode: SmoothShade.
Lighting: none.
Depth-testing: disabled.
ViewOverlay Renders as an overlay on top of the scene. These decorations differ from GraphicType.WorldOverlay only in that their geometry is defined in view coordinates rather than world.
Coordinates: CoordSystem.View.
RenderMode: SmoothShade
Lighting: default.
Depth-testing: disabled.
WorldDecoration Renders within the scene, but ignores the view's ViewFlags.
Coordinates: CoordSystem.World.
Lighting: default.
RenderMode: SmoothShade.
Depth-testing: enabled.
WorldOverlay Renders as an overlay on top of the scene. These decorations differ from GraphicType.WorldDecoration only in that depth-testing is disabled.
For example, the ACS triad and WindowAreaTool decorations are of this type.
Coordinates: CoordSystem.World.
RenderMode: SmoothShade
Lighting: default.
Depth-testing: disabled.
Renders atop the scene. Coordinates: world. RenderMode: smooth. Lighting: none. Z-testing: disabled

Defined in

Last Updated: 20 September, 2019