Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Mesh2D Abstract

2D 专用 Mesh 主要包含每个绘制元素的基本属性数据

Hierarchy

  • Mesh2D

Index

Constructors

Properties

_drawType: DrawMode
_indexCount: number
_shader: IShader
_vertexCount: number
coreData: CoreData
uuid: string

Accessors

  • Returns AttributeData

  • Returns { drawCount: number; drawIndex: boolean; drawMode: DrawMode; drawType: ComponentType }

  • get indexCount(): number
  • Returns number

  • Returns IShader

  • get vertexCount(): number
  • Returns number

Methods

  • _appendAttribute(key: string, value: number[]): void
  • Parameters

    • key: string
    • value: number[]

    Returns void

  • _setAttribute(key: string, value: number[]): void
  • Parameters

    • key: string
    • value: number[]

    Returns void

  • appendIndices(value: number[]): void
  • Parameters

    • value: number[]

    Returns void

  • appendPositions(value: number[]): void
  • Parameters

    • value: number[]

    Returns void

  • setIndices(value: number[]): void
  • Parameters

    • value: number[]

    Returns void

  • setPositions(value: number[]): void
  • Parameters

    • value: number[]

    Returns void

Generated using TypeDoc