Categories

Effects

OC_bevelTo


OC_bevelTo
Applies an dynamic/ animated bevel effect on an object.

TARGET.OC_bevelTo(distance,angle,highlightcolor,highlightalpha,shadowcolor,shadowalpha,blurX,blurY,strength,quality,type, knockout,duration,easetype,delay);

ie: Target.OC_bevelTo(3,45,0x99FFFF,0.45,0x333333,0.45,4,4,3,4,full,false,40,easeOutBounce,0);


Optional
callback : function to execute when effect ends. (see Events)

 

Tweening of highlight- and/ or shadowcolor is also supported.