Chapter 9. Creating a Selection Highlight Style

This chapter explains how you can provide your own style of selection highlighting by deriving a new highlight class. The first part of the chapter offers an overview of the steps required to create a new highlight class. When necessary, additional sections explain key concepts in further detail. The chapter examples show how to create two new highlight classes:

  • A highlight that renders selected objects as 2D rectangles in the overlay planes

  • A highlight that renders only the selected objects

Before reading this chapter, be sure to read Chapter 10, Handling Events and Selection.