Class VolumeTextureMaterialCoreBase<T>
- Namespace
- HelixToolkit.SharpDX.Model
- Assembly
- HelixToolkit.SharpDX.dll
Abstract class for VolumeTextureMaterial
public abstract class VolumeTextureMaterialCoreBase<T> : MaterialCore, IMaterial, INotifyPropertyChanged, IVolumeTextureMaterial
Type Parameters
T
- Inheritance
-
VolumeTextureMaterialCoreBase<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Color
Gets or sets the color.
public Color4 Color { get; set; }
Property Value
- Color4
The color.
DefaultPassName
protected virtual string DefaultPassName { get; }
Property Value
EnablePlaneAlignment
public bool EnablePlaneAlignment { get; set; }
Property Value
IsoValue
Gets or sets the iso value. Only data with isovalue > sepecified iso value will be displayed Value must be normalized to 0~1. Default = 1, show all data.
public double IsoValue { get; set; }
Property Value
- double
The iso value.
IterationOffset
Gets or sets the iteration offset. This can be used to achieve cross section
public int IterationOffset { get; set; }
Property Value
- int
The iteration offset.
MaxIterations
Gets or sets the iteration. Usually set to VolumeDepth.
public int MaxIterations { get; set; }
Property Value
- int
The iteration.
SampleDistance
Gets or sets the step size, controls the quality.
public double SampleDistance { get; set; }
Property Value
- double
The size of the step.
Sampler
public SamplerStateDescription Sampler { get; set; }
Property Value
- SamplerStateDescription
TransferMap
Gets or sets the transfer map.
public Color4[]? TransferMap { get; set; }
Property Value
- Color4[]
The transfer map.
VolumeTexture
public T? VolumeTexture { get; set; }
Property Value
- T
Methods
CreateMaterialVariables(IEffectsManager, IRenderTechnique)
Creates the material variables.
public override MaterialVariable CreateMaterialVariables(IEffectsManager manager, IRenderTechnique technique)
Parameters
managerIEffectsManagerThe manager.
techniqueIRenderTechniqueThe technique.
Returns
OnCreateTexture(IEffectsManager?)
protected abstract ShaderResourceViewProxy? OnCreateTexture(IEffectsManager? manager)
Parameters
managerIEffectsManager