MaterialOptions
此内容尚不支持你的语言。
Defined in: material.ts:79
Properties
Section titled “Properties”blendMode?
Section titled “blendMode?”
optionalblendMode?:BlendMode
Defined in: material.ts:82
optionalcull?:CullMode
Defined in: material.ts:85
depthTest?
Section titled “depthTest?”
optionaldepthTest?:boolean
Defined in: material.ts:83
depthWrite?
Section titled “depthWrite?”
optionaldepthWrite?:boolean
Defined in: material.ts:84
shader
Section titled “shader”shader:
number
Defined in: material.ts:80
switches?
Section titled “switches?”
optionalswitches?:Record<string,boolean>
Defined in: material.ts:88
Enabled static switches (#pragma switch) for the record; the shader permutation is chosen at compile time (see Material.compileShader). Stored for inspection/serialization.
uniforms?
Section titled “uniforms?”
optionaluniforms?:Record<string,UniformValue>
Defined in: material.ts:81