Graphic control for drawing a diamond in the UI System
1 Overview
3 Methods
4 Usage
6 See also
Advanced polygon control with 4 fixed vertices which can be manipulated to control the look and feel of the primitive
| Property | Description |
|---|---|
| Width | Horizontal radius of the diamond. |
| Height | Vertical radius of the diamond. |
| Thickness | Stroke thickness when not filled. |
| Fill | Enable to render a filled diamond; disable for outline only. |
| Preserve Aspect | Maintain aspect ratio when resizing. |
This component does not expose public methods beyond inherited behaviour.
Add the primitive control to your scene using:
“GameObject -> UI -> Extensions -> Primitives -> Diamond Graph”
Alternatively, add the component using:
“Add Component -> UI -> Extensions -> Primitives -> Diamond Graph”
koohddang
“List of links for the control, e.g. Source, other info”