
v2.0
このファセットの各 Sample オブジェクトを含む SampleCollection を戻します。
注: このプロパティは IDispatch オブジェクトではなく SampleCollection を戻します。つまりFacet メソッドとプロパティへのアクセスが可能になるのではなく、Sample オブジェクトで使用できるメソッドとプロパティにのみアクセスできます。
// get accessor SampleCollection rtn = Facet.Samples; |
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 |