 |
PixelsNode(Vector3, BoundingBox, Color4, Single, NullableBoolean, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic PixelsNode(
Vector3[] positions,
BoundingBox positionsBoundingBox,
Color4[] pixelColors,
float[] pixelSizes,
bool? hasTransparentPixels,
string? name = null
)
Parameters
- positions Vector3
- array of Vector3 values that define the positions of the pixels
- positionsBoundingBox BoundingBox
- BoundingBox of the positions
- pixelColors Color4
- Array of Color4 values that specifies the colors for each pixel. When color's alpha is 0, then pixel is not rendered. Colors are 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.
- hasTransparentPixels NullableBoolean
- optional Boolean that specifies if pixelColors contain any transparent color (alpha < 1)
- name String (Optional)
- optional node name
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.PixelsNode.#ctor(System.Numerics.Vector3[],Ab4d.SharpEngine.Common.BoundingBox,Ab4d.SharpEngine.Common.Color4[],System.Single[],System.Nullable{System.Boolean},System.String)"]
See Also