IDirect3DRMMaterial::SetEmissive
Sets the emissive property of a material.
HRESULT SetEmissive(
D3DVALUE r,
D3DVALUE g,
D3DVALUE b
);
Parameters
r, g, and b
Red, green, and blue components of the emissive color.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
This method is also used to add an emissive property key to a Direct3DRMMaterialInterpolator object.
See Also