Cocos Creator API

1.3.0

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

V2F_C4B_T2F

: cc

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

V2F_C4B_T2F
(
  • vertices
  • colors
  • texCoords
  • arrayBuffer
  • offset
)
V2F_C4B_T2F

vertices Vertex2F
colors Color
  • r Number optional , default: 0

    red component of the color, default value is 0.

  • g Number optional , default: 0

    green component of the color, defualt value is 0.

  • b Number optional , default: 0

    blue component of the color, default value is 0.

  • a Number optional , default: 255

    alpha component of the color, default value is 255.

texCoords Tex2F
arrayBuffer Array
offset Number

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