Skip to content

MaterialAssetData

Defined in: render/material.ts:96

optional blendMode?: number

Defined in: render/material.ts:102


optional cull?: number

Defined in: render/material.ts:105


optional depthTest?: boolean

Defined in: render/material.ts:103


optional depthWrite?: boolean

Defined in: render/material.ts:104


optional instanceOf?: string

Defined in: render/material.ts:111

Parent material asset ref — present on a material instance (UE MaterialInstanceConstant). The shader and any non-overridden render state are inherited from the parent; shader is then ignored and properties carries only the overridden parameters (the diff).


properties: Record<string, unknown>

Defined in: render/material.ts:114


shader: string

Defined in: render/material.ts:99


optional switches?: Record<string, boolean>

Defined in: render/material.ts:113

Enabled static switches (#pragma switch) — selects the shader permutation at load.


type: "material"

Defined in: render/material.ts:98


version: string

Defined in: render/material.ts:97