/// <summary> /// Create a new Instance /// </summary> /// <param name="parent">The gmdc that should act as Parent</param> public ImportedBone(GeometryDataContainer parent) { bone = new GmdcJoint(parent); name = ""; parentname = ""; index = -1; action = GmdcImporterAction.Add; sourcepos = new VectorTransformation(SimPe.Geometry.VectorTransformation.TransformOrder.TranslateRotate); scale = (float)(1.0); }
/// <summary> /// Constructor /// </summary> public GmdcModel(GeometryDataContainer parent) : base(parent) { transforms = new VectorTransformations(); names = new GmdcNamePairs(); subset = new GmdcJoint(parent); }
/// <summary> /// Checks wether or not the object is already stored in the List /// </summary> /// <param name="item">The Object you are looking for</param> /// <returns>true, if it was found</returns> public bool Contains(GmdcJoint item) { return(base.Contains(item)); }
/// <summary> /// remove an Element /// </summary> /// <param name="item">The object that should be removed</param> public void Remove(GmdcJoint item) { base.Remove(item); }
/// <summary> /// insert a new Element /// </summary> /// <param name="index">The Index where the Element should be stored</param> /// <param name="item">The object that should be inserted</param> public void Insert(int index, GmdcJoint item) { base.Insert(index, item); }
/// <summary> /// add a new Element /// </summary> /// <param name="item">The object you want to add</param> /// <returns>The index it was added on</returns> public int Add(GmdcJoint item) { return(base.Add(item)); }