TrianglePoint.Normal

説明

このトライアングルポイントの法線をSIVector3として戻します。同じポリゴンに属するトライアングルは、同じ法線値を持ちます。

C#構文

// get accessor

Object rtn = TrianglePoint.Normal;

VBScript の例

set root = application.activeproject.activescene.root

set obj = root.addgeometry( "Cube", "MeshSurface" )

set triangle = obj.activeprimitive.geometry.Triangles(0)

for each p in triangle.Points

	 logmessage "p.normal: " & p.normal.x & "," & p.normal.y & "," & p.normal.z

next

関連項目

Triangle TriangleCollection TrianglePointCollection Geometry