Table of Contents

Class PhongMaterialCore

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

Properties

AmbientColor

Gets or sets the color of the ambient.

public Color4 AmbientColor { get; set; }

Property Value

Color4

The color of the ambient.

DiffuseAlphaMap

Gets or sets the DiffuseAlphaMap.

public TextureModel? DiffuseAlphaMap { get; set; }

Property Value

TextureModel

DiffuseAlphaMap

DiffuseAlphaMapFilePath

Gets or sets the diffuse alpha map file path. For export only

public string DiffuseAlphaMapFilePath { get; set; }

Property Value

string

The diffuse alpha map file path.

DiffuseColor

Gets or sets the color of the diffuse.

public Color4 DiffuseColor { get; set; }

Property Value

Color4

The color of the diffuse.

DiffuseMap

Gets or sets the diffuse map.

public TextureModel? DiffuseMap { get; set; }

Property Value

TextureModel

The diffuse map.

DiffuseMapFilePath

Gets or sets the diffuse map file path. For export only

public string DiffuseMapFilePath { get; set; }

Property Value

string

The diffuse map file path.

DiffuseMapSampler

Gets or sets the DiffuseMapSampler.

public SamplerStateDescription DiffuseMapSampler { get; set; }

Property Value

SamplerStateDescription

DiffuseMapSampler

DisplacementMap

Gets or sets the DisplacementMap.

public TextureModel? DisplacementMap { get; set; }

Property Value

TextureModel

DisplacementMap

DisplacementMapFilePath

Gets or sets the displacement file path. For export only

public string DisplacementMapFilePath { get; set; }

Property Value

string

The displacement file path.

DisplacementMapSampler

Gets or sets the DisplacementMapSampler.

public SamplerStateDescription DisplacementMapSampler { get; set; }

Property Value

SamplerStateDescription

DisplacementMapSampler

DisplacementMapScaleMask

Gets or sets the DisplacementMapScaleMask.

public Vector4 DisplacementMapScaleMask { get; set; }

Property Value

Vector4

DisplacementMapScaleMask

EmissiveColor

Gets or sets the color of the emissive.

public Color4 EmissiveColor { get; set; }

Property Value

Color4

The color of the emissive.

EmissiveMap

Gets or sets the emissive map.

public TextureModel? EmissiveMap { get; set; }

Property Value

TextureModel

The emissive map.

EmissiveMapFilePath

Gets or sets the emissive map file path. For export only

public string EmissiveMapFilePath { get; set; }

Property Value

string

The emissive map file path.

EnableAutoTangent

Gets or sets a value indicating whether [enable automatic tangent].

public bool EnableAutoTangent { get; set; }

Property Value

bool

true if [enable automatic tangent]; otherwise, false.

EnableFlatShading

Gets or sets a value indicating whether [enable flat shading].

public bool EnableFlatShading { get; set; }

Property Value

bool

true if [enable flat shading]; otherwise, false.

EnableTessellation

public bool EnableTessellation { get; set; }

Property Value

bool

MaxDistanceTessellationFactor

Gets or sets the tessellation factor at MaxDistanceTessellationFactor

public float MaxDistanceTessellationFactor { get; set; }

Property Value

float

The maximum distance tessellation factor.

MaxTessellationDistance

public float MaxTessellationDistance { get; set; }

Property Value

float

MeshType

public MeshTopologyEnum MeshType { get; set; }

Property Value

MeshTopologyEnum

MinDistanceTessellationFactor

Gets or sets the tessellation factor at MinTessellationDistance.

public float MinDistanceTessellationFactor { get; set; }

Property Value

float

The minimum distance tessellation factor.

MinTessellationDistance

public float MinTessellationDistance { get; set; }

Property Value

float

NormalMap

Gets or sets the NormalMap.

public TextureModel? NormalMap { get; set; }

Property Value

TextureModel

NormalMap

NormalMapFilePath

Gets or sets the normal map file path. For export only

public string NormalMapFilePath { get; set; }

Property Value

string

The normal map file path.

ReflectiveColor

Gets or sets the color of the reflective.

public Color4 ReflectiveColor { get; set; }

Property Value

Color4

The color of the reflective.

RenderDiffuseAlphaMap

public bool RenderDiffuseAlphaMap { get; set; }

Property Value

bool

RenderDiffuseMap

public bool RenderDiffuseMap { get; set; }

Property Value

bool

RenderDisplacementMap

public bool RenderDisplacementMap { get; set; }

Property Value

bool

RenderEmissiveMap

Gets or sets a value indicating whether [render emissive map].

public bool RenderEmissiveMap { get; set; }

Property Value

bool

true if [render emissive map]; otherwise, false.

RenderEnvironmentMap

public bool RenderEnvironmentMap { get; set; }

Property Value

bool

RenderNormalMap

public bool RenderNormalMap { get; set; }

Property Value

bool

RenderShadowMap

public bool RenderShadowMap { get; set; }

Property Value

bool

RenderSpecularColorMap

Gets or sets a value indicating whether [render specular color map].

public bool RenderSpecularColorMap { get; set; }

Property Value

bool

true if [render specular color map]; otherwise, false.

SpecularColor

Gets or sets the color of the specular.

public Color4 SpecularColor { get; set; }

Property Value

Color4

The color of the specular.

SpecularColorMap

Gets or sets the specular color map.

public TextureModel? SpecularColorMap { get; set; }

Property Value

TextureModel

The specular color map.

SpecularColorMapFilePath

Gets or sets the specular color map file path. For export only

public string SpecularColorMapFilePath { get; set; }

Property Value

string

The specular color map file path.

SpecularShininess

Gets or sets the specular shininess.

public float SpecularShininess { get; set; }

Property Value

float

The specular shininess.

Exceptions

NotImplementedException

UVTransform

Gets or sets the uv transform.

public UVTransform UVTransform { get; set; }

Property Value

UVTransform

The uv transform.

VertexColorBlendingFactor

Gets or sets the vert color blending factor. Diffuse = (1- VertexColorBlendingFactor) * Diffuse + VertexColorBlendingFactor * Vertex Color

public float VertexColorBlendingFactor { get; set; }

Property Value

float

The vert color blending factor.

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