Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new Sprite(name: string, materialName: string, width?: number, height?: number): Sprite

Properties

_buffer: undefined | GLBuffer
_height: number
_material: undefined | Material
_materialName: undefined | string
_name: string
_origin: Vector3 = ...
_vertices: Vertex[] = ...
_width: number

Accessors

  • get height(): number
  • get name(): string
  • get width(): number

Methods

  • calculateVertices(): void
  • destroy(): void
  • load(): void
  • recalculateVertices(): void
  • update(delta: number): void

Generated using TypeDoc