Table of Contents

Class LineMaterialCore

Namespace
HelixToolkit.SharpDX.Model
Assembly
HelixToolkit.SharpDX.dll
[DataContract]
public class LineMaterialCore : MaterialCore, IMaterial, INotifyPropertyChanged, ILineRenderParams
Inheritance
LineMaterialCore
Implements
Derived
Inherited Members
Extension Methods

Properties

AlphaThreshold

Gets or sets the alpha threshold. Pixel with color alpha value smaller than threshold will be set to transparent.

This is used to avoid sampler color interpolation effects.

public float AlphaThreshold { get; set; }

Property Value

float

The alpha threshold

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

FixedSize

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

public bool FixedSize { get; set; }

Property Value

bool

true if [fixed size]; otherwise, false.

LineColor

Final Line Color = LineColor * PerVertexLineColor

public Color4 LineColor { get; set; }

Property Value

Color4

SamplerDescription

Billboard texture sampler description

public SamplerStateDescription SamplerDescription { get; set; }

Property Value

SamplerStateDescription

Smoothness

public float Smoothness { get; set; }

Property Value

float

Texture

Gets or sets the texture.

public TextureModel? Texture { get; set; }

Property Value

TextureModel

The texture.

TextureScale

Gets or sets the texture scale.

public float TextureScale { get; set; }

Property Value

float

The texture scale.

Thickness

public float Thickness { get; set; }

Property Value

float

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