/// <summary> /// Constructor /// </summary> public XformInfoControl() : base() { InitializeComponent(); SetTitleLabel("Transform", "X", "Y", "Z"); mT.Checked = true; mTheXform = null; // to keep track of the values on the sldier bar mCurrentRotateValues = Vector3.Zero; }
/// <summary> /// Sets the XformSetsUI upon which /// the transform will be controlled by this GUI object /// </summary> /// <param name="t">The XformInfo who's transform to be control</param> public void SetXform(XformInfo t) { mTheXform = t; XformSetsUI(); }