Skip to content

LoaderMatrix

Claude edited this page Oct 27, 2026 · 8 revisions
Blitz3D

LoaderMatrix

LoaderMatrix file_ext:String, xx:Float32, xy:Float32, xz:Float32, yx:Float32, yy:Float32, yz:Float32, zx:Float32, zy:Float32, zz:Float32
Parameter Type Default Description
file_ext String required File extension the matrix is for, for example x or 3ds.
xx Float32 required Matrix value, row 1, column 1.
xy Float32 required Matrix value, row 1, column 2.
xz Float32 required Matrix value, row 1, column 3.
yx Float32 required Matrix value, row 2, column 1.
yy Float32 required Matrix value, row 2, column 2.
yz Float32 required Matrix value, row 2, column 3.
zx Float32 required Matrix value, row 3, column 1.
zy Float32 required Matrix value, row 3, column 2.
zz Float32 required Matrix value, row 3, column 3.

Description

Sets a 3x3 matrix that is applied to every model loaded from files with a certain extension, to correct a file format whose axes differ from Blitz3D. By default .x files are used as they are and .3ds files get Y and Z swapped. Only the file type matters, not the case.

Differences

  • The matrix is remembered but never used. .3ds files always get Y and Z swapped, the default, and .x files can not be loaded.

Related Commands

FlipMesh, LoadAnimMesh, LoadMesh, MeshCullBox

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally