LocalLightEntityData

Inherits from SpatialEntityData

Summary

Constructors

LocalLightEntityData()
LocalLightEntityData(guid: Guid)
LocalLightEntityData(other: SpatialEntityData)
LocalLightEntityData(other: EntityData)
LocalLightEntityData(other: GameObjectData)
LocalLightEntityData(other: GameDataContainer)
LocalLightEntityData(other: DataContainer)

Properties

Name Type
color Vec3
particleColorScale Vec3
enlightenColorScale Vec3
radius float
intensity float
attenuationOffset float
enlightenColorMode EnlightenColorMode
enlightenEnable bool
visible bool
specularEnable bool

Static members

Name Type
LocalLightEntityData.typeInfo TypeInformation

Constructors

LocalLightEntityData

LocalLightEntityData()

Creates a new LocalLightEntityData frostbite instance.

LocalLightEntityData

LocalLightEntityData(guid: Guid)

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

Parameters

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

LocalLightEntityData

LocalLightEntityData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to LocalLightEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to LocalLightEntityData.

LocalLightEntityData

LocalLightEntityData(other: EntityData)

Casts an instance of type EntityData to LocalLightEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to LocalLightEntityData.

LocalLightEntityData

LocalLightEntityData(other: GameObjectData)

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

Parameters

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

LocalLightEntityData

LocalLightEntityData(other: GameDataContainer)

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

Parameters

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

LocalLightEntityData

LocalLightEntityData(other: DataContainer)

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

Parameters

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

Properties

color

Vec3

particleColorScale

Vec3

enlightenColorScale

Vec3

radius

float

intensity

float

attenuationOffset

float

enlightenColorMode

EnlightenColorMode

enlightenEnable

bool

visible

bool

specularEnable

bool

Static members

typeInfo

TypeInformation

The type information for the LocalLightEntityData type.

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