Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sound

Hierarchy

Implements

Index

Accessors

animationData

created

  • get created(): Promise<void>

duration

  • get duration(): number
  • The length of the loaded sound in seconds at default pitch

    Returns number

id

  • The unique id of this asset. Use this to reference this asset in actors, etc.

    inheritdoc

    Returns Guid

material

mesh

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

    inheritdoc

    Returns Mesh

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

prefab

sound

source

texture

uri

  • get uri(): string

Methods

copy