OutdoorLightComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
sunColor Vec3
cloudShadowSpeed Vec2
skyColor Vec3
groundColor Vec3
sunRotationY float
sunRotationX float
realm Realm
skyLightAngleFactor float
sunSpecularScale float
skyEnvmapShadowScale float
sunShadowHeightScale float
cloudShadowCoverage float
cloudShadowTexture TextureAsset | nil
translucencyDistortion float
cloudShadowSize float
translucencyAmbient float
cloudShadowExponent float
translucencyScale float
translucencyPower float
enable bool
cloudShadowEnable bool

Static members

Name Type
OutdoorLightComponentData.typeInfo TypeInformation

Constructors

OutdoorLightComponentData

OutdoorLightComponentData()

Creates a new OutdoorLightComponentData frostbite instance.

OutdoorLightComponentData

OutdoorLightComponentData(guid: Guid)

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

Parameters

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

OutdoorLightComponentData

OutdoorLightComponentData(other: ComponentData)

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

Parameters

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

OutdoorLightComponentData

OutdoorLightComponentData(other: GameObjectData)

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

Parameters

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

OutdoorLightComponentData

OutdoorLightComponentData(other: GameDataContainer)

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

Parameters

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

OutdoorLightComponentData

OutdoorLightComponentData(other: DataContainer)

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

Parameters

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

Properties

sunColor

Vec3

cloudShadowSpeed

Vec2

skyColor

Vec3

groundColor

Vec3

sunRotationY

float

sunRotationX

float

realm

Realm

skyLightAngleFactor

float

sunSpecularScale

float

skyEnvmapShadowScale

float

sunShadowHeightScale

float

cloudShadowCoverage

float

cloudShadowTexture

TextureAsset | nil

translucencyDistortion

float

cloudShadowSize

float

translucencyAmbient

float

cloudShadowExponent

float

translucencyScale

float

translucencyPower

float

enable

bool

cloudShadowEnable

bool

Static members

typeInfo

TypeInformation

The type information for the OutdoorLightComponentData type.

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