Table of Contents

Class PointMaterial

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll
public class PointMaterial : Material
Inheritance
PointMaterial
Inherited Members

Constructors

PointMaterial()

public PointMaterial()

PointMaterial(PointMaterialCore)

public PointMaterial(PointMaterialCore core)

Parameters

core PointMaterialCore

Fields

BlendingFactorProperty

public static readonly DependencyProperty BlendingFactorProperty

Field Value

DependencyProperty

ColorProperty

public static readonly DependencyProperty ColorProperty

Field Value

DependencyProperty

EnableColorBlendingProperty

public static readonly DependencyProperty EnableColorBlendingProperty

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

FigureProperty

public static readonly DependencyProperty FigureProperty

Field Value

DependencyProperty

FigureRatioProperty

public static readonly DependencyProperty FigureRatioProperty

Field Value

DependencyProperty

SizeProperty

public static readonly DependencyProperty SizeProperty

Field Value

DependencyProperty

Properties

BlendingFactor

Gets or sets the blending factor.

Used when EnableColorBlending = true.

public double BlendingFactor { get; set; }

Property Value

double

The blending factor.

Color

Gets or sets the point color.

public Color Color { get; set; }

Property Value

Color

The color.

EnableColorBlending

Gets or sets a value indicating whether [enable color blending].

Once enabled, final color = BlendingFactor * Color + (1 - BlendingFactor) * Vertex Color.

public bool EnableColorBlending { get; set; }

Property Value

bool

true if [enable color blending]; otherwise, false.

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.

Figure

Gets or sets the figure.

public PointFigure Figure { get; set; }

Property Value

PointFigure

The figure.

FigureRatio

Gets or sets the figure ratio.

public double FigureRatio { get; set; }

Property Value

double

The figure ratio.

Size

Gets or sets the size.

public Size Size { get; set; }

Property Value

Size

The size.

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()

Returns

MaterialCore