SpotLightEntityData

Inherits from LocalLightEntityData

Summary

Constructors

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

Properties

Name Type
shape SpotLightShape
coneInnerAngle float
coneOuterAngle float
frustumFov float
frustumAspect float
orthoWidth float
orthoHeight float
texture TextureAsset | nil
castShadowsMinLevel QualityLevel
castShadowsEnable bool

Static members

Name Type
SpotLightEntityData.typeInfo TypeInformation

Constructors

SpotLightEntityData

SpotLightEntityData()

Creates a new SpotLightEntityData frostbite instance.

SpotLightEntityData

SpotLightEntityData(guid: Guid)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: LocalLightEntityData)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: SpatialEntityData)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: EntityData)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: GameObjectData)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: GameDataContainer)

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

Parameters

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

SpotLightEntityData

SpotLightEntityData(other: DataContainer)

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

Parameters

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

Properties

shape

SpotLightShape

coneInnerAngle

float

coneOuterAngle

float

frustumFov

float

frustumAspect

float

orthoWidth

float

orthoHeight

float

texture

TextureAsset | nil

castShadowsMinLevel

QualityLevel

castShadowsEnable

bool

Static members

typeInfo

TypeInformation

The type information for the SpotLightEntityData type.

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