Version: 
Back to list

Algo :: mapUvOnSphere

Synopsis

   Generate texture coordinates using the projection on a sphere

GUI Dialog

   

Script function

   algo.mapUvOnSphere(occurrences, sphere[, channel[, overrideExistingUVs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   sphere (Sphere) : Sphere definition
   channel (Int[optional] : The UV channel which will contains the texture coordinates
   overrideExistingUVs (Boolean[optional] : If True, overide existing UVs on channel