LightComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
light LocalLightEntityData | nil

Static members

Name Type
LightComponentData.typeInfo TypeInformation

Constructors

LightComponentData

LightComponentData()

Creates a new LightComponentData frostbite instance.

LightComponentData

LightComponentData(guid: Guid)

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

Parameters

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

LightComponentData

LightComponentData(other: ComponentData)

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

Parameters

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

LightComponentData

LightComponentData(other: GameObjectData)

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

Parameters

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

LightComponentData

LightComponentData(other: GameDataContainer)

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

Parameters

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

LightComponentData

LightComponentData(other: DataContainer)

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

Parameters

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

Properties

light

LocalLightEntityData | nil

Static members

typeInfo

TypeInformation

The type information for the LightComponentData type.

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