Native SkeletonOptimise wrapper class for accessing lightweight properties.

Native SkeletonOptimise 封装类,用于访问轻量级属性。

实现

构造函数

属性

_templet: SpineTemplet
data: any = null

方法

  • 参数

    • vertexFlag: string

      Vertex flag string (e.g., "UV,COLOR,POSITION,BONE").

    • shaderLocation: number

      Shader location for the vertex attribute.

    • context: any

      Vertex state context to add.

    返回 void

    Set vertex declaration for a vertex flag (static method).

    为顶点标志设置顶点声明(静态方法)。