|
PEP_struct3DXLIGHT0
Purpose When RenderEngine is Direct3D for the Pe3do control, this property is used to set and get the 3D light location in a DLL and VCL implementation.
To set the light location, initialize a POINT3D structure with the light's location and set with PEvset. To get the light location, call PEvget with destination buffer as address to a POINT3D struct.
The POINT3D structure is simply 3 float's. typedef struct { float X; float Y; float Z; } POINT3D;
Comments .NET / OCX implementation use these helper functions:
.Net Pe3do DirectX Light0 Set and Get functions. Pe3do.PeFunction.SetLight(int nLight, float X, float Y, float Z)
OCX Pe3do DirectX Light0 Set and Get functions. DxSetLight(int nLight, float X, float Y, float Z);
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |