Technology
 

DbGhostObjectOn

From DarkGDK Programming Wiki

Makes a 3D object semi-transparent if the graphic card support that. The object will appear as a ghost image and that technique is knows as alphablending.

[edit] Syntax

dbGhostObjectOn(int iID)
dbGhostObjectOn(int iID, int iFlag)

int iID is the ID number of the object you want make semi-transparent.
If you set int iFlag to 1, the object will use negative alphablending that means the object will become dark and semi-transparent.

[edit] See also

dbGhostObjectOff dbFadeObject

Rate this article: