Node =>Speed
Set
Set the node speed value,
public static void Node_Set_Speed(SPData sPData, Node node, float speed)
Example:
// Get the first node of the branch with key 0 var node = SPData.BranchesDict[0].Nodes[0]; //Set node speed to 100 SplinePlusAPI.Node_Set_Speed(SPData, node, 100);
Get
Get the node speed value,
public static float Node_Get_Speed(Node node)
Example:
// Get the first node of the branch with key 0 var node = SPData.BranchesDict[0].Nodes[0]; //Get the node speed var nodeSpeed= SplinePlusAPI.Node_Get_Speed(node);