-
Notifications
You must be signed in to change notification settings - Fork 15
Node Sample Texture (v5.5)
Warning
This page is for Mutable v5.5. A newer version is available — see the v5.8 version of this page.

Samples a texture at the chosen coordinates at runtime and returns the sampled color.
Sample a color bar, to offer many skin tone options with a gradient between values.
Texture: Texture from where the sample will be taken.
X: Optional number from 0.0 to 1.0 defining the horizontal sample point in the texture. 0.0 refers to the leftmost pixel, 1.0 to the rightmost pixel, and the intermediate values will progress from left to right as they are increased. Defaults to 0.5, the middle of the texture.
Y: Optional number from 0.0 to 1.0 defining the vertical sample point in the texture. 0.0 refers to the topmost pixel, 1.0 to the bottom pixel, and the intermediate values will progress from top to bottom as they are increased. Defaults to 0.5, the middle of the texture.
Color: Color of the pixel under the defined location in the provided texture.