private void ViewInterp() { InterpolationForm f = MainForm.Instance.InterpolationForm; if (f != null) { InterpolationEditor e = f._interpolationEditor; if (e != null) { e.SetTarget(_resource as IKeyframeSource); } } }
protected void PreConstruct() { _interpolationEditor = new InterpolationEditor(this); _boneTransform = new ApplyLocalBoneTransformFunc[] { ApplyTranslation, ApplyAngle, ApplyScale }; _mouseMoveTargetType = new MouseMoveTargetType[] { MouseMoveTargetBone, MouseMoveTargetVertex }; }
public InterpolationForm(ModelEditorBase mainWindow) { InitializeComponent(); _interpolationEditor = new InterpolationEditor(mainWindow); TopMost = true; }