static ParametricShape3D() { FrontMaterialProperty.OverrideMetadata(typeof(ParametricShape3D), new PropertyMetadata(new Shape3DMaterial(GetDefaultFrontMaterial))); BackMaterialProperty.OverrideMetadata(typeof(ParametricShape3D), new PropertyMetadata(new Shape3DMaterial(GetDefaultBackMaterial))); }
/// <summary> /// Static constructor. /// No default back material for 3D closed shapes. /// </summary> static Ring3D() { BackMaterialProperty.OverrideMetadata( typeof(Ring3D), new PropertyMetadata( null, VisualPropertyChanged)); }
/// <summary> /// Static constructor. /// No default back material for 3D closed shapes. /// </summary> static Isocahedron3D() { BackMaterialProperty.OverrideMetadata( typeof(Isocahedron3D), new PropertyMetadata( null, VisualPropertyChanged)); }
/// <summary> /// Static constructor. /// </summary> static PolygonalElement3D() { // No default back material for 3D closed shapes. BackMaterialProperty.OverrideMetadata( typeof(PolygonalElement3D), new PropertyMetadata( null, VisualPropertyChanged)); }
/// <summary> /// Static constructor. /// No default back material for 3D closed shapes. /// </summary> static House3D() { BackMaterialProperty.OverrideMetadata( typeof(House3D), new PropertyMetadata( null, VisualPropertyChanged)); DefaultTextureMappingProperty.OverrideMetadata( typeof(House3D), new PropertyMetadata( true)); }