Asset

Inherits from DataContainer

Summary

Constructors

Asset()
Asset(guid: Guid)
Asset(other: DataContainer)

Properties

Name Type
name string

Static members

Name Type
Asset.typeInfo TypeInformation

Constructors

Asset

Asset()

Creates a new Asset frostbite instance.

Asset

Asset(guid: Guid)

Creates a new Asset frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

Asset

Asset(other: DataContainer)

Casts an instance of type DataContainer to Asset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to Asset.

Properties

name

string

Static members

typeInfo

TypeInformation

The type information for the Asset type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)