Platform SDK: DirectX

Direct3DDevice7.GetLight

Direct3DDevice7.GetLight メソッドは、このデバイスで使用されるライト プロパティを取得する。

object.GetLight( _ 
    LightIndex As Long, _ 
    Light As D3DLIGHT7)

パラメータ

object
Direct3DDevice7 オブジェクトを表すオブジェクト式。
LightIndex
取得されるライト プロパティのゼロベースのインデックス。
Light
取得されるライティング パラメータを格納する D3DLIGHT7 型。

エラー コード

メソッドが失敗するとエラーが発生し、パラメータのいずれかが無効の場合は Err.NumberDDERR_INVALIDPARAMS が設定される。

参照

Direct3DDevice7.SetLightDirect3DDevice7.GetLightEnableDirect3DDevice7.LightEnableマテリアル