Hello, i am totally new to the Babylon.js scripting framework.
My first question is, how can i change the value of alpha for an material on klick event.
samplematerial.alpha = 0.3; seems to be a float , however, there is also new BABYLON.Color3 and new BABYLON.Color4 which can be changed on actionmanager code.
Color3 is RGB and Color4 is RGB Alpha.
So how can i change the alpha value ? Should i use color4 ?
Here is what i have so far :
http://www.babylonjs-playground.com/#1ST0I
Also, i can´t figure out which of this code seqments do what or how they are named like. Like this things that are inside "example".
I have to begin somewhere so i hope my first question isn´t that bad.
Greetings and thanks in Advance