Skip to content

Class: GlobalFog

screen space fog

Hierarchy

  • PostBase

    GlobalFog

Constructors

Properties

Accessors

Methods

Constructors

constructor

new GlobalFog(): GlobalFog

Returns

GlobalFog

Overrides

PostBase.constructor

Defined in

src/gfx/renderJob/post/GlobalFog.ts:37

Properties

fogOpTexture

fogOpTexture: VirtualTexture

Defined in

src/gfx/renderJob/post/GlobalFog.ts:32


rtFrame

rtFrame: RTFrame

Defined in

src/gfx/renderJob/post/GlobalFog.ts:91


enable

enable: boolean = true

Inherited from

PostBase.enable

Defined in

src/gfx/renderJob/post/PostBase.ts:20


postRenderer

postRenderer: PostRenderer

Inherited from

PostBase.postRenderer

Defined in

src/gfx/renderJob/post/PostBase.ts:21

Accessors

fogType

get fogType(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:118

set fogType(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:115


fogHeightScale

get fogHeightScale(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:124

set fogHeightScale(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:121


start

get start(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:130

set start(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:127


end

get end(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:136

set end(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:133


ins

get ins(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:142

set ins(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:139


density

get density(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:148

set density(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:145


skyRoughness

get skyRoughness(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:154

set skyRoughness(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:151


skyFactor

get skyFactor(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:160

set skyFactor(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:157


overrideSkyFactor

get overrideSkyFactor(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:167

set overrideSkyFactor(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:164


falloff

get falloff(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:189

set falloff(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:185


rayLength

get rayLength(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:197

set rayLength(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:193


scatteringExponent

get scatteringExponent(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:205

set scatteringExponent(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:201


dirHeightLine

get dirHeightLine(): number

Returns

number

Defined in

src/gfx/renderJob/post/GlobalFog.ts:213

set dirHeightLine(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GlobalFog.ts:209

Methods

onResize

onResize(): void

Returns

void

Overrides

PostBase.onResize

Defined in

src/gfx/renderJob/post/GlobalFog.ts:254


destroy

destroy(force?): void

Parameters

NameType
force?boolean

Returns

void

Inherited from

PostBase.destroy

Defined in

src/gfx/renderJob/post/PostBase.ts:87