public StructProperty GetCollisionMeshProperty(IMEPackage pcc) { if (pcc.isUExport(BodySetup)) { ExportEntry rb_BodySetup = pcc.getUExport(BodySetup); return(rb_BodySetup.GetProperty <StructProperty>("AggGeom")); } return(null); }
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(""); }