PolygonNode.Normal

PolygonNode.Normal operator

説明

PolygonNode の法線を含む SIVector3 を戻します。

C#構文

// get accessor

Object PolygonNode.get_Normal( Boolean& out_pbValid );

VBScript の例

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

set oPolygonMesh = oObject.ActivePrimitive.Geometry

set oPolygonFace = oPolygonMesh.Polygons(0)

set oPolygonNode = oPolygonFace.Nodes(0)

set oNormal = oPolygonNode.Normal

logmessage "Normal: " & " x = " & oNormal.x & " y = " & oNormal.y & " z = " & oNormal.z