
v2.0
このファセットの各Sampleオブジェクトを含むSampleCollectionを戻します。
注: このプロパティは IDispatch オブジェクトではなくSampleCollectionを戻します。つまりFacet
メソッドとプロパティへのアクセスが可能になるのではなく、Sampleオブジェクトで使用できるメソッドとプロパティにのみアクセスできます。
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oFacets = oCube.ActivePrimitive.Geometry.Facets
set oSamples = oFacets(1).samples
str = "The sample indices for Facet(1) of this geometry are: "
for each oSample in oSamples
str = str & " " & oSample.Index
next
LogMessage str
|