Skip to content

MaterialAssetData

Defined in: material.ts:91

optional blendMode?: number

Defined in: material.ts:97


optional cull?: number

Defined in: material.ts:100


optional depthTest?: boolean

Defined in: material.ts:98


optional depthWrite?: boolean

Defined in: material.ts:99


optional instanceOf?: string

Defined in: material.ts:106

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: material.ts:109


shader: string

Defined in: material.ts:94


optional switches?: Record<string, boolean>

Defined in: material.ts:108

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


type: "material"

Defined in: material.ts:93


version: string

Defined in: material.ts:92