Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Geometry

Geometry representation; generically defining a shape to be rendered

Provides access to vertex data and texture coordinates required to render a given shape

Attached to Entities by way of Model Components for rendering

Hierarchy

  • Geometry

Index

Constructors

  • Constructor. Take a GeometryConfig

    Parameters

    Returns Geometry

Accessors

  • Retrieve the Geometry's GLShape

    Returns GLShape

  • get name(): string
  • Retrieve the Geometry's name

    Returns string

  • get textureCoordinates(): Float32Array
  • Retrieve the Geometry's texture coordinates

    Returns Float32Array

  • get vertexCount(): number
  • Retrieve the Geometry's vertex count

    Returns number

  • get vertexSize(): number
  • Retrieve the Geometry's vertex size

    Returns number

  • get vertices(): Float32Array
  • Retrieve the Geometry's vertices

    Returns Float32Array