Click or drag to resize
Ab4d.SharpEngine logo

RawImageDataSetColor4Relative Method

Set the color at the specified relative position (x and y should be in range from 0 to 1).

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void SetColor4Relative(
	float x,
	float y,
	Color4 color,
	Format format = Format.B8G8R8A8Unorm
)

Parameters

x  Single
x
y  Single
y
color  Color4
color as Color4
format  Format  (Optional)
format of the color - supported formats: B8G8R8A8Unorm (default) and R8G8B8A8Unorm
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.RawImageData.SetColor4Relative(System.Single,System.Single,Ab4d.SharpEngine.Common.Color4,Ab4d.Vulkan.Format)"]

See Also