Skip to content

Commit

Permalink
change (Material): Add a new property .alphaWrite
Browse files Browse the repository at this point in the history
Since it's undocumented I could not fill the doc comment properly,,,

See: mrdoob/three.js#23166
  • Loading branch information
0b5vr committed Jan 27, 2022
1 parent 60d5b43 commit 8481e5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/three/src/materials/Material.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export class Material extends EventDispatcher {
*/
alphaToCoverage: boolean;

/**
* @default false
*/
alphaWrite: boolean;

/**
* Blending destination. It's one of the blending mode constants defined in Three.js. Default is {@link OneMinusSrcAlphaFactor}.
* @default THREE.OneMinusSrcAlphaFactor
Expand Down

0 comments on commit 8481e5d

Please sign in to comment.