internal static void OnwidthHeightDepthChanged(Object sender, DependencyPropertyChangedEventArgs e) { Base3D p = ((Base3D)sender); p.WidthHeightDepth = (double)(e.NewValue); p._content.Geometry = p.Draw(); }
internal static void OnPoint3dChanged(Object sender, DependencyPropertyChangedEventArgs e) { Base3D p = ((Base3D)sender); p.StartingPointCube = (Point3D)(e.NewValue); p._content.Geometry = p.Draw(); }
internal static void opacityPropertyChanged(Object sender, DependencyPropertyChangedEventArgs e) { Base3D p = ((Base3D)sender); if (p.opacity != (double)(e.NewValue)) { p.opacity = (double)(e.NewValue); p._content.Geometry = p.Draw(); } }
internal static void colorPropertyChanged(Object sender, DependencyPropertyChangedEventArgs e) { Base3D p = ((Base3D)sender); p.color = (Color)(e.NewValue); if (p.Draw() != null) { p._content.Geometry = p.Draw(); } }