Optionaloptions: Partial<GeometricRendererOptions>Stroke color (hex)
Render layer
X/Y offset from the entity position
Radius in pixels for GeometricShape.Circumference
Additional rotation in radians (added to the Transform)
Outline type: GeometricShape.Polygon, GeometricShape.Line, or GeometricShape.Circumference
Local-space vertices for polygon or line mode
The GeometricRenderer component draws hollow (stroke-only) 2D geometry: polygon outlines,
polylines, and circle outlines. It feeds the same path as debug collider drawing (
RenderDataType.Geometric).The entity must have a Transform. World position is
Transform.localPositionplusoffset(with thesame rotated-offset behavior as MaskRenderer).
Transform.localScalescalesvertexModeland,for circles, scales
radiusby the larger of|scale.x|and|scale.y|.Nothing is drawn if geometry is invalid: circumference requires
radius > 0; polygon requires at least threevertices; line mode requires at least two vertices and an even count.
Example
Example
Example