Skip to content

WireFrame

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

WireFrame

WireFrame:Void enable:Int32
Parameter Mode Type Default Description
enable In Int32 required True for wireframe, False for solid.

Description

Switches between solid drawing and wireframe drawing, where only the edges of the triangles are shown. It is handy to look at how a mesh is built. It affects everything that is drawn afterwards, until it is switched off again.

Differences

  • On a graphics driver that can not draw lines instead of triangles the call is ignored and the world stays solid.

Examples

Graphics3D 320, 240, 0, 2
SetBuffer BackBuffer()
camera = CreateCamera()
CameraClsColor camera, 70, 100, 160
light = CreateLight()
RotateEntity light, 40, 30, 0

ball = CreateSphere(12)
EntityColor ball, 255, 255, 255
PositionEntity ball, 0, 0, 3
TurnEntity ball, 20, 0, 0

WireFrame True
RenderWorld
Flip
WaitKey

Media

WireFrame

Related Commands

UpdateWorld, WBuffer

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally