Cocos Creator API

1.5.x

Cocos Creator is the game engine for the future.

Enum Texture2D.WrapMode

Module: cc
Parent Module: cc

The texture wrap mode

REPEAT Number readOnly

The constant variable equals gl.REPEAT for texture

CLAMP_TO_EDGE Number readOnly

The constant variable equals gl.CLAMP_TO_EDGE for texture

MIRRORED_REPEAT Number readOnly

The constant variable equals gl.MIRRORED_REPEAT for texture

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index