DisplacementMapFilterã§å®éã«é©ç¨ããããªãã»ããå¤N㯠置ãæããããã®è²:C ä¹æ°:S ã¨ãã㨠N = (C-128) * S / 256 ã¨ãªãã å¾ã£ã¦Nãå ã«ç½®ãæããããã®è²Cãæ±ããã«ã¯ C = N*256 / S + 128 ã¨ãªãã ããã§æ³¨æããªãã¨ãããªãã®ã¯ãè²ã¨ãã¦æå®ã§ããå¤ã¯255ã¾ã§ãªã®ã§ N*256 / S + 128 < 256 ã§ãªãã¨ãããªãã ãããå¤å½¢ãã㨠N*2 < S ã¨ãªãã®ã§ããªãã»ããã¨ãã¦æå®ãããæ大å¤ã®2åã®å¤ããã大ããªå¤ãä¹æ°ã¨ãã¦æå®ãã¦ãããªãã¨æå¾ éãã®çµæãå¾ãããªãã DisplacementMapFilter () ã³ã³ã¹ãã©ã¯ã¿ public é¢æ° DisplacementMapFilter(mapBitmap:BitmapData = null, mapPoint:Point = nul
{{#tags}}- {{label}}
{{/tags}}