| Class T3dLIGHT (unit TMatrix) |
TObject
T3DLIGHT : T3DLight implements the iDirect3DLight interface Same as the TMatrix you need to call update fater you set any value // Create : creates a light object , needs a IDirect3D interface. The other functions are obvious.
| Constructors |
constructor Create(pIEngine : IDirect3d);| Functions |
function GetInterface : IDirect3dLight;
procedure SetColor(r,g,b : double);
procedure SetDirection(x,y,z : double);
procedure SetPosition(x,y,z : double);
procedure SetType(ltype : D3DLIGHTTYPE);
function Update : boolean;| Properties |
| Events |
| Variables |
m_Light : D3DLIGHT;
m_pILight : IDirect3dLight;| Constructors |
constructor Create(pIEngine : IDirect3d);///////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////
| Functions |
function GetInterface : IDirect3dLight;
procedure SetColor(r,g,b : double);
procedure SetDirection(x,y,z : double);
procedure SetPosition(x,y,z : double);
procedure SetType(ltype : D3DLIGHTTYPE);
function Update : boolean;| Properties |
| Events |
| Variables |
m_Light : D3DLIGHT;
m_pILight : IDirect3dLight;