 |
MeshUtilsUpdateCombinedMeshes Method |
UpdateCombinedMeshes method updates the Vertices in specified combinedMesh that was created before by calling
CombineAllMeshes(GroupNode, Transform) method.
It also applies all the transformations to the positions and normals.
If the count of triangle indices is the same, then they are not updated.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static void UpdateCombinedMeshes(
StandardMesh combinedMesh,
GroupNode groupNode,
Transform? parentTransform = null
)
Parameters
- combinedMesh StandardMesh
- StandardMesh that was created before by calling the CombineAllMeshes method
- groupNode GroupNode
- root GroupNode
- parentTransform Transform (Optional)
- parent Transform or null
See Also