Table of Contents

Class MatrixArray

Namespace
Gamelogic.Fx
Assembly
Gamelogic.Fx.dll

Represents a two-dimensional matrix stored internally as a flat float array. The matrix layout and interpretation are controlled by the dimensions field.

[Serializable]
public sealed class MatrixArray
Inheritance
MatrixArray
Inherited Members

Fields

dimensions

The width and height of the matrix. Each component must be positive.

public Vector2Int dimensions

Field Value

Vector2Int

values

The matrix values stored in row-major order as a one-dimensional array. The expected length is dimensions.x * dimensions.y.

public float[] values

Field Value

float[]