Class Rectangle¶
Defined in File render_stack.h
Inheritance Relationships¶
Base Type¶
public BlamRendering::RenderStack::StackObjectBase
(Class StackObjectBase)
Class Documentation¶
-
class
Rectangle
: public BlamRendering::RenderStack::StackObjectBase¶ Class containing data for a Rectangle object.
The default object color is used for the border color, and a new color is used for the object fill color.
Public Functions
-
Rectangle
()¶ Sets the stack type and specifies default fill color values.
-
~Rectangle
()¶ Empty destructor.
-
void
Draw
()¶ Draws the stack object.
Specific functionality may vary depending on the type of object.
-
void
ShowImPropertyEditor
()¶ Shows a set of ImGUI properties associated with the object.
This will call functions to draw only the property controls for the item, and nothing else. The window/container for the properties must be handled externally.
-
void
SetThickness
(float new_thickness)¶ Sets the thickness of the rectangle’s border.
- Parameters
new_thickness
: - The new thickness of the border.
-