FLEX實例:幾款濾鏡效果實例
2008-11-13
2059
小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝,小小貝

1:聚光(guāng)燈效果:

  • ambientColor - color to apply to all pixels of the image
  • angle - angle at which the spotlight is projected (in degrees)
  • azimuth - angle between the image plane and the spotlight (in degrees)
  • coneAngle - angle of the spotlight's "opening" (in degrees)
  • distance - distance from the spotlight to the center point
  • intensity - intensity of the spotlight
  • position - x, y, z position of the spotlight
  • spotColor - color of the spotlight

2:放(fàng)大(dà)鏡效果:  

  • center ([0-2048, 0-2048]) - the center coordinates of the magnified area
  • outerRadius (0-500) - the radius of the magnified part of the image
  • innerRadius (0-500) - the radius of the fully magnified part of the image
  • magnification (1-50) - the amount to magnify the image by (e.g. set to 2 for a 2x magnification)

3:縮放(fàng)模糊效果: 

  • amount (0 - 0.5) - the amount of blur to apply
  • center ([0 - 2048, 0 - 2048]) - the focal point of the blur

4:浮雕效果:

  • amount (0 - 20) - the amount to sharpen the image by
  • radius (0 - 1) - pixel distance to sample from

5:水波效果:  

  • amplitude (0-1) - the height of the waves
  • frequency (0-.54) - how close together the waves are.  Higher value = more waves.
  • progress (0-1) - percentage of the wave sequence.  Animate from 0 to 1 to get a smooth wave effect.

 

關鍵字:FLEX實例講解,FLEX中幾款濾鏡效果實例
上一頁: 沒有了..