Index (TrianglePoint)

Description

Returns an Integer representing the index of this triangle point in its geometry.

C# Syntax

    // get accessor
    Int32 rtn = TrianglePoint.Index;

Examples

VBScript Example

    set root = application.activeproject.activescene.root
    set obj = root.addgeometry( "Cube", "MeshSurface" )
    set geometry = obj.activeprimitive.geometry
    set triangle = geometry.Triangles(0)
    logmessage triangle.name & "'s index = " & triangle.index
    for each p in triangle.Points
        logmessage "p.index: " & p.index
    next

See Also

TriangleCollection | TrianglePoint | TrianglePointCollection | Geometry

Autodesk Softimage v7.5