Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Mesh

Hierarchy

Implements

Index

Accessors

id

  • get id(): string
  • The unique id of this asset. Use this to reference this asset in actors, etc.

    inheritdoc

    Returns string

mesh

  • Only populated when this asset is a mesh. An asset will have only one of these types specified.

    inheritdoc

    Returns MeshLike

name

  • get name(): string
  • A human-readable string identifying the asset. Not required to be unique, but can be referenced by name if it is.

    inheritdoc

    Returns string

source

  • Where this asset came from. Used for loading on late-joining clients.

    inheritdoc

    Returns AssetSource

triangleCount

  • get triangleCount(): number
  • The number of triangles in this mesh.

    inheritdoc

    Returns number

vertexCount

  • get vertexCount(): number
  • The number of vertices in this mesh.

    inheritdoc

    Returns number