IDirect3DRMMaterial::SetPower

Sets the power used for the specular exponent in a material.

HRESULT SetPower(
D3DVALUE rvPower
);

Parameters

rvPower

New specular exponent.

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 a spectral power key to a Direct3DRMMaterialInterpolator object.

See Also

IDirect3DRMMaterial::GetPower