HandlePush() public méthode

public HandlePush ( Direction pushDirection ) : void
pushDirection Direction
Résultat void
Exemple #1
0
        private void slider2D_ItemSelected(object sender, SelectableSlider2DSelectEventArgs e)
        {
            if (handHandler != null)
            {
                handHandler.HandlePush(e.SelectDirection);
            }

            if (e.SelectDirection == Direction.Backward)
            {
                slider2D.Reposition(new XnMPoint(lastRealHandPoint.X, lastRealHandPoint.Y, lastRealHandPoint.Z));
            }
        }