hgeResourceManager::GetDistortionMesh

Returns pointer to a named distortion mesh.

hgeDistortionMesh *GetDistortionMesh(
  const char *name
);

Parameters

name
Distortion mesh name.

Return value

If successful, returns pointer to the hgeDistortionMesh object. Otherwise returns 0.

Remarks

To use a distortion mesh with hgeResourceManager you must define it in the resource script.

If the distortion mesh hasn't been created yet, it will be created. Otherwise pointer to the existing distortion mesh will be returned.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib