• Samples a texture using the given UV coordinates and optional properties.

    Parameters

    • texture: Texture

      The texture to sample.

    • uv: NodeMaterialConnectionPoint

      The UV coordinates.

    • Optionaloptions: Partial<TextureBlockOptions>

      Optional properties for the texture block.

    Returns TextureBlock