M_Shape:GetEdge(edgeID, curveID, segID)

Version added: before 9.5

Arguments:

Name Type Description Default Ver
edgeID int32 The id number of the edge (0 for the first edge in a shape) < 9.5
curveID int32 Curve id < 9.5
segID int32 Which segment of the curve is this edge < 9.5

Return value:

void Returns two int32 values: curveID, segID
Returns information about a specific edge. Given an edge on the shape, this function returns the curve id and segment id of the actual curve in the underlying mesh.

It requires the input arguments to be defined and initialised before the call: e.g.

local curveID, segID = -1, -1       -- any value will do
curveID, segID = M_Shape:GetEdge(edgeID, curveID, segID)

Search results

Usage of 'GetEdge' is found in the following scripts:

<< Back to M_Shape