Skip to content
You're reading the docs for Railroader 0.6 (the MoW Update), currently available on the Experimental branch.

Material

A material override that can be applied to renderers.

Material asset identifier.

edgeLength

float = 1

Edge length in meters. Used for texture tiling to match physical dimensions.

fields

object = {}

Free-form key/value bag for material-specific metadata. Consumers look up well-known keys by convention — for example, the aggregate load model system matches a material to a load type via an aggregateModelLoadId key.

{
"identifier": "my-pack/my-material",
"definition": {
"kind": "Material",
"assetIdentifier": "./my-material",
"edgeLength": 1.6,
"fields": {
"aggregateModelLoadId": "rr/coal",
"aggregateModelBumps": "2,3"
}
}
}