pointOnSurface [-constructionHistory boolean] [-normal] [-normalizedNormal] [-normalizedTangentU] [-normalizedTangentV] [-parameterU float] [-parameterV float] [-position] [-tangentU] [-tangentV] [-turnOnPercentage boolean]
[objects]
pointOnSurface は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
サーフェス上のポイントの情報を返します。 フラグが指定されていない場合、このコマンドではデフォルトの p/position が指定されているものとみなされます。 複数のフラグを指定すると、文字配列を返します。float[3] | |
string |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-parameterU(-u)
|
float
|
![]() ![]() |
||
|
||||
-parameterV(-v)
|
float
|
![]() ![]() |
||
|
||||
-turnOnPercentage(-top)
|
boolean
|
![]() ![]() |
||
|
||||
-position(-p)
|
|
|||
|
||||
-normal(-no)
|
|
|||
|
||||
-normalizedNormal(-nn)
|
|
|||
|
||||
-tangentU(-tu)
|
|
|||
|
||||
-normalizedTangentU(-ntu)
|
|
|||
|
||||
-tangentV(-tv)
|
|
|||
|
||||
-normalizedTangentV(-ntv)
|
|
|||
|
||||
一般的なフラグ | ||||
-constructionHistory(-ch)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
pointOnSurface -u 0.5 -v 1.0 -position surface1; // Returns the (x,y,z) position of the surface at parameter (u=0.5,v=1.0). string $infoNode = `pointOnSurface -ch on -u 0.55 -v 0.33 surface1`; getAttr ($infoNode + ".position"); // returns the position // The pointOnSurface command returns a string which is the name of // a new pointOnSurfaceInfo dependency node. With this node connected // to the surface, the output values of the pointOnSurfaceInfo node // are always current even if, for example, the surface parameters are // being animated.