PureBasic - Mesh

Overview

Meshes are 3D objects composed of many vertices (and triangles) which are linked together to make a shape. A mesh may have an optional skeleton, with bones to allow real-time animation. A mesh may not be moved or displayed directly, but requires to be manipulated through an entity.

InitEngine3D() must be called successfully before using the Mesh functions.

Command Index

AddSubMesh
BuildMeshShadowVolume
BuildMeshTangents
CopyMesh
CreateCapsule
CreateCone
CreateCube
CreateCylinder
CreateIcoSphere
CreateLine3D
CreateMesh
CreatePlane
CreateSphere
CreateTorus
CreateTube
FinishMesh
FreeMesh
GetMeshData
IsMesh
LoadMesh
MeshFace
MeshID
MeshIndex
MeshIndexCount
MeshRadius
MeshVertexColor
MeshVertexCount
MeshVertexNormal
MeshVertexPosition
MeshVertexTangent
MeshVertexTextureCoordinate
NormalizeMesh
SaveMesh
SetMeshData
SetMeshMaterial
SubMeshCount
TransformMesh
UpdateMesh
UpdateMeshBoundingBox

Example

Mesh.pb

Supported OS

All

Reference Manual - Index