Skip to content

Function Name Changes

kfprimm edited this page Dec 27, 2011 · 6 revisions

As a general rule, all functions in Blitz3D that set properties (such as EntityColor) have simply had 'Set' add to them (i.e. SetEntityColor). Below are exceptions to that rule.

Entity

  • EntityX/EntityY/EntityZ -> GetEntityPosition
  • EntityPitch/EntityYaw/EntityRoll -> GetEntityRotation
  • PositionEntity -> SetEntityPosition
  • RotateEntity -> SetEntityRotation
  • ScaleEntity -> SetEntityScale

Camera

  • CameraClsColor -> SetEntityColor

Light

  • LightColor -> SetEntityColor
  • LightConeAngles -> SetLightAngles

Mesh

  • CopyMesh -> CloneMesh
  • CreateSurface -> AddMeshSurface
  • GetSurface -> GetMeshSurface
  • MeshWidth/MeshHeight/MeshDepth -> GetMeshSize

Surface

  • CountVertices -> CountSurfaceVertices
  • CountTriangles -> CountSurfaceTriangles
  • PaintSurface -> SetSurfaceBrush
  • VertexX/VertexY/VertexZ -> GetSurfaceCoord
  • VertexNX/VertexNY/VertexNZ -> GetSurfaceNormal
  • VertexRed/VertexGreen/VertexBlue/VertexAlpha -> GetSurfaceColor
  • VertexU/VertexV -> GetSurfaceTexCoord

Sprite

  • RotateSprite -> SetSpriteAngle
  • HandleSprite -> SetSpriteHandle

Clone this wiki locally