Table of Contents

Class PointMaterialCore

Namespace
HelixToolkit.SharpDX.Model
Assembly
HelixToolkit.SharpDX.dll
public class PointMaterialCore : MaterialCore, IMaterial, INotifyPropertyChanged, IPointRenderParams
Inheritance
PointMaterialCore
Implements
Inherited Members
Extension Methods

Properties

BlendingFactor

Gets or sets the blending factor.

Used when EnableColorBlending = true.

public float BlendingFactor { get; set; }

Property Value

float

The blending factor.

EnableColorBlending

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

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

public bool EnableColorBlending { get; set; }

Property Value

bool

true if [enable blending]; otherwise, false.

EnableDistanceFading

public bool EnableDistanceFading { get; set; }

Property Value

bool

FadingFarDistance

public float FadingFarDistance { get; set; }

Property Value

float

FadingNearDistance

public float FadingNearDistance { get; set; }

Property Value

float

Figure

Gets or sets the figure.

public PointFigure Figure { get; set; }

Property Value

PointFigure

The figure.

FigureRatio

Gets or sets the figure ratio.

public float FigureRatio { get; set; }

Property Value

float

The figure ratio.

FixedSize

Gets or sets a value indicating whether [fixed size].

public bool FixedSize { get; set; }

Property Value

bool

true if [fixed size]; otherwise, false.

Height

Gets or sets the height.

public float Height { get; set; }

Property Value

float

The height.

PointColor

Final Point Color = PointColor * PerVertexPointColor

public Color4 PointColor { get; set; }

Property Value

Color4

Width

Gets or sets the width.

public float Width { get; set; }

Property Value

float

The width.

Methods

CreateMaterialVariables(IEffectsManager, IRenderTechnique)

Creates the material variables.

public override MaterialVariable CreateMaterialVariables(IEffectsManager manager, IRenderTechnique technique)

Parameters

manager IEffectsManager

The manager.

technique IRenderTechnique

The technique.

Returns

MaterialVariable