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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool? HasTransparentPixelColors { get; set; }

Property Value

NullableBoolean
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