Class VolumeTextureDiffuseMaterial
- Namespace
- HelixToolkit.WinUI.SharpDX
- Assembly
- HelixToolkit.WinUI.SharpDX.dll
Used to use gradient data as Volume 3D texture. User must create their own data reader to read texture files as pixel byte[] and pass the necessary information as VolumeTextureParams
Pixel Byte[] is equal to Width * Height * Depth * BytesPerPixel.
public sealed class VolumeTextureDiffuseMaterial : VolumeTextureMaterialBase, IWinRTObject, IDynamicInterfaceCastable, IEquatable<DependencyObject>, IVolumeTextureMaterial
- Inheritance
-
VolumeTextureDiffuseMaterial
- Implements
-
IWinRTObject
- Inherited Members
Constructors
VolumeTextureDiffuseMaterial()
public VolumeTextureDiffuseMaterial()
VolumeTextureDiffuseMaterial(VolumeTextureDiffuseMaterialCore)
public VolumeTextureDiffuseMaterial(VolumeTextureDiffuseMaterialCore core)
Parameters
Fields
TextureProperty
public static readonly DependencyProperty TextureProperty
Field Value
Properties
Texture
Gets or sets the texture.
public VolumeTextureGradientParams Texture { get; set; }
Property Value
- VolumeTextureGradientParams
The texture.
Methods
OnCreateCore()
protected override MaterialCore OnCreateCore()