Go to: Related nodes. Attributes.
Place2dTexture is a utility node that controls how a 2d
texture is placed onto an object. Normally a Place2dTexture node is
created automatically by the system when you texture-map an
attribute using a 2d texture. (The Out UV attribute of this node is
connected to the uvCoord attribute of the texture node, and the
outUVFilterSize attribute of this node is connected to the
uvFilterSize attribute of the texture node.)
2d textures are placed on a surface using the surface's UV
coordinates. (These coordinates are implicit in NURBS surfaces, but
they must be assigned explicitly to polygonal objects.) The
Place2dTexture node defines a texture frame, which is a
rectangular area on a surface (in the UV coordinate space) in which
the texture will appear. You can control the position, size, and
rotation of this frame on the surface using the Coverage, Translate
Frame and Rotate Frame attributes. You can controls how the texture
is tiled within the frame using the Repeat UV, Rotate UV, Offset,
Mirror, Stagger, and Wrap atttributes. These are all explained
below. In the table below, important attributes have their names
listed in bold in the description column.
This node is MP safe
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
place2dTexture |
shadingDependNode |
utility/general/placement/2d:drawdb/shader/place2dTexture |
kPlace2dTexture |
kBase
kNamedObject
kDependencyNode
kPlace2dTexture |
Related nodes
layeredTexture, envCube, envSphere,
envSky, envBall, envChrome,
bump3d, uvChooser, bump2d,
texture2d, ramp, file, cloth, water, stencil, checker,
fractal, bulge,
grid, mountain,
texture3d, projection, cloud,
granite, crater, leather,
stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place3dTexture
Attributes (49)
coverage, coverageU, coverageV, doTransform, fast,
mirrorU, mirrorV, noiseU,
noiseUV, noiseV, offset,
offsetU, offsetV, outU, outUV, outUvFilterSize, outUvFilterSizeX, outUvFilterSizeY, outV, repeatU, repeatUV, repeatV,
rotateFrame, rotateUV, stagger,
translateFrame, translateFrameU, translateFrameV, uCoord, uvCoord,
uvFilterSize, uvFilterSizeX, uvFilterSizeY, vCoord, vertexCameraOne, vertexCameraOneX, vertexCameraOneY, vertexCameraOneZ, vertexUvOne, vertexUvOneU, vertexUvOneV, vertexUvThree, vertexUvThreeU, vertexUvThreeV, vertexUvTwo, vertexUvTwoU, vertexUvTwoV, wrapU, wrapV
Long name (short name) |
Type |
Default |
Flags |
|
uvCoord
(uv ) |
float2 |
0.0, 0.0 |
|
|
|
|
vertexUvOne
(vt1 ) |
float2 |
|
|
|
vertexUvOneU
(t1u ) |
float |
0.0 |
|
|
|
vertexUvOneV
(t1v ) |
float |
0.0 |
|
|
|
vertexUvTwo
(vt2 ) |
float2 |
|
|
|
vertexUvTwoU
(t2u ) |
float |
0.0 |
|
|
|
vertexUvTwoV
(t2v ) |
float |
0.0 |
|
|
|
vertexUvThree
(vt3 ) |
float2 |
|
|
|
vertexUvThreeU
(t3u ) |
float |
0.0 |
|
|
|
vertexUvThreeV
(t3v ) |
float |
0.0 |
|
|
|
vertexCameraOne
(vc1 ) |
float3 |
|
|
|
vertexCameraOneX
(c1x ) |
float |
0.0 |
|
|
|
vertexCameraOneY
(c1y ) |
float |
0.0 |
|
|
|
vertexCameraOneZ
(c1z ) |
float |
0.0 |
|
|
|
uvFilterSize
(fs ) |
float2 |
0.0, 0.0 |
|
|
uvFilterSizeX
(fsx ) |
float |
0.0 |
|
|
|
uvFilterSizeY
(fsy ) |
float |
0.0 |
|
|
|
coverage
(c ) |
float2 |
1.0, 1.0 |
|
|
|
|
translateFrame
(tf ) |
float2 |
0.0, 0.0 |
|
|
translateFrameU
(tfu ) |
float |
0.0 |
|
|
|
translateFrameV
(tfv ) |
float |
0.0 |
|
|
|
rotateFrame
(rf ) |
angle (double) |
0.0deg |
|
|
mirrorU
(mu ) |
bool |
false |
|
|
mirrorV
(mv ) |
bool |
false |
|
|
stagger
(s ) |
bool |
false |
|
|
wrapU
(wu ) |
bool |
true |
|
|
wrapV
(wv ) |
bool |
true |
|
|
repeatUV
(re ) |
float2 |
1.0, 1.0 |
|
|
|
|
offset
(of ) |
float2 |
0.0, 0.0 |
|
|
|
|
rotateUV
(r ) |
angle (double) |
0.0deg |
|
|
noiseUV
(n ) |
float2 |
0.0, 0.0 |
|
|
|
|
fast
(fa ) |
bool |
false |
|
|
outUV
(o ) |
float2 |
0.0, 0.0 |
|
|
outU
(ou ) |
float |
0.0 |
|
|
|
outV
(ov ) |
float |
0.0 |
|
|
|
outUvFilterSize
(ofs ) |
float2 |
0.0, 0.0 |
|
|
outUvFilterSizeX
(ofsx ) |
float |
0.0 |
|
|
|
outUvFilterSizeY
(ofsy ) |
float |
0.0 |
|
|
|
doTransform
(do ) |
bool |
true |
|