Class PointMaterial
- Namespace
- HelixToolkit.WinUI.SharpDX
- Assembly
- HelixToolkit.WinUI.SharpDX.dll
public class PointMaterial : Material, IWinRTObject, IDynamicInterfaceCastable, IEquatable<DependencyObject>
- Inheritance
-
PointMaterial
- Implements
-
IWinRTObject
- Inherited Members
Constructors
PointMaterial()
public PointMaterial()
PointMaterial(PointMaterialCore)
public PointMaterial(PointMaterialCore core)
Parameters
corePointMaterialCore
Fields
BlendingFactorProperty
public static readonly DependencyProperty BlendingFactorProperty
Field Value
ColorProperty
public static readonly DependencyProperty ColorProperty
Field Value
EnableColorBlendingProperty
public static readonly DependencyProperty EnableColorBlendingProperty
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
FigureProperty
public static readonly DependencyProperty FigureProperty
Field Value
FigureRatioProperty
public static readonly DependencyProperty FigureRatioProperty
Field Value
SizeProperty
public static readonly DependencyProperty SizeProperty
Field Value
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
trueif [enable color blending]; otherwise,false.
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.
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
OnCreateCore()
protected override MaterialCore OnCreateCore()