示例#1
0
        static void OnTransparencyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            SurfaceModel3D surface = obj as SurfaceModel3D;

            surface.SetColorFromIndices();
            surface.RecreateBuffers();
            surface.RequestRender(EventArgs.Empty);
        }
示例#2
0
        static void OnMeshLinesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            SurfaceModel3D surface = obj as SurfaceModel3D;

            surface.RequestRender(EventArgs.Empty);
        }