Skip to content

Commit

Permalink
change aoTexture
Browse files Browse the repository at this point in the history
  • Loading branch information
who am i committed Nov 18, 2020
1 parent eb382c7 commit 89ea5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Babylonjs/script/controlscript/modelcontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function hotSpot(modelname,picnum){
console.log(mesh)
// let hotSpotButton = BABYLON.GUI.Button.CreateImageOnlyButton(`HS_${name}`,`model/pic/btn${name}.jpg`)
let hotSpotButton = BABYLON.GUI.Button.CreateImageOnlyButton(`HS_${modelname}_${picnum}`,`model/pic/${modelname}4_${picnum}.png`)
hotSpotButton.width = "36px";
hotSpotButton.height = "36px";
hotSpotButton.width = "112px";
hotSpotButton.height = "27px";
hotSpotButton.thickness = 0;
advancedTexture.addControl(hotSpotButton);
hotSpotButton.linkWithMesh(mesh);
Expand Down

0 comments on commit 89ea5e4

Please sign in to comment.