Class LineMaterial
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
public class LineMaterial : Material
- Inheritance
-
LineMaterial
- Derived
- Inherited Members
Constructors
LineMaterial()
public LineMaterial()
LineMaterial(LineMaterialCore)
public LineMaterial(LineMaterialCore core)
Parameters
coreLineMaterialCore
Fields
ColorProperty
The color property
public static readonly DependencyProperty ColorProperty
Field Value
EnableDistanceFadingProperty
public static readonly DependencyProperty EnableDistanceFadingProperty
Field Value
FadingFarDistanceProperty
public static readonly DependencyProperty FadingFarDistanceProperty
Field Value
FadingNearDistanceProperty
public static readonly DependencyProperty FadingNearDistanceProperty
Field Value
FixedSizeProperty
public static readonly DependencyProperty FixedSizeProperty
Field Value
SamplerDescriptionProperty
public static readonly DependencyProperty SamplerDescriptionProperty
Field Value
SmoothnessProperty
The smoothness property
public static readonly DependencyProperty SmoothnessProperty
Field Value
TextureProperty
public static readonly DependencyProperty TextureProperty
Field Value
TextureScaleProperty
public static readonly DependencyProperty TextureScaleProperty
Field Value
ThicknessProperty
The thickness property
public static readonly DependencyProperty ThicknessProperty
Field Value
Properties
Color
Gets or sets the color.
public Color Color { get; set; }
Property Value
- Color
The color.
EnableDistanceFading
Gets or sets a value indicating whether [enable distance fading].
public bool EnableDistanceFading { get; set; }
Property Value
- bool
trueif [enable distance fading]; otherwise,false.
FadingFarDistance
Gets or sets the fading far distance.
public double FadingFarDistance { get; set; }
Property Value
- double
The fading far distance.
FadingNearDistance
Gets or sets the fading near distance.
public double FadingNearDistance { get; set; }
Property Value
- double
The fading near distance.
FixedSize
Gets or sets a value indicating whether [fixed size].
public bool FixedSize { get; set; }
Property Value
- bool
trueif [fixed size]; otherwise,false.
SamplerDescription
Gets or sets the sampler.
public SamplerStateDescription SamplerDescription { get; set; }
Property Value
- SamplerStateDescription
The sampler.
Smoothness
Gets or sets the smoothness.
public double Smoothness { get; set; }
Property Value
- double
The smoothness.
Texture
Gets or sets the texture.
public TextureModel? Texture { get; set; }
Property Value
- TextureModel
The texture.
TextureScale
Gets or sets the texture scale. Scale on texture X length
public double TextureScale { get; set; }
Property Value
- double
The texture scale.
Thickness
Gets or sets the thickness.
public double Thickness { get; set; }
Property Value
- double
The thickness.
Methods
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
protected override Freezable CreateInstanceCore()
Returns
- Freezable
The new instance.
OnCreateCore()
protected override MaterialCore OnCreateCore()