RenderDescription2D#
public sealed record RenderDescription2D(string Shape, string? Color, SpritePixels? Sprite = null)Record properties#
| Property | Type | Access | Constructor default |
|---|---|---|---|
Shape | string | get; init; | required |
Color | string? | get; init; | required |
Sprite | SpritePixels? | get; init; | null |
Members: Style
Style#
public Style2D? Style { get; init; }The shared Style 2D this renderer draws with, or null for a plain tinted shape or sprite.
Related types#
Source#
- RuntimeWorld.cs