Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Texture2D.WrapMode

: 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