Table of Contents

Class LineMaterial

Namespace
HelixToolkit.WinUI.SharpDX
Assembly
HelixToolkit.WinUI.SharpDX.dll
public class LineMaterial : Material, IWinRTObject, IDynamicInterfaceCastable, IEquatable<DependencyObject>
Inheritance
LineMaterial
Implements
IWinRTObject
Derived
Inherited Members

Constructors

LineMaterial()

public LineMaterial()

LineMaterial(LineMaterialCore)

public LineMaterial(LineMaterialCore core)

Parameters

core LineMaterialCore

Fields

ColorProperty

The color property

public static readonly DependencyProperty ColorProperty

Field Value

DependencyProperty

EnableDistanceFadingProperty

public static readonly DependencyProperty EnableDistanceFadingProperty

Field Value

DependencyProperty

FadingFarDistanceProperty

public static readonly DependencyProperty FadingFarDistanceProperty

Field Value

DependencyProperty

FadingNearDistanceProperty

public static readonly DependencyProperty FadingNearDistanceProperty

Field Value

DependencyProperty

FixedSizeProperty

public static readonly DependencyProperty FixedSizeProperty

Field Value

DependencyProperty

SamplerDescriptionProperty

public static readonly DependencyProperty SamplerDescriptionProperty

Field Value

DependencyProperty

SmoothnessProperty

The smoothness property

public static readonly DependencyProperty SmoothnessProperty

Field Value

DependencyProperty

TextureProperty

public static readonly DependencyProperty TextureProperty

Field Value

DependencyProperty

TextureScaleProperty

public static readonly DependencyProperty TextureScaleProperty

Field Value

DependencyProperty

ThicknessProperty

The thickness property

public static readonly DependencyProperty ThicknessProperty

Field Value

DependencyProperty

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

true if [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

true if [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

OnCreateCore()

protected override MaterialCore OnCreateCore()

Returns

MaterialCore