Click or drag to resize
Ab4d.SharpEngine logo

PixelEffectUsePixelIndexColor Property

Gets or sets a Boolean that specifies if this PixelEffects uses pixel index for the color of the pixel. When true, then PixelColor is added to the calculated color from pixel index. PixelColors array is not used in this case. The following is used to calculate the color from pixel index:
the first index starts with 1;
first number go into blue color (vertexId = 1: BGR: 0x010000; vertexId 257: BGR: 0x010200);
if there are more the 16M vertices, then this is written into alpha value (otherwise alpha is 0).

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public bool UsePixelIndexColor { get; set; }

Property Value

Boolean
See Also