PolygonMesh.Vertices operator

説明

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

C#構文

// get accessor

VertexCollection rtn = PolygonMesh.Vertices;

VBScript の例

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

set oVertices = oCube.ActivePrimitive.Geometry.Vertices

for each oVertex in oVertices

	logmessage "Index of the vertex: " & oVertex.Index

next

関連項目

Vertex VertexCollection