Class Array2DExtensions
Array2D Based Extension Methods
Inheritance
System.Object
Array2DExtensions
Namespace: GDX.Collections.Generic
Syntax
[VisualScriptingCompatible((short)2)]
public static class Array2DExtensions
Methods
| Improve this Doc View SourceScale(ref Array2D<Single>, Int32)
Generate an array scaled by bilinear interpolation.
Declaration
public static Array2D<float> Scale(this ref Array2D<float> inputArray, int scaleFactor = 2)
Parameters
Type | Name | Description |
---|---|---|
Array2D<System.Single> | inputArray | The existing Array2D<T> to scale. |
System.Int32 | scaleFactor | The multiple to scale by. |
Returns
Type | Description |
---|---|
Array2D<System.Single> |
Remarks
Works with System.Single values.