## SampleCollection

Related C++ Class: CSampleRefArray

### Introduced

v2.0

### Description

A collection of Sample objects that represent the samples in the Geometry, a sample on a polygon mesh is PolygonNode object and a sample on a Nurbs surface mesh is a NurbsSample object. The SampleCollection object is accessed via the Geometry.Samples property.
This collection is 0 based.

### Methods

Navigate |  |  |

### Properties

Count | IndexArray | SubComponent |

### Examples

#### VBScript Example

    set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")

    set oSamples = oCube.ActivePrimitive.Geometry.Samples

### See Also

PolygonNodeCollection NurbsSampleCollection Geometry.Samples Facet.Samples Segment.Samples Point.Samples