 |
RawImageDataSetColor4Relative Method |
Set the color at the specified relative position (x and y should be in range from 0 to 1).
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic 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
See Also