PbrMaterial.AOMap 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Texture用於環境遮蔽的 。 如果需要專用紋理,請傳入 null
。
public:
property Microsoft::Azure::RemoteRendering::Texture ^ AOMap { Microsoft::Azure::RemoteRendering::Texture ^ get(); void set(Microsoft::Azure::RemoteRendering::Texture ^ value); };
public Microsoft.Azure.RemoteRendering.Texture AOMap { get; set; }
member this.AOMap : Microsoft.Azure.RemoteRendering.Texture with get, set
Public Property AOMap As Texture
屬性值
備註
有效的 AO 紋理是灰階紋理,可定義哪些區域會遮蔽 (深/黑色) ,以及哪些區域不會 (亮/白色) 。 紋理中的 AO 值會隨著 AOScale 屬性調調。
InvalidType如果已設定不是 2D 紋理的紋理,就會發生錯誤。