Exemplo n.º 1
0
 public StructProperty GetCollisionMeshProperty(IMEPackage pcc)
 {
     if (pcc.isUExport(BodySetup))
     {
         ExportEntry rb_BodySetup = pcc.getUExport(BodySetup);
         return(rb_BodySetup.GetProperty <StructProperty>("AggGeom"));
     }
     return(null);
 }
Exemplo n.º 2
0
 public static string FollowLink(this IMEPackage pcc, int uIndex)
 {
     if (pcc.isUExport(uIndex))
     {
         ExportEntry parent = pcc.getUExport(uIndex);
         return(pcc.FollowLink(parent.idxLink) + parent.ObjectName + ".");
     }
     if (pcc.isImport(uIndex))
     {
         ImportEntry parent = pcc.getImport(uIndex);
         return(pcc.FollowLink(parent.idxLink) + parent.ObjectName + ".");
     }
     return("");
 }