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

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