Cocos Creator API

1.3.0

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

V3F_C4B_T2F

: cc

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

vertices Vertex3F
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

BYTES_PER_ELEMENT ( ) final

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