Point.Normal operator

Description

Returns SIVector3 containing the normal of the point.

Examples

VBScript Example

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

See Also

PointCollection.NormalArray SIVector3