Cocos Creator API

1.4.x

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

V3F_C4B_T2F_Quad

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

V3F_C4B_T2F_Quad
(
  • tl
  • bl
  • tr
  • br
  • arrayBuffer
  • offset
)
V3F_C4B_T2F_Quad

name type description
tl 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