render
render: (RenderableEntity, Graphics2D) -> Dimension?render(graphics): draw on graphics and answer the size drawn, or nil. An exception the component throws is a Luau error with its message, after the draws before it.
| Method | Returns | Description |
|---|---|---|
render(Graphics2D) | Dimension? | render(graphics): draw on graphics and answer the size drawn, or nil. An exception the component throws is a Luau error with its mess… |
renderrender: (RenderableEntity, Graphics2D) -> Dimension?render(graphics): draw on graphics and answer the size drawn, or nil. An exception the component throws is a Luau error with its message, after the draws before it.