Point.Normal

Point.Normal operator

説明

ポイントの法線を含むSIVector3を戻します。

C#構文

// get accessor

Object Point.get_Normal( Boolean& out_pbValid );

VBScript の例

set oRoot = application.activeproject.activescene.root

set oObj = oRoot.addgeometry( "Cube", "MeshSurface" )

set oGeometry = oObj.activeprimitive.geometry

for each oPoint in oGeometry.Points

	set oNormal =  oPoint.Normal

	logmessage "Point [" & oPoint.Index & "].normal : " & _

			oNormal.x & ", " & _

			oNormal.y & ", " & _

			oNormal.z 

next

関連項目

PointCollection.NormalArray SIVector3