NurbsSampleCollection.VSamplingCount operator

Description

Returns the number of VSampling coordinate valid indices as a Long.

C# Syntax

// get accessor
Int32 NurbsSampleCollection.get_VSamplingCount( Object in_lNurbsSurfaceIndex );

Parameters

Parameter Type Description
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.

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","NurbsSurface")
set oSurface = oCube.ActivePrimitive.Geometry.Surfaces(0)
set oSamples = oSurface.NurbsSamples
logmessage "The number of valid VSamplingCoordinate indices is: " & oSamples.VSamplingCount