Click or drag to resize
Ab4d.SharpEngine logo

PixelsNode(Vector3, Color4, Single, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public PixelsNode(
	Vector3[] positions,
	Color4 pixelColor,
	float pixelSize = 1f,
	string? name = null
)

Parameters

positions  Vector3
array of Vector3 values that define the positions of the pixels
pixelColor  Color4
color of the pixels (or color mask when PixelColors array is used)
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