Data / Color
Pixel
Get a pixel Color at a specific location from a Graphic. Unit coordinates range from zero to one; pixel coordinates use pixel-center indices.
iOSmacOSvisionOS
Inlets
Graphic
GraphicLocation
PointThe location in the Graphic at which to sample the color. Fractional locations are interpolated between the nearest pixels.
Outlets
Color
ColorProperties
Coordinate Space
Typed EnumChoose whether the location is interpreted as normalized unit coordinates or pixel coordinates.
- Default
Unit- Options
- Unit, Pixel
Location
PointThe location in the Graphic at which to sample the color. Fractional locations are interpolated between the nearest pixels.
- Default
[0.5, 0.5]- Editor minimum
[0, 0]- Editor maximum
[1, 1]- Inlet
- Location
Version history
- Added in 2.1.0
- Updated in 27.0.0