Share via


HierarchicalStateOverrideComponent.OverrideMaterial Property

Definition

A single material for rendering the geometry that is activated through the UseOverrideMaterial flag.

public:
 property Microsoft::Azure::RemoteRendering::Material ^ OverrideMaterial { Microsoft::Azure::RemoteRendering::Material ^ get(); void set(Microsoft::Azure::RemoteRendering::Material ^ value); };
public Microsoft.Azure.RemoteRendering.Material OverrideMaterial { get; set; }
member this.OverrideMaterial : Microsoft.Azure.RemoteRendering.Material with get, set
Public Property OverrideMaterial As Material

Property Value

Remarks

This can be an arbitrary PbrMaterial or a ColorMaterial, but some features may not work if the geometry does not have the required vertex streams, e.g. normals for proper PBR lighting or texture UV coordinates for texture mapping. Using a transparent material on opaque geometry will only work reliably in TileBasedComposition. Point cloud geometry is not affected by this feature. By default, the material reference is unassigned which has the same effect as disabling the feature through the UseOverrideMaterial flag.

Applies to