Deformed Mesh=> Update

Update branches

    public static void Update_Branches( bool updateBaseMesh, bool updateMaterials)

Example:

 //Create a spline plus game object at Vector3.zero
 var sPData = SplinePlusAPI.CreateSplinePlus(new Vector3(0,0,0));

 //Add a deformed mesh component to the spline plus game object
 var deformedMesh = sPData.Add_DeformMesh();

 //Create a new prefab Mesh for the branch with key 3  
 deformedMesh.Create_PrefabMesh(3,prefabMeshGO)

 //Update procedural mesh generated on all the branches
 deformedMesh.Update_Branches(true, true);

Update Branch

  public static void Update_Branch( int branchKey, bool updateBaseMesh, bool updateMaterials)

Example:

 //Create a spline plus game object at Vector3.zero
 var sPData = SplinePlusAPI.CreateSplinePlus(new Vector3(0,0,0));

 //Add a deformed mesh component to the spline plus game object 
 var deformedMesh = sPData.Add_DeformMesh();

 //Create a new prefab Mesh for the branch with key 3  
 deformedMesh.Create_PrefabMesh(3,prefabMeshGO)

 //Update procedural mesh generated on branch with key 3
 deformedMesh.Update_Branch(3,true, true);

Update Node

    public static void Update_Node( Node node, bool updateBaseMesh, bool updateMaterials)

Example:

//Create a spline plus game object at Vector3.zero
var sPData = SplinePlusAPI.CreateSplinePlus(new Vector3(0,0,0));

//Add a deformed mesh component to the spline plus game object 
var deformedMesh = sPData.Add_DeformMesh();

//Create a new prefab Mesh for the branch with key 3  
deformedMesh.Create_PrefabMesh(3,prefabMeshGO)

var node = sPData.BranchesDict[3].Nodes[0];

//Update procedural mesh generated on the branches connected to node
deformedMesh.Update_Node(node,true,true);