|
PixelsNode(Vector3, Color4, NullableBoolean, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public PixelsNode(
Vector3[] positions,
Color4[] pixelColors,
bool? hasTransparentPixels,
float pixelSize = 1f,
string? name = null
)
Parameters
- positions Vector3
- array of Vector3 values that define the positions of the pixels
- pixelColors Color4
- Array of Color4 values that specifies the colors for each pixel. When color's alpha is 0, then pixel is not rendered.
- hasTransparentPixels NullableBoolean
- optional Boolean that specifies if pixelColors contain any transparent color (alpha < 1)
- pixelSize Single (Optional)
- size of the pixels (1 by default)
- name String (Optional)
- optional node name
See Also