RenderCommand

class RenderCommand(val commandId: String, val points: List<Point2D>, val color: IsoColor, val originalPath: Path, val originalShape: Shape?, val ownerNodeId: String? = null)

A platform-agnostic rendering command representing a single polygon to draw. Contains the 2D screen-space points and color, ready for rendering.

Constructors

Link copied to clipboard
constructor(commandId: String, points: List<Point2D>, color: IsoColor, originalPath: Path, originalShape: Shape?, ownerNodeId: String? = null)

Properties

Link copied to clipboard

The color to render (with lighting applied)

Link copied to clipboard

Stable identifier for this command (for hit testing and tracking)

Link copied to clipboard

Reference to the original 3D path (for callbacks/hit testing)

Link copied to clipboard

Reference to the original shape (if this path belongs to one)

Link copied to clipboard
Link copied to clipboard

The 2D screen-space polygon vertices

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String