IDirect3DRMMaterial::GetEmissive

Retrieves the setting for the emissive property of a material. The setting of this property is the color and intensity of the light the object emits.

HRESULT GetEmissive(
D3DVALUE *lpr,
D3DVALUE *lpg,
D3DVALUE *lpb
);

Parameters

lpr, lpg, and lpb

Addresses that will contain the red, green, and blue components of the emissive color when the method returns.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

See Also

IDirect3DRMMaterial::SetEmissive