MaterialAssetData
Defined in: render/material.ts:96
Properties
Section titled “Properties”blendMode?
Section titled “blendMode?”
optionalblendMode?:number
Defined in: render/material.ts:102
optionalcull?:number
Defined in: render/material.ts:105
depthTest?
Section titled “depthTest?”
optionaldepthTest?:boolean
Defined in: render/material.ts:103
depthWrite?
Section titled “depthWrite?”
optionaldepthWrite?:boolean
Defined in: render/material.ts:104
instanceOf?
Section titled “instanceOf?”
optionalinstanceOf?: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
Section titled “properties”properties:
Record<string,unknown>
Defined in: render/material.ts:114
shader
Section titled “shader”shader:
string
Defined in: render/material.ts:99
switches?
Section titled “switches?”
optionalswitches?: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
Section titled “version”version:
string
Defined in: render/material.ts:97