Class Billboard

A simple 2D billboard, like a tree or grass. These are square by default, but can be scaled XY if needed. Both cylindrical and spherical billboards are supported. You must assign material with a texture to be rendered as a sprite on the billboard

Implements

Constructors

Properties

Methods

Constructors

Properties

bufferInfo: BufferInfo
material: Material
programInfo: ProgramInfo
type: BillboardType = BillboardType.CYLINDRICAL

Methods

  • Render is used draw this billboard, this is called from the Instance that wraps this renderable

    Parameters

    Returns void

Generated using TypeDoc