コード例 #1
0
        private void ViewInterp()
        {
            InterpolationForm f = MainForm.Instance.InterpolationForm;

            if (f != null)
            {
                InterpolationEditor e = f._interpolationEditor;
                if (e != null)
                {
                    e.SetTarget(_resource as IKeyframeSource);
                }
            }
        }
コード例 #2
0
        protected void PreConstruct()
        {
            _interpolationEditor = new InterpolationEditor(this);

            _boneTransform = new ApplyLocalBoneTransformFunc[]
            {
                ApplyTranslation,
                ApplyAngle,
                ApplyScale
            };
            _mouseMoveTargetType = new MouseMoveTargetType[]
            {
                MouseMoveTargetBone,
                MouseMoveTargetVertex
            };
        }
コード例 #3
0
 public InterpolationForm(ModelEditorBase mainWindow)
 {
     InitializeComponent();
     _interpolationEditor = new InterpolationEditor(mainWindow);
     TopMost = true;
 }