ShaderParamsComponentData

Inherits from ComponentData

Summary

Constructors

ShaderParamsComponentData()
ShaderParamsComponentData(guid: Guid)
ShaderParamsComponentData(other: ComponentData)
ShaderParamsComponentData(other: GameObjectData)
ShaderParamsComponentData(other: GameDataContainer)
ShaderParamsComponentData(other: DataContainer)

Properties

Name Type
value Vec4
parameterName string

Static members

Name Type
ShaderParamsComponentData.typeInfo TypeInformation

Constructors

ShaderParamsComponentData

ShaderParamsComponentData()

Creates a new ShaderParamsComponentData frostbite instance.

ShaderParamsComponentData

ShaderParamsComponentData(guid: Guid)

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

Parameters

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

ShaderParamsComponentData

ShaderParamsComponentData(other: ComponentData)

Casts an instance of type ComponentData to ShaderParamsComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to ShaderParamsComponentData.

ShaderParamsComponentData

ShaderParamsComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to ShaderParamsComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to ShaderParamsComponentData.

ShaderParamsComponentData

ShaderParamsComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to ShaderParamsComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to ShaderParamsComponentData.

ShaderParamsComponentData

ShaderParamsComponentData(other: DataContainer)

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

Parameters

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

Properties

value

Vec4

parameterName

string

Static members

typeInfo

TypeInformation

The type information for the ShaderParamsComponentData type.

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