Returns the normal for this triangle point as an SIVector3. Triangles that belong to the same polygon have the same normal values.
// get accessor Object rtn = TrianglePoint.Normal; |
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 |