Cocos Creator API

0.7.1

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

WebGLColor

Module: cc

Properties

BYTES_PER_ELEMENT Number readOnly

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

Methods

WebGLColor
(
  • r
  • g
  • b
  • a
  • arrayBuffer
  • offset
)
WebGLColor

name type description
r Number
g Number
b Number
a Number
arrayBuffer Array
offset Number

returns:

type: WebGLColor

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