Click or drag to resize
Ab4d.SharpEngine logo

PixelsNodeHasTransparentPixelColors Property

Gets or sets a nullable Boolean that specifies if PixelColors define colors that have alpha value less than 1 (has any transparent pixels). When there are any transparent pixels, then alpha blending must be used to render the pixels correctly. When this property is not set (is null by default), then the colors in PixelColors array are checked for any transparent pixels.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public bool? HasTransparentPixelColors { get; set; }

Property Value

NullableBoolean

[Missing <value> documentation for "P:Ab4d.SharpEngine.SceneNodes.PixelsNode.HasTransparentPixelColors"]

Remarks

Gets or sets a nullable Boolean that specifies if PixelColors define colors that have alpha value less than 1 (has any transparent pixels).

When there are any transparent pixels, then alpha blending must be used to render the pixels correctly.

When this property is not set (is null by default), then the colors in PixelColors array are checked for any transparent pixels.

Behind the scenes, the value of this property is stored into the mesh's metadata (using SetMetadata(String, Object) method with HasTransparentColorsMetadataKey as key).

See Also