Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TDx_3DDevice::SetLight() ]
[ next: SetMaterial() ]
[ prev: SetClipStatus() ]
public:
virtual bool __fastcall SetLight( dword pLightIndex, TD3DLight* pLight );
TDX_3DDEVICE::SETLIGHT()
[ component method ]
- Description
The
TDx_3DDevice::SetLight()
method
will
define
a
set
of
the
device's
lighting
properties.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDPARAMS
DDERR_OUTOFMEMORY
- Parameters
LightIndex
The LightIndex parameter defines the 0 based index of the lighting property set that is to be defined.
Lighting properties existing at this index will be overwritten.
Light
The Light parameter references a TD3DLight component that defines the lighting properties that are to be set.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|