mirror of
https://github.com/OpenTrespasser/JurassicParkTrespasser.git
synced 2024-12-19 23:21:56 +00:00
20 lines
477 B
Plaintext
20 lines
477 B
Plaintext
|
Utility UVManager "UV Manager"
|
||
|
(
|
||
|
pickbutton gatherInfo "Gather UV Information"
|
||
|
checkbox SelFaces "Selected Faces"
|
||
|
|
||
|
on gatherInfo picked obj do
|
||
|
(
|
||
|
CObj = obj
|
||
|
nf = CObj.numfaces
|
||
|
format "%\n" CObj.name
|
||
|
for i = 1 to nf do
|
||
|
(
|
||
|
format "Face Index: %\n" i
|
||
|
Cface = (getface CObj i)
|
||
|
format "\tVert: % %\n" CFace.x (gettvert CObj CFace.x)
|
||
|
format "\tVert: % %\n" CFace.y (gettvert CObj CFace.y)
|
||
|
format "\tVert: % %\n" CFace.z (gettvert CObj CFace.z)
|
||
|
)
|
||
|
)
|
||
|
)
|