Share via


PbrMaterial.TexCoordOffset Property

Definition

Constant offset added to texture coordinates.

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

Property Value

Remarks

An offset is normalized to [0..1] range, regardless of texture size, so (0.5, 0.5) always points to the middle of a texture. The offset can be changed over time to scroll the texture.

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

Applies to