MaterialData
此内容尚不支持你的语言。
Defined in: render/material.ts:124
Properties
Section titled “Properties”blendMode
Section titled “blendMode”blendMode:
BlendMode
Defined in: render/material.ts:127
cachedBuffer_
Section titled “cachedBuffer_”cachedBuffer_:
Float32Array<ArrayBufferLike> |null
Defined in: render/material.ts:147
cachedIdx_
Section titled “cachedIdx_”cachedIdx_:
number
Defined in: render/material.ts:148
cull:
CullMode
Defined in: render/material.ts:130
depthBias
Section titled “depthBias”depthBias:
number
Defined in: render/material.ts:133
Depth-buffer units toward the eye — the only way to say which of two COPLANAR surfaces wins (a decal on a wall). 0 leaves it where it is.
depthTest
Section titled “depthTest”depthTest:
boolean
Defined in: render/material.ts:128
depthWrite
Section titled “depthWrite”depthWrite:
boolean
Defined in: render/material.ts:129
dirty_
Section titled “dirty_”dirty_:
boolean
Defined in: render/material.ts:146
overrides
Section titled “overrides”overrides:
Set<string>
Defined in: render/material.ts:143
parent?
Section titled “parent?”
optionalparent?:number
Defined in: render/material.ts:142
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. Undefined on a base material.
shader
Section titled “shader”shader:
number
Defined in: render/material.ts:125
switches
Section titled “switches”switches:
Record<string,boolean>
Defined in: render/material.ts:135
Enabled static switches (the shader permutation was chosen for these at compile time).
uniforms
Section titled “uniforms”uniforms:
Map<string,UniformValue>
Defined in: render/material.ts:126