Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetLike

Hierarchy

  • AssetLike

Implemented by

Index

Properties

id

id: string

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

Optional material

material: MaterialLike

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

Optional mesh

mesh: MeshLike

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

Optional name

name: string

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

Optional prefab

prefab: PrefabLike

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

Optional source

source: AssetSource

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

Optional texture

texture: TextureLike

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