DiffuseMaterial.AmbientColor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a color that represents how the material reflects AmbientLight.
public:
property System::Windows::Media::Color AmbientColor { System::Windows::Media::Color get(); void set(System::Windows::Media::Color value); };
public System.Windows.Media.Color AmbientColor { get; set; }
member this.AmbientColor : System.Windows.Media.Color with get, set
Public Property AmbientColor As Color
Property Value
The color of the ambient light reflected by the 3D object. The default value is #FFFFFF
.
Remarks
An ambient light is lighting not attributable to the direct rays from a specific light source. In the physical world, ambient light comes from the reflection of light from surfaces in the environment. Without ambient light, objects in shadow would be completely black.
All other lights are controlled by the Color property.
Dependency Property Information
Identifier field | AmbientColorProperty |
Metadata properties set to true |
None |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈