Page MenuHomeAnticto

Mutable for Unreal Engine 4 | Sample Texture Node
Updated 473 Days AgoPublic

imagen.png (133×181 px, 14 KB)


Function

Gives the color in a texture under the chosen coordinates at runtime.


Use Cases

Sample a color bar, like when you offer many skin tone options with a gradient between values.


Input Pins

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.


Output Pins

Color: Color of the pixel under the defined location in the provided texture.

Last Author
ricard
Last Edited
Jun 9 2020, 3:09 PM