Skip to main content

AcrylicMaterialRecipe

C# API / Fluence.Wpf

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf
public sealed class AcrylicMaterialRecipe : Freezable

Stores the value inputs used to create an acrylic material.

Base type: Freezable (including inherited WPF and .NET members)

C# source

Constructors​

AcrylicMaterialRecipe​

public AcrylicMaterialRecipe()

Creates a new AcrylicMaterialRecipe instance.

Properties​

AlwaysUseFallback​

public bool AlwaysUseFallback { get; set; }

Gets or sets whether the material should always use its fallback color.

FallbackColor​

public Color FallbackColor { get; set; }

Gets or sets the fallback color. The supplied alpha channel is preserved.

TintColor​

public Color TintColor { get; set; }

Gets or sets the tint color used by the material.

TintLuminosityOpacity​

public double? TintLuminosityOpacity { get; set; }

Gets or sets explicit luminosity opacity, or null for automatic luminosity.

TintOpacity​

public double TintOpacity { get; set; }

Gets or sets tint opacity, clamped to the inclusive range from zero to one.

Methods​

CreateInstanceCore​

protected override Freezable CreateInstanceCore()

Documentation inherited from the Freezable API.

Dependency property identifiers​

Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.

AlwaysUseFallbackProperty​

public static readonly DependencyProperty AlwaysUseFallbackProperty

Identifies the AlwaysUseFallback dependency property.

FallbackColorProperty​

public static readonly DependencyProperty FallbackColorProperty

Identifies the FallbackColor dependency property.

TintColorProperty​

public static readonly DependencyProperty TintColorProperty

Identifies the TintColor dependency property.

TintLuminosityOpacityProperty​

public static readonly DependencyProperty TintLuminosityOpacityProperty

Identifies the TintLuminosityOpacity dependency property.

TintOpacityProperty​

public static readonly DependencyProperty TintOpacityProperty

Identifies the TintOpacity dependency property.