Syntax

dbGhostObjectOn(ObjectID [, Effect])

Description

This command will make the specified 3D object semi-transparent if supported by the current display card. This technique is known as alpha-blending and causes the object to appear as a ghost image. If a value of one is specified for the dark ghosting, the object uses negative alphablending. The parameter should be specified using an integer value. Be aware this command assumes you are not directly controlling the Z depth flags with dbDisableObjectZDepth, as the ghost command takes come control of Z behaviour. For transparency with using the ghost command, see dbSetObjectTransparency.

See Also

dbGhostObjectOff, dbSetObjectTransparency