SurfaceShaderBaseAsset

Inherits from Asset

Summary

Constructors

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

Static members

Name Type
SurfaceShaderBaseAsset.typeInfo TypeInformation

Constructors

SurfaceShaderBaseAsset

SurfaceShaderBaseAsset()

Creates a new SurfaceShaderBaseAsset frostbite instance.

SurfaceShaderBaseAsset

SurfaceShaderBaseAsset(guid: Guid)

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

Parameters

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

SurfaceShaderBaseAsset

SurfaceShaderBaseAsset(other: Asset)

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

Parameters

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

SurfaceShaderBaseAsset

SurfaceShaderBaseAsset(other: DataContainer)

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

Parameters

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

Static members

typeInfo

TypeInformation

The type information for the SurfaceShaderBaseAsset type.

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