Click or drag to resize
Ab4d.SharpEngine logo

PixelsNode(Vector3, BoundingBox, Color4, Single, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public PixelsNode(
	Vector3[] positions,
	BoundingBox positionsBoundingBox,
	Color4 pixelColor,
	float[] pixelSizes,
	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.
pixelSizes  Single
Array of float values that specify the size for each pixel. When size is less of equal to 0, then the pixel is not rendered.
name  String  (Optional)
optional node name
See Also