Function setMaterialOpacity
- setMaterialOpacity(material, opacity, opts?): any
Parameters
material: Material | Material[] | Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
opacity: number
Optional
opts: {
disposeOldMaterial?: boolean;
isAccOpacity?: boolean;
isClone?: boolean;
}
Optional
disposeOldMaterial?: boolean
Optional
isAccOpacity?: boolean
Optional
isClone?: boolean
Returns any
设置材质透明