Documentation / @sw-file-lib/xml / XmlRgb
Interface: XmlRgb
ts
interface XmlRgb {
r?: number;
g?: number;
b?: number;
}Defined in: packages/xml/src/schemas/common.ts:45
Represents elements with r, g, and b attributes in Stormworks XML data.
If your function only reads the value and does not mutate it, prefer XmlRgbImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
| |
|