Returns an array of UVSamplingCoordinate values for all Sample.
oArray = NurbsSampleCollection.GetUVSamplingCoordinateArray( [Indices], [NurbsSurfaceIndex] ); |
Parameter | Type | Description |
---|---|---|
Indices | Array of Long | An array of NurbsSampleIndex. |
NurbsSurfaceIndex | Long | If you get the NurbsSampleCollection from NurbsSurface.NurbsSamples it will use the NurbsSurface from which you requested it by default. If you get it from Geometry.Samples it will take the first surface by default. |
set oCube = ActiveSceneRoot.AddGeometry("Cube","NurbsSurface") set oNurbsSamples = oCube.ActivePrimitive.Geometry.surfaces(0).NurbsSamples aUVSamplingCoordinate = oNurbsSamples.GetUVSamplingCoordinateArray(Array(1)) logmessage "The UV sampling coordiante of sample 1 is: " & aUVSamplingCoordinate(0) & " " & aUVSamplingCoordinate(1) |