Cocos Creator API

1.2.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

返回:

类型: V3F_C4B_T2F

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