Go to: Attributes.

The surfaceSampler node is for use by the Transfer Maps tool only. Any other use of this node is not supported.

Node nameParentsMFn typeCompatible function sets

Attributes (11)

autoInverseNormal, coordinate, customColor, defaultColor, enveloperSearch, envelopes, evaluateCustomShader, evaluateMaterial, maxDist, sources, vectorToColor

Long name (short name)TypeDefaultFlags
maxDist (S00) float0outputinputconnectablestorablekeyable
Max distance to the sample point in internal space 0 means infinity. If the nearest hit is beyond maxDist, defaultColor will be returned.
envelopes (S01) Messagen/aarrayoutputinputconnectablekeyable
This array specifies envelope geometry. If it is empty there is no envelope geometry
enveloperSearch (S02) integer0outputinputconnectablestorablekeyable
If using envelope geometry then specify how source geometry should be selected: 0 - closest to envelope 1 - inside then outside of envelope 2 - inside of envelope only
evaluateMaterial (S03) bool0outputinputconnectablestorablekeyable
Evaluate material shader at the sample point
evaluateCustomShader (S04) bool0outputinputconnectablestorablekeyable
Evaluate custom shader at the sample point
customColor (S05) float31, 1, 1outputinputconnectablestorablekeyable
Connect custom shader to evaluate. If nothing is connected, customColor will be copied to outCustomColor.
defaultColor (S06) float3outputinputconnectablestorablekeyable
Color to be used if the sample ray did not hit any object
coordinate (S07) integer1, 1, 1outputinputconnectablestorablekeyable
Coordinate system for outNormal and outGeoNormal
autoInverseNormal (S08) bool1outputinputconnectablestorablekeyable
Inverse outNormal and outGeoNormal if they are flipped
vectorToColor (S09) bool0outputinputconnectablestorablekeyable
Map the result in [-1,1] to [0,1]
sources (S10) Messagen/aarrayoutputinputconnectablekeyable
Source geometries to consider for the intersection