Пример #1
0
 public void Update()
 {
     componentName    = SofaPhysics.ToStr(SofaPhysicsAPI.GetMeshName(meshIndex));
     verticesAmount   = SofaPhysicsAPI.GetMeshVerticesAmount(meshIndex);
     verticesPosition = SofaPhysicsAPI.GetMeshVerticesPositions(meshIndex);
     triangleAmount   = SofaPhysicsAPI.GetMeshTriangleAmount(meshIndex);
     triangleTopology = SofaPhysicsAPI.GetMeshTriangleTopology(meshIndex);
     quadAmount       = SofaPhysicsAPI.GetMeshQuadAmount(meshIndex);
     quadTopology     = SofaPhysicsAPI.GetMeshQuadTopology(meshIndex);
 }