OverlayItem¶
Type
OverlayItem describes one 3D viewport shape in a tool's Modal overlay list (up to 1,024 items), in Part's unscaled local frame.
Kind¶
Kind is "box" (Min, Max, Fill), "faceGrid" (Face, Step), "line" (A, B), or "label" (At, Text).
Part¶
Part is the entity whose position and rotation set the coordinate frame.
Min¶
Min is the lower box corner.
Max¶
Max is the upper box corner.
Fill¶
Fill draws translucent box faces when true, or edges only when false or nil.
Face¶
Face is the "faceGrid" side: "Right" (default), "Left", "Top", "Bottom", "Back", or "Front".
Step¶
Step is grid spacing in units, or nil or 0 for the border only.
A¶
A is the line start.
B¶
B is the line end.
At¶
At is the label anchor.
Text¶
Text is the label string.
Color¶
Color is an RGB vector from 0 to 1, or nil for white (1, 1, 1).