Skip to content

Commit

Permalink
Intergrate transparency in irregular box set type
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and linev committed Apr 30, 2024
1 parent ad5452f commit 36e4e2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui5/eve7/lib/EveElementsRCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,11 @@ sap.ui.define(['rootui5/eve7/lib/EveManager'], function (EveManager)
mat.color = RcCol(boxset.fMainColor);
}

if (boxset.fMainTransparency) {
mat.transparent = true;
mat.opacity = (100 - boxset.fMainTransparency) / 100.0;
mat.depthWrite = false;
}
let mesh = new RC.Mesh(body, mat);
this.RcPickable(boxset, mesh, false, boxset.fSecondarySelect ? BoxSetControl : EveElemControl);

Expand Down

0 comments on commit 36e4e2a

Please sign in to comment.