Exemple #1
0
        static ParametricShape3D()
        {
            FrontMaterialProperty.OverrideMetadata(typeof(ParametricShape3D),
                                                   new PropertyMetadata(new Shape3DMaterial(GetDefaultFrontMaterial)));

            BackMaterialProperty.OverrideMetadata(typeof(ParametricShape3D),
                                                  new PropertyMetadata(new Shape3DMaterial(GetDefaultBackMaterial)));
        }
 set => SetValue(FrontMaterialProperty, value);