Platform SDK: DirectX |
Direct3DDevice7.GetLight メソッドは、このデバイスで使用されるライト プロパティを取得する。
object.GetLight( _ LightIndex As Long, _ Light As D3DLIGHT7)
メソッドが失敗するとエラーが発生し、パラメータのいずれかが無効の場合は Err.Number に DDERR_INVALIDPARAMS が設定される。
Direct3DDevice7.SetLight、Direct3DDevice7.GetLightEnable、Direct3DDevice7.LightEnable、マテリアル