-
Notifications
You must be signed in to change notification settings - Fork 7
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.
- EntityX/EntityY/EntityZ -> GetEntityPosition
- EntityPitch/EntityYaw/EntityRoll -> GetEntityRotation
- PositionEntity -> SetEntityPosition
- RotateEntity -> SetEntityRotation
- ScaleEntity -> SetEntityScale
- CameraClsColor -> SetEntityColor
- LightColor -> SetEntityColor
- LightConeAngles -> SetLightAngles
- CopyMesh -> CloneMesh
- CreateSurface -> AddMeshSurface
- GetSurface -> GetMeshSurface
- MeshWidth/MeshHeight/MeshDepth -> GetMeshSize
- CountVertices -> CountSurfaceVertices
- CountTriangles -> CountSurfaceTriangles
- PaintSurface -> SetSurfaceBrush
- VertexX/VertexY/VertexZ -> GetSurfaceCoord
- VertexNX/VertexNY/VertexNZ -> GetSurfaceNormal
- VertexRed/VertexGreen/VertexBlue/VertexAlpha -> GetSurfaceColor
- VertexU/VertexV -> GetSurfaceTexCoord
- RotateSprite -> SetSpriteAngle
- HandleSprite -> SetSpriteHandle