Share via


SceneLightingEffect.SpecularShine 属性

定义

Blinn-Phong 照明模型的反射功率。

public:
 property float SpecularShine { float get(); void set(float value); };
float SpecularShine();

void SpecularShine(float value);
public float SpecularShine { get; set; }
var single = sceneLightingEffect.specularShine;
sceneLightingEffect.specularShine = single;
Public Property SpecularShine As Single

属性值

Single

float

Blinn-Phong 照明模型的反射功率。 值必须设置在 1.0 和 128 之间。 默认值为 16。

注解

SpecularShine 属性为 Phong 照明方程中的反射项提供指数。 较大的值对应于反射性更高的表面。 该值必须介于 1.0 和 128 之间。

适用于