DofComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
realm Realm
nearDistanceScale float
focusDistance float
blurFilter BlurFilter
blurFilterDeviation float
farDistanceScale float
blurAdd float
scale float
diffusionDofFocalLength float
diffusionDofAperture float
diffusionDofEnable bool
enable bool

Static members

Name Type
DofComponentData.typeInfo TypeInformation

Constructors

DofComponentData

DofComponentData()

Creates a new DofComponentData frostbite instance.

DofComponentData

DofComponentData(guid: Guid)

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

Parameters

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

DofComponentData

DofComponentData(other: ComponentData)

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

Parameters

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

DofComponentData

DofComponentData(other: GameObjectData)

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

Parameters

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

DofComponentData

DofComponentData(other: GameDataContainer)

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

Parameters

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

DofComponentData

DofComponentData(other: DataContainer)

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

Parameters

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

Properties

realm

Realm

nearDistanceScale

float

focusDistance

float

blurFilter

BlurFilter

blurFilterDeviation

float

farDistanceScale

float

blurAdd

float

scale

float

diffusionDofFocalLength

float

diffusionDofAperture

float

diffusionDofEnable

bool

enable

bool

Static members

typeInfo

TypeInformation

The type information for the DofComponentData type.

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