nkTxTexture2D
- Last UpdatedJan 24, 2023
- 1 minute read
The nkTxTexture2D node is a 2D Texture sampler.
-
The material specifies the texture used to render the object.
-
The material must have a parameter with the same name as paramName.
Code example
This is a code example for nkTxTexture2D.
<nkTxTexture2D name="nNodeName" paramName="MaterialParameterName" uv="[connection]" filter="bilinear" addressMode="wrap"/>
Parameters
uv
-
Size: 2
filter
-
Values: point, bilinear, trilinear
addressMode
-
Values: wrap, clamp, mirror
Output
-
Output size: 4