hgeDistortionMesh::GetTextureRect

Returns the current distortion mesh texture region.

void GetTextureRect(
  float *x,
  float *y,
  float *w,
  float *h
);

Parameters

x
Pointer to a float to store the current texture region top-left corner X-coordinate.
y
Pointer to a float to store the current texture region top-left corner Y-coordinate.
w
Pointer to a float to store the current texture region width.
h
Pointer to a float to store the current texture region height.

Requirements

Header: hgedistort.h
Import library: hgehelp.lib

See also

GetTextureRect, SetTexture, GetTexture