PbrMaterial.TexCoordScale Property

Definition

Scaling factors for texture coordinates.

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

Property Value

Remarks

Used to repeat/tile textures. For instance passing (4, 2) will repeat the texture 4 times along the U texture coordinate, and 2 times along V.

A InvalidParam error occurs if the value is NaN or infinite.

Applies to

See also