Cocos Creator API

1.2.0

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

V2F_C4B_T2F_Triangle

模块: cc

方法

V2F_C4B_T2F_Triangle
(
  • a
  • b
  • c
  • arrayBuffer
  • offset
)
V2F_C4B_T2F_Triangle

名称 类型 描述
a 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
b 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
c 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
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