hgeDistortionMesh::SetTextureRect

Sets the texture region to use for distortion.

void SetTextureRect(
  float x,
  float y,
  float w,
  float h
);

Parameters

x
The texture region top-left corner X-coordinate.
y
The texture region top-left corner Y-coordinate.
w
The texture region width.
h
The texture region height.

Requirements

Header: hgedistort.h
Import library: hgehelp.lib

See also

GetTextureRect, SetTexture, GetTexture