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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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