EyeonTips:Script/Reference/Applications/Fuse/Classes/Pixel

From VFXPedia

< EyeonTips:Script
Revision as of 21:09, 12 April 2012 by Tilt (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • The shortest way to create a Pixel instance is by providing the values for each channel in the constructor call:
p = Pixel({R = 0.1, G = 0.2, B = 0.3, A = 1})
  • PositionX, PositionY, and PositionZ are the position members. Fusion 6.31 added DisparityX and DisparityY. The member names are the same as in the ChannelOpOf method. They are slightly different from the values for the IMG_Channel attribute when constructing image objects though.