D3D.HasScene

Previous  Next

 

state = D3D.HasScene( nControl AS INTEGER ) AS INTEGER

 


 

Returns the state of the 3D scene

 

Example:

 

IF NOT D3D.HasScene( nControl ) THEN

  D3D.ScaleFactor( nControl, 1000 )

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

ENDIF