NurbsSurface.NurbsSamples
 
 
 

NurbsSurface.NurbsSamples operator

Description

Returns a NurbsSampleCollection containing each NurbsSample object in the NurbsSurface.

C# Syntax

// get accessor
NurbsSampleCollection rtn = NurbsSurface.NurbsSamples;

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","NurbsSurface")
set oNurbsSurfaceMesh = oCube.ActivePrimitive.Geometry
set oNurbsSamples = oNurbsSurfaceMesh.Surfaces(0).NurbsSamples
for each oNurbsSample in oNurbsSamples
        LogMessage "NurbsSample(" & oNurbsSample.Index & ") UV coordinates are :" _
                & oNurbsSample.U & ", " & oNurbsSample.V
next