PolygonMesh.Polygons operator

説明

ポリゴンメッシュの各 PolygonFace を含む PolygonFaceCollection を戻します。

C#構文

// get accessor

PolygonFaceCollection rtn = PolygonMesh.Polygons;

VBScript の例

set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cube","MeshSurface")

set oPolygonMesh = oObject.ActivePrimitive.Geometry

set oPolygonFaces = oPolygonMesh.Polygons

for each oPolygonFace in oPolygonFaces

	logmessage "Index of the polygon: " & oPolygonFace.Index

next

関連項目

PolygonFace