TextureWrap#

class ansys.stk.core.graphics.TextureWrap#

IntEnum

Overview#

CLAMP

Clamp the texture coordinate to the range [0, 1].

CLAMP_TO_BORDER

Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N], where N is the size the texture in the direction of clamping.

CLAMP_TO_EDGE

Clamp the texture coordinate to the range [1/2N, 1 - 1/2N], where N is the size the texture in the direction of clamping.

MIRRORED_REPEAT

If the integer part of the texture coordinate is even, use the fractional part of the texture coordinate. Otherwise, use one minus the fractional part of the texture coordinate.

REPEAT

Ignore the integer part of the texture coordinate.

Import detail#

from ansys.stk.core.graphics import TextureWrap