D3D.BackGroundColor

Previous  Next

 

color = D3D.BackGroundColor( nControl AS INTEGER,

                             color    AS INTEGER ) AS INTEGER

 


 

Sets the color of the background of the 3D space.

 

Example:

 

D3D.ScaleFactor( nControl, 1000 )

D3D.CreateScene( nControl, 4000, 2000, 2000, 80, 0, 0 )

D3D.Pan( nControl, 0, 0, 1000 )

D3D.SetFloorOffset( nControl, 0, 0, 0 )

D3D.DrawFloor( nControl, TRUE )

D3D.DrawCoordSys( nControl, TRUE )

D3D.BackGroundColor( nControl, RGB( 0, 0, 0 ) )