 |
RawImageDataGetColor4 Method |
Returns the color as Color4 value at the specified position.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic Color4 GetColor4(
int x,
int y,
Format format = Format.B8G8R8A8Unorm
)
Parameters
- x Int32
- x
- y Int32
- y
- format Format (Optional)
- format of the color - supported formats: B8G8R8A8Unorm (default) and R8G8B8A8Unorm
Return Value
Color4color as Color4 value at the specified position
ExceptionsException | Condition |
---|
InvalidOperationException | |
ArgumentOutOfRangeException | |
NotSupportedException | |
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.RawImageData.GetColor4(System.Int32,System.Int32,Ab4d.Vulkan.Format)"]
See Also