 |
PixelsNode(Vector3, BoundingBox, Color4, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic PixelsNode(
Vector3[] positions,
BoundingBox positionsBoundingBox,
Color4 pixelColor,
float pixelSize = 1f,
string? name = null
)
Parameters
- positions Vector3
- array of Vector3 values that define the positions of the pixels
- positionsBoundingBox BoundingBox
- BoundingBox of the positions
- pixelColor Color4
- color of the pixels (or color mask when PixelColors array is used). The pixelColor is not alpha pre-multiplied.
- pixelSize Single (Optional)
- size of the pixels (or size factor when PixelSizes array is used; 1 by default)
- name String (Optional)
- optional node name
See Also