Facet.Segments operator

説明

このファセットの各 Segment コンポーネントを含む SegmentCollection を戻します。

C#構文

// get accessor

SegmentCollection rtn = Facet.Segments;

VBScript の例

set oRoot = ActiveProject.ActiveScene.Root

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

set oGeometry = oCube.ActivePrimitive.Geometry

set oFacets = oGeometry.Facets

LogMessage typename(oFacets)

for each oFacet in oFacets

	for each oSegment in oFacet.Segments 

		LogMessage "Facet.Segment.Index " & oSegment.Index 

	next

next