Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Skeletal Tracking Fundamentals (Beta 2 SDK)
Sep 02, 2011 at 1:39 AMThanks, these tutorials are great.
How would I go about changing the color of an ellipse with hand movement? Here's what I have so far:
private void SetEllipseProperties(FrameworkElement ellipse, Joint joint) { var scaledJoint = joint.ScaleTo(640, 480, .5f, .5f); // change position Canvas.SetLeft(ellipse, scaledJoint.Position.X); Canvas.SetTop(ellipse, scaledJoint.Position.Y); //change color ellipse.Fill = someColorFunction(scaledJoint.Position.Y); }but it doesn't like ellipse.Fill. It tells me "System.Windows.FrameworkElement' does not contain a definition for 'Fill' and no extension method 'Fill' accepting a first argument of type 'System.Windows.FrameworkElement' could be found (are you missing a using directive or an assembly reference?)", yet here, myEllipse.Fill is directly changed.
I'm very new at this -- any help is appreciated!
Michael