MaterialData
此内容尚不支持你的语言。
Defined in: material.ts:112
Properties
Section titled “Properties”blendMode
Section titled “blendMode”blendMode:
BlendMode
Defined in: material.ts:115
cachedBuffer_
Section titled “cachedBuffer_”cachedBuffer_:
Float32Array<ArrayBufferLike> |null
Defined in: material.ts:132
cachedIdx_
Section titled “cachedIdx_”cachedIdx_:
number
Defined in: material.ts:133
cull:
CullMode
Defined in: material.ts:118
depthTest
Section titled “depthTest”depthTest:
boolean
Defined in: material.ts:116
depthWrite
Section titled “depthWrite”depthWrite:
boolean
Defined in: material.ts:117
dirty_
Section titled “dirty_”dirty_:
boolean
Defined in: material.ts:131
overrides
Section titled “overrides”overrides:
Set<string>
Defined in: material.ts:128
parent?
Section titled “parent?”
optionalparent?:number
Defined in: material.ts:127
Instance parenting (UE MaterialInstanceConstant): when set, this material inherits the
parent’s shader + render state + params, and only its own diffs are stored — uniforms
holds just the overridden params, and overrides names the overridden render-state
fields (‘blendMode’ | ‘depthTest’ | ‘depthWrite’ | ‘cull’). Undefined on a base material.
shader
Section titled “shader”shader:
number
Defined in: material.ts:113
switches
Section titled “switches”switches:
Record<string,boolean>
Defined in: material.ts:120
Enabled static switches (the shader permutation was chosen for these at compile time).
uniforms
Section titled “uniforms”uniforms:
Map<string,UniformValue>
Defined in: material.ts:114