Openb3d.Openb3d: Functions Types Modinfo Source  

OpenB3D Wrapper

Online Blitz3D doc links.

Functions Summary

ActFadeTo Fades entity to the given alpha value (0..1) at the speed of rate.
ActMoveBy Moves entity by an x y z position increment at the speed of rate.
ActMoveTo Moves entity to the given x y z position at the speed of rate.
ActNewtonian Translates entity in the direction it is moving, rate should be below 1.
ActScaleTo Scales entity to the given x y z dimensions at the speed of rate.
ActTintTo Tints entity to the given r g b value (0..255) at the speed of rate.
ActTrackByDistance Tracks target entity up to a given distance at the speed of rate.
ActTrackByPoint Tracks target entity at a given point from the entity at the speed of rate.
ActTurnBy Turns entity by an x y z rotation increment at the speed of rate.
ActTurnTo Turns entity to the given x y z rotation at the speed of rate.
ActVector Positions entity according the given x y z vector.
AddAnimSeq Online doc
AddMesh Online doc
AddSurface Add an existing surface to a mesh.
AddTriangle Online doc
AddVertex Online doc
AlignToVector Online doc
AmbientLight Online doc
AmbientShader Set default shader for surfaces.
Animate Online doc
Animating Online doc
AnimLength Online doc
AnimSeq Online doc
AnimTime Online doc
AppendAction Adds action to the end of another one, where act1 happens before act2.
BackBufferToTex Copy the contents of the backbuffer to a texture.
BeginMax2D Begin using Max2D functions.
BrushAlpha Online doc
BrushBlend Online doc
BrushColor Online doc
BrushFX Online doc
BrushGLBlendFunc GL equivalent.
BrushGLColor GL equivalent.
BrushShininess Online doc
BrushTexture Online doc
BufferToTex Copy pixmap buffer to texture, buffer must be a byte ptr.
CameraClsColor Online doc
CameraClsMode Online doc
CameraFogColor Online doc
CameraFogMode Online doc
CameraFogRange Online doc
CameraPick Online doc
CameraProject Online doc
CameraProjMode Online doc
CameraRange Online doc
CameraToTex Copy rendered camera view to texture.
CameraViewport Online doc
CameraZoom Online doc
ClearCollisions Online doc
ClearSurface Online doc
ClearTextureFilters Online doc
ClearWorld Online doc
CollisionEntity Online doc
CollisionNX Online doc
CollisionNY Online doc
CollisionNZ Online doc
Collisions Online doc
CollisionSurface Online doc
CollisionTime Online doc
CollisionTriangle Online doc
CollisionX Online doc
CollisionY Online doc
CollisionZ Online doc
CopyBrush Returns a copy of the new brush.
CopyEntity Online doc
CopyList Copy a list or vector. To copy a field list use as a method.
CopyMesh Online doc
CopySurface Returns a copy of the new surface.
CopyTexture Returns a copy of the new texture.
CountChildren Online doc
CountCollisions Online doc
CountSurfaces Online doc
CountTriangles Online doc
CountVertices Online doc
CreateBlob Create blob from a fluid mesh where radius is the size of the blob.
CreateBone Create bone.
CreateBrush Online doc
CreateCamera Online doc
CreateCone Online doc
CreateConstraint Create constraint force between two entities of given length, doesn't affect rotation.
CreateCube Online doc
CreateCylinder Online doc
CreateFluid Create fluid mesh for blobs to use.
CreateGeosphere Create geodesic sphere and set terrain size.
CreateLight Online doc
CreateMesh Online doc
CreateOcTree Create octree and set its width, height and depth.
CreateParticleEmitter Create particle emitter from sprite.
CreatePivot Online doc
CreatePlane Online doc
CreateQuad Create flat quad.
CreateRigidBody Create rigid physics body attached to four entities.
CreateShader Load shader from two strings, vertex and fragment.
CreateShadow Create stencil shadow, static is for static or dynamic shadows.
CreateSphere Online doc
CreateSprite Online doc
CreateStencil Create stencil object.
CreateSurface Online doc
CreateTerrain Online doc
CreateTexture Online doc
CreateVoxelSprite Create voxel sprite where slices is the number of sprites.
DeltaPitch Online doc
DeltaYaw Online doc
DepthBufferToTex Copy the contents of the depth buffer to a texture.
EmitterParticleFunction Set custom rendering callback function for particle emitter.
EmitterParticleLife Particle lifespan in frames.
EmitterParticleSpeed Set initial speed, use Rotate/TurnEntity to change direction.
EmitterRate Rate between each emission in range 0..1, smaller is slower.
EmitterVariance Set randomness of emission (direction and speed)
EmitterVector Set vector (direction and speed) for wind or gravity effects.
EndMax2D End using Max2D functions.
EntityAlpha Online doc
EntityBlend Online doc
EntityBox Online doc
EntityClass Online doc
EntityCollided Online doc
EntityColor Online doc
EntityDistance Online doc
EntityFX Online doc
EntityInView Online doc
EntityName Online doc
EntityOrder Online doc
EntityParent Online doc
EntityPick Online doc
EntityPickMode Online doc
EntityPitch Online doc
EntityRadius Online doc
EntityRoll Online doc
EntityScaleX Returns the scale for the x axis of an entity set with ScaleEntity.
EntityScaleY Returns the scale for the y axis of an entity set with ScaleEntity.
EntityScaleZ Returns the scale for the z axis of an entity set with ScaleEntity.
EntityShininess Online doc
EntityTexture Online doc
EntityType Online doc.
EntityVisible Online doc
EntityX Online doc
EntityY Online doc
EntityYaw Online doc
EntityZ Online doc
ExtractAnimSeq Online doc
FindChild Online doc
FindSurface Online doc
FitMesh Online doc
FlipMesh Online doc
FluidArray Create custom rendering array data for fluid mesh and set width, height and depth.
FluidFunction Set custom rendering callback function for fluid mesh.
FluidThreshold Set threshold value used in fluid rendering algorithm, 0.5 is default.
FreeAction Frees action from memory.
FreeBrush Online doc
FreeEntity Online doc
FreeShadow Free stencil shadow.
FreeSurface Frees VBO data and brush.
FreeTexture Online doc
GeosphereHeight Set terrain height normalizing value, 0.05 is default.
GetBrushTexture Online doc.
GetChild Online doc
GetEntityBrush Online doc
GetEntityType Online doc
GetMatElement Online doc
GetParent Online doc
GetSurface Online doc
GetSurfaceBrush Online doc
HandleSprite Online doc
HideEntity Online doc
LightColor Online doc
LightConeAngles Online doc
LightRange Online doc
LinePick Online doc
ListPushBack Like using ListAddLast(list,value) in Minib3d, except ent parameter.
LoadAnimMesh Online doc
LoadAnimSeq Online doc
LoadAnimTexture Online doc
LoadBrush Online doc
LoadGeosphere Load geodesic sphere terrain from heightmap image.
LoadMaterial Load a texture from image for 3D texture sampling, use with voxelsprites.
LoadMesh Online doc
LoadShader Load shader from two files, vertex and fragment.
LoadSprite Online doc
LoadTerrain Online doc
LoadTexture Online doc
MeshCSG Method 0 subtracts mesh2 from mesh1, 1 adds meshes, 2 intersects meshes. Returns a new mesh.
MeshCullRadius Equivalent of Blitz3D's MeshCullBox command. It sets the radius of a mesh's 'cull sphere'
MeshDepth Online doc
MeshesIntersect Online doc
MeshHeight Online doc
MeshWidth Online doc
ModifyGeosphere Set height of a given point, like ModifyTerrain.
ModifyTerrain Online doc
MoveEntity Online doc
NameEntity Online doc
OctreeBlock Place mesh into a node of an octree, the mesh can be duplicated using no more memory.
OctreeMesh Place mesh into a node of an octree, the mesh can't be duplicated so to do that use CopyEntity.
PaintEntity Online doc
PaintMesh Online doc
PaintSurface Online doc
ParticleColor Set color of particle trails.
ParticleTrail Set number of particles in trail.
ParticleVector Set vector (direction and speed) of particle trails.
PickedEntity Online doc
PickedNX Online doc
PickedNY Online doc
PickedNZ Online doc
PickedSurface Online doc
PickedTime Online doc
PickedTriangle Online doc
PickedX Online doc
PickedY Online doc
PickedZ Online doc
PointEntity Online doc
PositionEntity Online doc
PositionMesh Online doc
PositionTexture Online doc
ProjectedX Online doc
ProjectedY Online doc
ProjectedZ Online doc
RenderWorld Online doc
RepeatMesh Like CopyMesh but for instancing effects.
ResetEntity Online doc
ResetShadow Reset created flag to update static shadow.
RotateEntity Online doc
RotateMesh Online doc
RotateSprite Online doc
RotateTexture Online doc
ScaleEntity Online doc
ScaleMesh Online doc
ScaleSprite Online doc
ScaleTexture Online doc
SetAnimKey Online doc
SetAnimTime Online doc
SetCubeFace Online doc
SetCubeMode Online doc
SetFloat Set a shader variable name of a uniform float type to a float value.
SetFloat2 Set a shader variable name of a uniform vec2 type to 2 float values.
SetFloat3 Set a shader variable name of a uniform vec3 type to 3 float values.
SetFloat4 Set a shader variable name of a uniform vec4 type to 4 float values.
SetInteger Set a shader variable name of a uniform int type to an integer value.
SetInteger2 Set a shader variable name of a uniform ivec2 type to 2 integer values.
SetInteger3 Set a shader variable name of a uniform ivec3 type to 3 integer values.
SetInteger4 Set a shader variable name of a uniform ivec4 type to 4 integer values.
SetShadowColor Set color R/G/B in range 0..255 and A in range 0..1.
ShadeEntity Apply shader to an entity.
ShadeMesh Apply shader to a mesh.
ShaderMaterial Set a 3d texture for sampling.
ShaderTexture Load a texture for 2D texture sampling.
ShadeSurface Apply shader to a surface.
ShowEntity Online doc
SkinMesh Set animated surface (vid is vertex index) for each of the bone no and weights arrays.
SpriteRenderMode If mode is 1 rendering is normal, 2 is batch sprites on a single surface, 3 is batch particles.
SpriteViewMode Online doc
StencilAlpha Set stencil alpha value.
StencilClsColor Set stencil clear screen color in range 0..255.
StencilClsMode Set stencil clear screen modes.
StencilMesh Set mesh to be used as stencil.
StencilMode Set stencil render modes.
TerrainHeight Online doc
TerrainX Online doc
TerrainY Online doc
TerrainZ Online doc
TexToBuffer Copy texture to a pixmap buffer, buffer must be a byte ptr.
TextureBlend Online doc
TextureCoords Online doc
TextureFilter Online doc
TextureFlags Set texture flags, see LoadTexture for values.
TextureGLTexEnv GL equivalent.
TextureHeight Online doc
TextureName Online doc
TextureWidth Online doc
TFormedX Online doc
TFormedY Online doc
TFormedZ Online doc
TFormNormal Online doc
TFormPoint Online doc
TFormVector Online doc
TranslateEntity Online doc
TriangleVertex Online doc
TurnEntity Online doc
UpdateNormals Online doc
UpdateTexCoords Recalculates the surface's uvw coord set 1 based on vertices.
UpdateWorld Online doc
UseFloat Bind a float variable to a shader variable name of a uniform float type.
UseFloat2 Bind 2 float variables to a shader variable name of a uniform vec2 Type.
UseFloat3 Bind 3 float variables to a shader variable name of a uniform vec3 type.
UseFloat4 Bind 4 float variables to a shader variable name of a uniform vec4 type.
UseInteger Bind an integer variable to a shader variable name of a uniform int type.
UseInteger2 Bind 2 integer variables to a shader variable name of a uniform ivec2 type.
UseInteger3 Bind 3 integer variables to a shader variable name of a uniform ivec3 type.
UseInteger4 Bind 4 integer variables to a shader variable name of a uniform ivec4 type.
UseMatrix Sends matrix data to a shader variable name of a uniform mat4 type.
UseStencil Stencil to use, set to Null to disable stencil.
UseSurface Sends surface data to a shader variable name.
VectorPitch Online doc
VectorYaw Online doc
VertexAlpha Online doc
VertexBlue Online doc
VertexColor Online doc
VertexCoords Online doc
VertexGreen Online doc
VertexNormal Online doc
VertexNX Online doc
VertexNY Online doc
VertexNZ Online doc
VertexRed Online doc
VertexTexCoords Online doc
VertexU Online doc
VertexV Online doc
VertexW Online doc
VertexX Online doc
VertexY Online doc
VertexZ Online doc
VoxelSpriteMaterial Set material for voxel sprite.
Wireframe Online doc

Types Summary

TAction Action.
TBlitz2D Blitz2D.
TBlob Blob entity.
TBone Bone entity.
TBrush Brush.
TCamera Camera entity.
TConstraint Constraint.
TDebug Debug functions.
TEntity Entity.
TFluid Fluid mesh entity.
TGeosphere Geosphere terrain entity.
TGlobal Global.
TGLShader Shader methods.
THardwareInfo Hardware info.
TLight Light entity.
TMaterial Material texture.
TMatrix Matrix functions.
TMesh Mesh entity.
TOcTree Octree terrain entity.
TParticleBatch Particle Batch mesh entity.
TParticleEmitter Particle Emitter entity.
TPick Pick.
TPivot Pivot entity.
TRigidBody Rigid Body.
TShader Shader.
TShadowObject Shadow object.
TSprite Sprite mesh entity.
TStencil Stencil.
TSurface Surface.
TTerrain Terrain entity.
TTexture Texture.
TVoxelSprite Voxelsprite mesh entity.

Functions

Function ActFadeTo:TAction( ent:TEntity,a:Float,rate:Float )
DescriptionFades entity to the given alpha value (0..1) at the speed of rate.

Function ActMoveBy:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionMoves entity by an x y z position increment at the speed of rate.

Function ActMoveTo:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionMoves entity to the given x y z position at the speed of rate.

Function ActNewtonian:TAction( ent:TEntity,rate:Float )
DescriptionTranslates entity in the direction it is moving, rate should be below 1.

Function ActScaleTo:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionScales entity to the given x y z dimensions at the speed of rate.

Function ActTintTo:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionTints entity to the given r g b value (0..255) at the speed of rate.

Function ActTrackByDistance:TAction( ent:TEntity,target:TEntity,a:Float,rate:Float )
DescriptionTracks target entity up to a given distance at the speed of rate.

Function ActTrackByPoint:TAction( ent:TEntity,target:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionTracks target entity at a given point from the entity at the speed of rate.

Function ActTurnBy:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionTurns entity by an x y z rotation increment at the speed of rate.

Function ActTurnTo:TAction( ent:TEntity,a:Float,b:Float,c:Float,rate:Float )
DescriptionTurns entity to the given x y z rotation at the speed of rate.

Function ActVector:TAction( ent:TEntity,a:Float,b:Float,c:Float )
DescriptionPositions entity according the given x y z vector.

Function AddAnimSeq:Int( ent:TEntity,length:Int )
DescriptionOnline doc

Function AddMesh( mesh1:TMesh,mesh2:TMesh )
DescriptionOnline doc

Function AddSurface( mesh:TMesh,surf:TSurface,anim_surf%=False )
DescriptionAdd an existing surface to a mesh.

Function AddTriangle:Int( surf:TSurface,v0:Int,v1:Int,v2:Int )
DescriptionOnline doc

Function AddVertex:Int( surf:TSurface,x:Float,y:Float,z:Float,u:Float=0,v:Float=0,w:Float=0 )
DescriptionOnline doc

Function AlignToVector( entity:TEntity,x:Float,y:Float,z:Float,axis:Int,rate:Int=1 )
DescriptionOnline doc

Function AmbientLight( r:Float,g:Float,b:Float )
DescriptionOnline doc

Function AmbientShader( material:TShader )
DescriptionSet default shader for surfaces.

Function Animate( ent:TEntity,Mode:Int=1,speed:Float=1,seq:Int=0,trans:Int=0 )
DescriptionOnline doc

Function Animating:Int( ent:TEntity )
DescriptionOnline doc

Function AnimLength:Int( ent:TEntity )
DescriptionOnline doc

Function AnimSeq:Int( ent:TEntity )
DescriptionOnline doc

Function AnimTime:Float( ent:TEntity )
DescriptionOnline doc

Function AppendAction( act1:TAction,act2:TAction )
DescriptionAdds action to the end of another one, where act1 happens before act2.

Function BackBufferToTex( tex:TTexture,frame:Int=0 ) ' frame currently does nothing
DescriptionCopy the contents of the backbuffer to a texture.
InformationOpenB3D does not have the same buffer commands as Blitz3D. The region copied from the backbuffer will start at 0,0 and end at the texture's width and height. So if you want to copy a 3D scene to a texture, first resize the camera viewport to the texture size, use RenderWorld to render the camera, then use this command.

Function BeginMax2D()
DescriptionBegin using Max2D functions.

Function BrushAlpha( brush:TBrush,a:Float )
DescriptionOnline doc

Function BrushBlend( brush:TBrush,blend:Int )
DescriptionOnline doc

Function BrushColor( brush:TBrush,r:Float,g:Float,b:Float )
DescriptionOnline doc

Function BrushFX( brush:TBrush,fx:Int )
DescriptionOnline doc

Function BrushGLBlendFunc( brush:TBrush,sfactor:Int,dfactor:Int )
DescriptionGL equivalent.

Function BrushGLColor( brush:TBrush,r:Float,g:Float,b:Float,a:Float=1.0 )
DescriptionGL equivalent.

Function BrushShininess( brush:TBrush,s:Float )
DescriptionOnline doc

Function BrushTexture( brush:TBrush,tex:TTexture,frame:Int=0,index:Int=0 )
DescriptionOnline doc

Function BufferToTex( tex:TTexture,buffer:Byte Ptr,frame:Int=0 ) ' frame currently does nothing
DescriptionCopy pixmap buffer to texture, buffer must be a byte ptr.

Function CameraClsColor( cam:TCamera,r:Float,g:Float,b:Float )
DescriptionOnline doc

Function CameraClsMode( cam:TCamera,cls_depth:Int,cls_zbuffer:Int )
DescriptionOnline doc

Function CameraFogColor( cam:TCamera,r:Float,g:Float,b:Float )
DescriptionOnline doc

Function CameraFogMode( cam:TCamera,Mode:Int )
DescriptionOnline doc

Function CameraFogRange( cam:TCamera,nnear:Float,nfar:Float )
DescriptionOnline doc

Function CameraPick:TEntity( cam:TCamera,x:Float,y:Float )
DescriptionOnline doc

Function CameraProject( cam:TCamera,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function CameraProjMode( cam:TCamera,Mode:Int )
DescriptionOnline doc

Function CameraRange( cam:TCamera,nnear:Float,nfar:Float )
DescriptionOnline doc

Function CameraToTex( tex:TTexture,cam:TCamera,frame:Int=0 ) ' frame currently does nothing
DescriptionCopy rendered camera view to texture.

Function CameraViewport( cam:TCamera,x:Int,y:Int,width:Int,height:Int )
DescriptionOnline doc

Function CameraZoom( cam:TCamera,zoom:Float )
DescriptionOnline doc

Function ClearCollisions()
DescriptionOnline doc

Function ClearSurface( surf:TSurface,clear_verts:Int=True,clear_tris:Int=True )
DescriptionOnline doc

Function ClearTextureFilters()
DescriptionOnline doc

Function ClearWorld( entities:Int=True,brushes:Int=True,textures:Int=True )
DescriptionOnline doc

Function CollisionEntity:TEntity( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionNX:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionNY:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionNZ:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function Collisions( src_no:Int,dest_no:Int,method_no:Int,response_no:Int=0 )
DescriptionOnline doc

Function CollisionSurface:TSurface( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionTime:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionTriangle:Int( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionX:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionY:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CollisionZ:Float( ent:TEntity,index:Int )
DescriptionOnline doc

Function CopyBrush:TBrush( brush:TBrush )
DescriptionReturns a copy of the new brush.

Function CopyEntity:TEntity( ent:TEntity,parent:TEntity=Null )
DescriptionOnline doc

Function CopyList( list:TList )
DescriptionCopy a list or vector. To copy a field list use as a method.
InformationUse either mesh with surf_list/anim_surf_list/bones or ent with child_list.

Function CopyMesh:TMesh( mesh:TMesh,parent:TEntity=Null )
DescriptionOnline doc

Function CopySurface:TSurface( surf:TSurface )
DescriptionReturns a copy of the new surface.

Function CopyTexture:TTexture( tex:TTexture )
DescriptionReturns a copy of the new texture.

Function CountChildren:Int( ent:TEntity )
DescriptionOnline doc

Function CountCollisions:Int( ent:TEntity )
DescriptionOnline doc

Function CountSurfaces:Int( mesh:TMesh )
DescriptionOnline doc

Function CountTriangles:Int( surf:TSurface )
DescriptionOnline doc

Function CountVertices:Int( surf:TSurface )
DescriptionOnline doc

Function CreateBlob:TBlob( fluid:TFluid,radius:Float,parent_ent:TEntity=Null )
DescriptionCreate blob from a fluid mesh where radius is the size of the blob.

Function CreateBone:TBone( mesh:TMesh,parent_ent:TEntity=Null )
DescriptionCreate bone.

Function CreateBrush:TBrush( r:Float=255,g:Float=255,b:Float=255 )
DescriptionOnline doc

Function CreateCamera:TCamera( parent:TEntity=Null )
DescriptionOnline doc

Function CreateCone:TMesh( segments:Int=8,solid:Int=True,parent:TEntity=Null )
DescriptionOnline doc

Function CreateConstraint:TConstraint( p1:TEntity,p2:TEntity,l:Float )
DescriptionCreate constraint force between two entities of given length, doesn't affect rotation.

Function CreateCube:TMesh( parent:TEntity=Null )
DescriptionOnline doc

Function CreateCylinder:TMesh( segments:Int=8,solid:Int=True,parent:TEntity=Null )
DescriptionOnline doc

Function CreateFluid:TFluid()
DescriptionCreate fluid mesh for blobs to use.

Function CreateGeosphere:TGeosphere( size:Int,parent:TEntity=Null )
DescriptionCreate geodesic sphere and set terrain size.

Function CreateLight:TLight( light_type:Int=1,parent:TEntity=Null )
DescriptionOnline doc

Function CreateMesh:TMesh( parent:TEntity=Null )
DescriptionOnline doc

Function CreateOcTree:TOcTree( w:Float,h:Float,d:Float,parent_ent:TEntity=Null )
DescriptionCreate octree and set its width, height and depth.

Function CreateParticleEmitter:TParticleEmitter( particle:TEntity,parent_ent:TEntity=Null )
DescriptionCreate particle emitter from sprite.

Function CreatePivot:TPivot( parent:TEntity=Null )
DescriptionOnline doc

Function CreatePlane:TMesh( divisions:Int=1,parent:TEntity=Null )
DescriptionOnline doc

Function CreateQuad:TMesh( parent:TEntity=Null )
DescriptionCreate flat quad.

Function CreateRigidBody:TRigidBody( body:TEntity,p1:TEntity,p2:TEntity,p3:TEntity,p4:TEntity )
DescriptionCreate rigid physics body attached to four entities.

Function CreateShader:TShader( ShaderName:String,VshaderString:String,FshaderString:String )
DescriptionLoad shader from two strings, vertex and fragment.

Function CreateShadow:TShadowObject( parent:TMesh,Static:Int=False )
DescriptionCreate stencil shadow, static is for static or dynamic shadows.

Function CreateSphere:TMesh( segments:Int=8,parent:TEntity=Null )
DescriptionOnline doc

Function CreateSprite:TSprite( parent:TEntity=Null )
DescriptionOnline doc

Function CreateStencil:TStencil()
DescriptionCreate stencil object.

Function CreateSurface:TSurface( mesh:TMesh,brush:TBrush=Null )
DescriptionOnline doc

Function CreateTerrain:TTerrain( size:Int,parent:TEntity=Null )
DescriptionOnline doc

Function CreateTexture:TTexture( width:Int,height:Int,flags:Int=9,frames:Int=1 )
DescriptionOnline doc

Function CreateVoxelSprite:TVoxelSprite( slices:Int=64,parent:TEntity=Null )
DescriptionCreate voxel sprite where slices is the number of sprites.

Function DeltaPitch:Float( ent1:TEntity,ent2:TEntity )
DescriptionOnline doc

Function DeltaYaw:Float( ent1:TEntity,ent2:TEntity )
DescriptionOnline doc

Function DepthBufferToTex( tex:TTexture,cam:TCamera=Null )
DescriptionCopy the contents of the depth buffer to a texture.

Function EmitterParticleFunction( emit:TParticleEmitter,EmitterFunction( ent:Byte Ptr,life:Int ) )
DescriptionSet custom rendering callback function for particle emitter.

Function EmitterParticleLife( emit:TParticleEmitter,l:Int )
DescriptionParticle lifespan in frames.

Function EmitterParticleSpeed( emit:TParticleEmitter,s:Float )
DescriptionSet initial speed, use Rotate/TurnEntity to change direction.

Function EmitterRate( emit:TParticleEmitter,r:Float )
DescriptionRate between each emission in range 0..1, smaller is slower.

Function EmitterVariance( emit:TParticleEmitter,v:Float )
DescriptionSet randomness of emission (direction and speed)

Function EmitterVector( emit:TParticleEmitter,x:Float,y:Float,z:Float )
DescriptionSet vector (direction and speed) for wind or gravity effects.

Function EndMax2D()
DescriptionEnd using Max2D functions.

Function EntityAlpha( ent:TEntity,alpha:Float )
DescriptionOnline doc

Function EntityBlend( ent:TEntity,blend:Int )
DescriptionOnline doc

Function EntityBox( ent:TEntity,x:Float,y:Float,z:Float,w:Float,h:Float,d:Float )
DescriptionOnline doc

Function EntityClass:String( ent:TEntity )
DescriptionOnline doc

Function EntityCollided:TEntity( ent:TEntity,type_no:Int )
DescriptionOnline doc

Function EntityColor( ent:TEntity,red:Float,green:Float,blue:Float )
DescriptionOnline doc

Function EntityDistance:Float( ent1:TEntity,ent2:TEntity )
DescriptionOnline doc

Function EntityFX( ent:TEntity,fx:Int )
DescriptionOnline doc

Function EntityInView:Int( ent:TEntity,cam:TCamera )
DescriptionOnline doc

Function EntityName:String( ent:TEntity )
DescriptionOnline doc

Function EntityOrder( ent:TEntity,order:Int )
DescriptionOnline doc

Function EntityParent( ent:TEntity,parent_ent:TEntity,glob:Int=True )
DescriptionOnline doc

Function EntityPick:TEntity( ent:TEntity,Range:Float )
DescriptionOnline doc

Function EntityPickMode( ent:TEntity,pick_mode:Int,obscurer:Int=True )
DescriptionOnline doc

Function EntityPitch:Float( ent:TEntity,glob:Int=False )
DescriptionOnline doc

Function EntityRadius( ent:TEntity,radius_x:Float,radius_y:Float=0 )
DescriptionOnline doc

Function EntityRoll:Float( ent:TEntity,glob:Int=True )
DescriptionOnline doc

Function EntityScaleX:Float( ent:TEntity,glob:Int=False )
DescriptionReturns the scale for the x axis of an entity set with ScaleEntity.
InformationIf glob is true then it's relative to any parents.

Function EntityScaleY:Float( ent:TEntity,glob:Int=False )
DescriptionReturns the scale for the y axis of an entity set with ScaleEntity.
InformationIf glob is true then it's relative to any parents.

Function EntityScaleZ:Float( ent:TEntity,glob:Int=False )
DescriptionReturns the scale for the z axis of an entity set with ScaleEntity.
InformationIf glob is true then it's relative to any parents.

Function EntityShininess( ent:TEntity,shine:Float )
DescriptionOnline doc

Function EntityTexture( ent:TEntity,tex:TTexture,frame:Int=0,index:Int=0 )
DescriptionOnline doc

Function EntityType( ent:TEntity,type_no:Int,recursive:Int=False )
DescriptionOnline doc.
InformationIf type_no is negative, collision checking is dynamic, if zero entity is removed.

Function EntityVisible:Int( src_ent:TEntity,dest_ent:TEntity )
DescriptionOnline doc

Function EntityX:Float( ent:TEntity,glob:Int=False )
DescriptionOnline doc

Function EntityY:Float( ent:TEntity,glob:Int=False )
DescriptionOnline doc

Function EntityYaw:Float( ent:TEntity,glob:Int=False )
DescriptionOnline doc

Function EntityZ:Float( ent:TEntity,glob:Int=False )
DescriptionOnline doc

Function ExtractAnimSeq:Int( ent:TEntity,first_frame:Int,last_frame:Int,seq:Int=0 )
DescriptionOnline doc

Function FindChild:TEntity( ent:TEntity,child_name:String )
DescriptionOnline doc

Function FindSurface:TSurface( mesh:TMesh,brush:TBrush )
DescriptionOnline doc

Function FitMesh( mesh:TMesh,x:Float,y:Float,z:Float,width:Float,height:Float,depth:Float,uniform:Int=False )
DescriptionOnline doc

Function FlipMesh( mesh:TMesh )
DescriptionOnline doc

Function FluidArray( fluid:TFluid,Array:Float Var,w:Int,h:Int,d:Int )
DescriptionCreate custom rendering array data for fluid mesh and set width, height and depth.

Function FluidFunction( fluid:TFluid,FieldFunction:Float( x:Float,y:Float,z:Float ) )
DescriptionSet custom rendering callback function for fluid mesh.

Function FluidThreshold( fluid:TFluid,threshold:Float )
DescriptionSet threshold value used in fluid rendering algorithm, 0.5 is default.

Function FreeAction( act:TAction )
DescriptionFrees action from memory.

Function FreeBrush( brush:TBrush )
DescriptionOnline doc

Function FreeEntity( ent:TEntity )
DescriptionOnline doc

Function FreeShadow( shad:TShadowObject )
DescriptionFree stencil shadow.

Function FreeSurface( surf:TSurface )
DescriptionFrees VBO data and brush.

Function FreeTexture( tex:TTexture )
DescriptionOnline doc

Function GeosphereHeight( geo:TGeosphere,h:Float )
DescriptionSet terrain height normalizing value, 0.05 is default.

Function GetBrushTexture:TTexture( brush:TBrush,index:Int=0 )
DescriptionOnline doc.
InformationUnlike Blitz3D, you don't need to free the returned texture as it is not a copy.

Function GetChild:TEntity( ent:TEntity,child_no:Int )
DescriptionOnline doc

Function GetEntityBrush:TBrush( ent:TEntity )
DescriptionOnline doc

Function GetEntityType:Int( ent:TEntity )
DescriptionOnline doc

Function GetMatElement:Float( ent:TEntity,row:Int,col:Int )
DescriptionOnline doc

Function GetParent:TEntity( ent:TEntity )
DescriptionOnline doc

Function GetSurface:TSurface( mesh:TMesh,surf_no:Int )
DescriptionOnline doc

Function GetSurfaceBrush:TBrush( surf:TSurface )
DescriptionOnline doc

Function HandleSprite( sprite:TSprite,h_x:Float,h_y:Float )
DescriptionOnline doc

Function HideEntity( ent:TEntity )
DescriptionOnline doc

Function LightColor( light:TLight,red:Float,green:Float,blue:Float )
DescriptionOnline doc

Function LightConeAngles( light:TLight,inner_ang:Float,outer_ang:Float )
DescriptionOnline doc

Function LightRange( light:TLight,Range:Float )
DescriptionOnline doc

Function LinePick:TEntity( x:Float,y:Float,z:Float,dx:Float,dy:Float,dz:Float,radius:Float=0 )
DescriptionOnline doc

Function ListPushBack( list:TList,value:Object,ent:TEntity )
DescriptionLike using ListAddLast(list,value) in Minib3d, except ent parameter.
InformationOnly field lists supported, use either mesh with surf_list/anim_surf_list/bones or ent with child_list.

Function LoadAnimMesh:TMesh( file:String,parent:TEntity=Null )
DescriptionOnline doc

Function LoadAnimSeq:Int( ent:TEntity,file:String )
DescriptionOnline doc

Function LoadAnimTexture:TTexture( file:String,flags:Int,frame_width:Int,frame_height:Int,first_frame:Int,frame_count:Int )
DescriptionOnline doc

Function LoadBrush:TBrush( file:String,flags:Int=9,u_scale:Float=1,v_scale:Float=1 )
DescriptionOnline doc

Function LoadGeosphere:TGeosphere( file:String,parent:TEntity=Null )
DescriptionLoad geodesic sphere terrain from heightmap image.

Function LoadMaterial:TMaterial( filename:String,flags:Int,frame_width:Int,frame_height:Int,first_frame:Int,frame_count:Int )
DescriptionLoad a texture from image for 3D texture sampling, use with voxelsprites.
InformationFlags are texture flags, frame width/height is the size in pixels of each slice, first frame is the index of the slice and frame count is how many slices.

Function LoadMesh:TMesh( file:String,parent:TEntity=Null )
DescriptionOnline doc

Function LoadShader:TShader( ShaderName:String,VshaderFileName:String,FshaderFileName:String )
DescriptionLoad shader from two files, vertex and fragment.

Function LoadSprite:TSprite( tex_file:String,tex_flag:Int=1,parent:TEntity=Null )
DescriptionOnline doc

Function LoadTerrain:TTerrain( file:String,parent:TEntity=Null )
DescriptionOnline doc

Function LoadTexture:TTexture( file:String,flags:Int=1 )
DescriptionOnline doc

Function MeshCSG:TMesh( m1:TMesh,m2:TMesh,method_no:Int=1 )
DescriptionMethod 0 subtracts mesh2 from mesh1, 1 adds meshes, 2 intersects meshes. Returns a new mesh.

Function MeshCullRadius( ent:TEntity,radius:Float )
DescriptionEquivalent of Blitz3D's MeshCullBox command. It sets the radius of a mesh's 'cull sphere'
InformationIf the 'cull sphere' is not inside the viewing area, the mesh will not be rendered. A mesh's cull radius is set automatically, therefore in most cases you will not have to use this command. One time you may have to use it is for animated meshes where the default cull radius may not take into account all animation positions, resulting in the mesh being wrongly culled at extreme positions.

Function MeshDepth:Float( mesh:TMesh )
DescriptionOnline doc

Function MeshesIntersect:Int( mesh1:TMesh,mesh2:TMesh )
DescriptionOnline doc

Function MeshHeight:Float( mesh:TMesh )
DescriptionOnline doc

Function MeshWidth:Float( mesh:TMesh )
DescriptionOnline doc

Function ModifyGeosphere( geo:TGeosphere,x:Int,z:Int,new_height:Float )
DescriptionSet height of a given point, like ModifyTerrain.

Function ModifyTerrain( terr:TTerrain,x:Int,z:Int,new_height:Float )
DescriptionOnline doc

Function MoveEntity( ent:TEntity,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function NameEntity( ent:TEntity,name:String )
DescriptionOnline doc

Function OctreeBlock( octree:TOcTree,mesh:TMesh,level:Int,X:Float,Y:Float,Z:Float,Near:Float=0,Far:Float=1000 )
DescriptionPlace mesh into a node of an octree, the mesh can be duplicated using no more memory.
InformationSince a block is not an entity it has no position, etc. it has the properties of the node it is in. Level defaults to 0, the higher the level the smaller the cell. XYZ is the position in the octree. Near defaults to 0, this is the minimum distance at which that node is visible, if 0 that node is always visible, if higher the mesh/block won't be rendered when it's closer. Far defaults to 1000, this is the maximum distance at which the node can be split in children, if the node is set at a higher range than the camera, its children won't be rendered.

Function OctreeMesh( octree:TOcTree,mesh:TMesh,level:Int,X:Float,Y:Float,Z:Float,Near:Float=0,Far:Float=1000 )
DescriptionPlace mesh into a node of an octree, the mesh can't be duplicated so to do that use CopyEntity.

Function PaintEntity( ent:TEntity,brush:TBrush )
DescriptionOnline doc

Function PaintMesh( mesh:TMesh,brush:TBrush )
DescriptionOnline doc

Function PaintSurface( surf:TSurface,brush:TBrush )
DescriptionOnline doc

Function ParticleColor( sprite:TSprite,r:Float,g:Float,b:Float,a:Float=0 )
DescriptionSet color of particle trails.

Function ParticleTrail( sprite:TSprite,length:Int )
DescriptionSet number of particles in trail.

Function ParticleVector( sprite:TSprite,x:Float,y:Float,z:Float )
DescriptionSet vector (direction and speed) of particle trails.

Function PickedEntity:TEntity()
DescriptionOnline doc

Function PickedNX:Float()
DescriptionOnline doc

Function PickedNY:Float()
DescriptionOnline doc

Function PickedNZ:Float()
DescriptionOnline doc

Function PickedSurface:TSurface()
DescriptionOnline doc

Function PickedTime:Float()
DescriptionOnline doc

Function PickedTriangle:Int()
DescriptionOnline doc

Function PickedX:Float()
DescriptionOnline doc

Function PickedY:Float()
DescriptionOnline doc

Function PickedZ:Float()
DescriptionOnline doc

Function PointEntity( ent:TEntity,target_ent:TEntity,roll:Float=0 )
DescriptionOnline doc

Function PositionEntity( ent:TEntity,x:Float,y:Float,z:Float,glob:Int=False )
DescriptionOnline doc

Function PositionMesh( mesh:TMesh,px:Float,py:Float,pz:Float )
DescriptionOnline doc

Function PositionTexture( tex:TTexture,u_pos:Float,v_pos:Float )
DescriptionOnline doc

Function ProjectedX:Float()
DescriptionOnline doc

Function ProjectedY:Float()
DescriptionOnline doc

Function ProjectedZ:Float()
DescriptionOnline doc

Function RenderWorld()
DescriptionOnline doc

Function RepeatMesh:TMesh( mesh:TMesh,parent:TEntity=Null )
DescriptionLike CopyMesh but for instancing effects.

Function ResetEntity( ent:TEntity )
DescriptionOnline doc

Function ResetShadow( shad:TShadowObject )
DescriptionReset created flag to update static shadow.

Function RotateEntity( ent:TEntity,x:Float,y:Float,z:Float,glob:Int=False )
DescriptionOnline doc

Function RotateMesh( mesh:TMesh,pitch:Float,yaw:Float,roll:Float )
DescriptionOnline doc

Function RotateSprite( sprite:TSprite,ang:Float )
DescriptionOnline doc

Function RotateTexture( tex:TTexture,ang:Float )
DescriptionOnline doc

Function ScaleEntity( ent:TEntity,x:Float,y:Float,z:Float,glob:Int=False )
DescriptionOnline doc

Function ScaleMesh( mesh:TMesh,sx:Float,sy:Float,sz:Float )
DescriptionOnline doc

Function ScaleSprite( sprite:TSprite,s_x:Float,s_y:Float )
DescriptionOnline doc

Function ScaleTexture( tex:TTexture,u_scale:Float,v_scale:Float )
DescriptionOnline doc

Function SetAnimKey( ent:TEntity,frame:Float,pos_key:Int=True,rot_key:Int=True,scale_key:Int=True )
DescriptionOnline doc

Function SetAnimTime( ent:TEntity,time:Float,seq:Int=0 )
DescriptionOnline doc

Function SetCubeFace( tex:TTexture,face:Int )
DescriptionOnline doc

Function SetCubeMode( tex:TTexture,Mode:Int )
DescriptionOnline doc

Function SetFloat( material:TShader,name:String,v1:Float )
DescriptionSet a shader variable name of a uniform float type to a float value.

Function SetFloat2( material:TShader,name:String,v1:Float,v2:Float )
DescriptionSet a shader variable name of a uniform vec2 type to 2 float values.

Function SetFloat3( material:TShader,name:String,v1:Float,v2:Float,v3:Float )
DescriptionSet a shader variable name of a uniform vec3 type to 3 float values.

Function SetFloat4( material:TShader,name:String,v1:Float,v2:Float,v3:Float,v4:Float )
DescriptionSet a shader variable name of a uniform vec4 type to 4 float values.

Function SetInteger( material:TShader,name:String,v1:Int )
DescriptionSet a shader variable name of a uniform int type to an integer value.

Function SetInteger2( material:TShader,name:String,v1:Int,v2:Int )
DescriptionSet a shader variable name of a uniform ivec2 type to 2 integer values.

Function SetInteger3( material:TShader,name:String,v1:Int,v2:Int,v3:Int )
DescriptionSet a shader variable name of a uniform ivec3 type to 3 integer values.

Function SetInteger4( material:TShader,name:String,v1:Int,v2:Int,v3:Int,v4:Int )
DescriptionSet a shader variable name of a uniform ivec4 type to 4 integer values.

Function SetShadowColor( R:Int,G:Int,B:Int,A:Int )
DescriptionSet color R/G/B in range 0..255 and A in range 0..1.

Function ShadeEntity( ent:TEntity,material:TShader )
DescriptionApply shader to an entity.

Function ShadeMesh( mesh:TMesh,material:TShader )
DescriptionApply shader to a mesh.

Function ShaderMaterial( material:TShader,tex:TMaterial,name:String,index:Int=0 )
DescriptionSet a 3d texture for sampling.

Function ShaderTexture( material:TShader,tex:TTexture,name:String,index:Int=0 )
DescriptionLoad a texture for 2D texture sampling.

Function ShadeSurface( surf:TSurface,material:TShader )
DescriptionApply shader to a surface.

Function ShowEntity( ent:TEntity )
DescriptionOnline doc

Function SkinMesh( mesh:TMesh,surf_no_get:Int,vid:Int,bone1:Int,weight1:Float=1.0,bone2:Int=0,weight2:Float=0,bone3:Int=0,weight3:Float=0,bone4:Int=0,weight4:Float=0 )
DescriptionSet animated surface (vid is vertex index) for each of the bone no and weights arrays.
Informationbone no references the bones list in a mesh, weights is a normalizing value.

Function SpriteRenderMode( sprite:TSprite,Mode:Int )
DescriptionIf mode is 1 rendering is normal, 2 is batch sprites on a single surface, 3 is batch particles.

Function SpriteViewMode( sprite:TSprite,Mode:Int )
DescriptionOnline doc

Function StencilAlpha( stencil:TStencil,a:Float )
DescriptionSet stencil alpha value.

Function StencilClsColor( stencil:TStencil,r:Float,g:Float,b:Float )
DescriptionSet stencil clear screen color in range 0..255.

Function StencilClsMode( stencil:TStencil,cls_color:Int,cls_zbuffer:Int )
DescriptionSet stencil clear screen modes.
InformationCls_color is true to use the color buffer, cls_zbuffer is true to use the depth buffer.

Function StencilMesh( stencil:TStencil,mesh:TMesh,Mode:Int=1 )
DescriptionSet mesh to be used as stencil.
InformationMode is stencil action for glStencilOp in range -2..2 where 1 is INCR (default), 2 is INCR for stencil shadow meshes and negative values are DECR.

Function StencilMode( stencil:TStencil,m:Int,o:Int=1 )
DescriptionSet stencil render modes.
InformationM is stencil action mode for glStencilOp in range -2..2 where 1 is INCR (default), 2 is INCR for stencil shadow meshes and negative values are DECR. O is comparison operator for glStencilFunc in range 0..3 which stands for one of NOTEQUAL, EQUAL, LEQUAL or GEQUAL.

Function TerrainHeight:Float( terr:TTerrain,x:Int,z:Int )
DescriptionOnline doc

Function TerrainX:Float( terr:TTerrain,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function TerrainY:Float( terr:TTerrain,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function TerrainZ:Float( terr:TTerrain,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function TexToBuffer( tex:TTexture,buffer:Byte Ptr,frame:Int=0 )
DescriptionCopy texture to a pixmap buffer, buffer must be a byte ptr.

Function TextureBlend( tex:TTexture,blend:Int )
DescriptionOnline doc

Function TextureCoords( tex:TTexture,coords:Int )
DescriptionOnline doc

Function TextureFilter( match_text:String,flags:Int )
DescriptionOnline doc

Function TextureFlags( tex:TTexture,flags:Int )
DescriptionSet texture flags, see LoadTexture for values.

Function TextureGLTexEnv( tex:TTexture,target:Int=0,pname:Int=0,param:Int=0 )
DescriptionGL equivalent.

Function TextureHeight:Int( tex:TTexture )
DescriptionOnline doc

Function TextureName:String( tex:TTexture )
DescriptionOnline doc

Function TextureWidth:Int( tex:TTexture )
DescriptionOnline doc

Function TFormedX:Float()
DescriptionOnline doc

Function TFormedY:Float()
DescriptionOnline doc

Function TFormedZ:Float()
DescriptionOnline doc

Function TFormNormal( x:Float,y:Float,z:Float,src_ent:TEntity,dest_ent:TEntity )
DescriptionOnline doc

Function TFormPoint( x:Float,y:Float,z:Float,src_ent:TEntity,dest_ent:TEntity )
DescriptionOnline doc

Function TFormVector( x:Float,y:Float,z:Float,src_ent:TEntity,dest_ent:TEntity )
DescriptionOnline doc

Function TranslateEntity( ent:TEntity,x:Float,y:Float,z:Float,glob:Int=False )
DescriptionOnline doc

Function TriangleVertex:Int( surf:TSurface,tri_no:Int,corner:Int )
DescriptionOnline doc

Function TurnEntity( ent:TEntity,x:Float,y:Float,z:Float,glob:Int=False )
DescriptionOnline doc

Function UpdateNormals( mesh:TMesh )
DescriptionOnline doc

Function UpdateTexCoords( surf:TSurface )
DescriptionRecalculates the surface's uvw coord set 1 based on vertices.

Function UpdateWorld( anim_speed:Float=1 )
DescriptionOnline doc

Function UseFloat( material:TShader,name:String,v1:Float Var )
DescriptionBind a float variable to a shader variable name of a uniform float type.

Function UseFloat2( material:TShader,name:String,v1:Float Var,v2:Float Var )
DescriptionBind 2 float variables to a shader variable name of a uniform vec2 Type.

Function UseFloat3( material:TShader,name:String,v1:Float Var,v2:Float Var,v3:Float Var )
DescriptionBind 3 float variables to a shader variable name of a uniform vec3 type.

Function UseFloat4( material:TShader,name:String,v1:Float Var,v2:Float Var,v3:Float Var,v4:Float Var )
DescriptionBind 4 float variables to a shader variable name of a uniform vec4 type.

Function UseInteger( material:TShader,name:String,v1:Int Var )
DescriptionBind an integer variable to a shader variable name of a uniform int type.

Function UseInteger2( material:TShader,name:String,v1:Int Var,v2:Int Var )
DescriptionBind 2 integer variables to a shader variable name of a uniform ivec2 type.

Function UseInteger3( material:TShader,name:String,v1:Int Var,v2:Int Var,v3:Int Var )
DescriptionBind 3 integer variables to a shader variable name of a uniform ivec3 type.

Function UseInteger4( material:TShader,name:String,v1:Int Var,v2:Int Var,v3:Int Var,v4:Int Var )
DescriptionBind 4 integer variables to a shader variable name of a uniform ivec4 type.

Function UseMatrix( material:TShader,name:String,Mode:Int )
DescriptionSends matrix data to a shader variable name of a uniform mat4 type.

Function UseStencil( stencil:TStencil )
DescriptionStencil to use, set to Null to disable stencil.

Function UseSurface( material:TShader,name:String,surf:TSurface,vbo:Int )
DescriptionSends surface data to a shader variable name.
InformationVbo is in range 1..6 which selects what vertex buffer data to access, where 1 is vertex positions, 2/3 is tex coords 0/1, 4 is vertex normals, 5 is vertex color, 6 is triangles.

Function VectorPitch:Float( vx:Float,vy:Float,vz:Float )
DescriptionOnline doc

Function VectorYaw:Float( vx:Float,vy:Float,vz:Float )
DescriptionOnline doc

Function VertexAlpha:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexBlue:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexColor( surf:TSurface,vid:Int,r:Float,g:Float,b:Float,a:Float=1 )
DescriptionOnline doc

Function VertexCoords( surf:TSurface,vid:Int,x:Float,y:Float,z:Float )
DescriptionOnline doc

Function VertexGreen:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexNormal( surf:TSurface,vid:Int,nx:Float,ny:Float,nz:Float )
DescriptionOnline doc

Function VertexNX:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexNY:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexNZ:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexRed:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexTexCoords( surf:TSurface,vid:Int,u:Float,v:Float,w:Float=0,coord_set:Int=0 )
DescriptionOnline doc

Function VertexU:Float( surf:TSurface,vid:Int,coord_set:Int=0 )
DescriptionOnline doc

Function VertexV:Float( surf:TSurface,vid:Int,coord_set:Int=0 )
DescriptionOnline doc

Function VertexW:Float( surf:TSurface,vid:Int,coord_set:Int=0 )
DescriptionOnline doc

Function VertexX:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexY:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VertexZ:Float( surf:TSurface,vid:Int )
DescriptionOnline doc

Function VoxelSpriteMaterial( voxelspr:TVoxelSprite,mat:TMaterial )
DescriptionSet material for voxel sprite.

Function Wireframe( enable:Int )
DescriptionOnline doc

Types

Type TAction
DescriptionAction.

Type TBlitz2D
DescriptionBlitz2D.

Type TBlob Extends TEntity
DescriptionBlob entity.

Type TBone Extends TEntity
DescriptionBone entity.

Type TBrush
DescriptionBrush.

Type TCamera Extends TEntity
DescriptionCamera entity.

Type TConstraint
DescriptionConstraint.

Type TDebug
DescriptionDebug functions.

Type TEntity
DescriptionEntity.

Type TFluid Extends TMesh
DescriptionFluid mesh entity.

Type TGeosphere Extends TTerrain
DescriptionGeosphere terrain entity.

Type TGlobal
DescriptionGlobal.

Type TGLShader ' Code by AdamStrange
DescriptionShader methods.
InformationUsed for reporting errors.

Type THardwareInfo ' by klepto2
DescriptionHardware info.
InformationContains Function GetInfo() And DisplayInfo(LogFile:Int=False).

Type TLight Extends TEntity
DescriptionLight entity.

Type TMaterial Extends TTexture
DescriptionMaterial texture.

Type TMatrix
DescriptionMatrix functions.

Type TMesh Extends TEntity
DescriptionMesh entity.

Type TOcTree Extends TTerrain
DescriptionOctree terrain entity.

Type TParticleBatch Extends TMesh
DescriptionParticle Batch mesh entity.

Type TParticleEmitter Extends TEntity
DescriptionParticle Emitter entity.

Type TPick
DescriptionPick.

Type TPivot Extends TEntity
DescriptionPivot entity.

Type TRigidBody
DescriptionRigid Body.

Type TShader
DescriptionShader.

Type TShadowObject
DescriptionShadow object.

Type TSprite Extends TMesh
DescriptionSprite mesh entity.

Type TStencil
DescriptionStencil.

Type TSurface
DescriptionSurface.

Type TTerrain Extends TEntity
DescriptionTerrain entity.

Type TTexture
DescriptionTexture.

Type TVoxelSprite Extends TMesh
DescriptionVoxelsprite mesh entity.

Module Information

Version1.00
Licensezlib/libpng
Copyright2014 Mark Mcvittie, Bruce A Henderson
History1.00 Initial Release