
Publisher
notlord
Matrixs
Adds editable Matrixs (2d Arrays) of several types: bool int float Resource
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Matrixes
Add editable Matrixes (2D Arrays) of several types: int / bool / float / Resource
Installation
The procedure is the same as other Godot plugins. See the Godot docs for a full explanation.
- Click the AssetLib tab at the top of the editor and look for Matrixs.
- Download the plugin and install its contents.
- Go to Project -> Project Settings... -> Plugins and enable the plugin by checking "Enable".
Usage
@export var matrix : MatrixBool
Just export the matrix type you want to use.
- MatrixBool
- MatrixInt
- MatrixFloat
- MatrixResource And edit it in the inspector.
Edit its size and values easily!
Matrixes values are accessed through
matrix.values[y][x]
Resource Matrix
The MatrixResource has a special field "Resource Types".
@export var matrix : MatrixResource
This field contains all the types of resources which the matrix can hold. When changing it, type a list of all acceptable resource types, seperated by commas (,).Whitespaces will be ignored.
Note that the MatrixResource does not allow the editing of contained Resources.