Skip to content

MeshWidth

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

MeshWidth

MeshWidth:Float32 mesh:Int32
Parameter Mode Type Default Description
mesh In Int32 required Mesh handle.

Returns: The width of the mesh.

Description

Reads the size of the mesh along X, taken from the vertices. Entity scale does not count, but mesh commands such as ScaleMesh do. A cube is 2 wide, so MeshWidth(CreateCube()) is 2.

Related Commands

AddMesh, CopyMesh, CreateMesh, FitMesh, FlipMesh, MeshCullBox, MeshDepth, MeshHeight

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally