Skip to main content

Class: FSShadowMaterial

Extra-Helpers.FSShadowMaterial

Hierarchy

  • ShadowMaterial

    FSShadowMaterial

Implements

Constructors

constructor

new FSShadowMaterial(parameters?)

Parameters

NameType
parameters?ShadowMaterialParameters

Inherited from

ShadowMaterial.constructor

Defined in

webgi/node_modules/@types/three/src/materials/ShadowMaterial.d.ts:11

Properties

typeSlug

Readonly typeSlug: "fsShadow"

Implementation of

IMaterial.typeSlug

Defined in

webgi/src/extras/FSShadowMaterial.ts:8


assetType

assetType: "material"

Implementation of

IMaterial.assetType

Defined in

webgi/src/extras/FSShadowMaterial.ts:9


lastFrameTexture

lastFrameTexture: null | ITexture<any> = null

Defined in

webgi/src/extras/FSShadowMaterial.ts:13

Accessors

materialObject

get materialObject(): ShadowMaterial

Returns

ShadowMaterial

Implementation of

IMaterial.materialObject

Defined in

webgi/src/extras/FSShadowMaterial.ts:15

Methods

onBeforeCompile

onBeforeCompile(shader, renderer): void

Parameters

NameType
shaderShader
rendererWebGLRenderer

Returns

void

Overrides

ShadowMaterial.onBeforeCompile

Defined in

webgi/src/extras/FSShadowMaterial.ts:19


customProgramCacheKey

customProgramCacheKey(): string

Returns

string

Overrides

ShadowMaterial.customProgramCacheKey

Defined in

webgi/src/extras/FSShadowMaterial.ts:50


toJSON

toJSON(meta?): any

Parameters

NameType
meta?any

Returns

any

Implementation of

IMaterial.toJSON

Overrides

ShadowMaterial.toJSON

Defined in

webgi/src/extras/FSShadowMaterial.ts:54


fromJSON

fromJSON(data, meta?): null | FSShadowMaterial

Parameters

NameType
dataany
meta?any

Returns

null | FSShadowMaterial

Implementation of

IMaterial.fromJSON

Defined in

webgi/src/extras/FSShadowMaterial.ts:57


copyProps

copyProps(oldMaterial): FSShadowMaterial

Parameters

NameType
oldMaterialany

Returns

FSShadowMaterial

Implementation of

IMaterial.copyProps

Defined in

webgi/src/extras/FSShadowMaterial.ts:61


setDirty

setDirty(options?): void

Parameters

NameType
options?AnyOptions

Returns

void

Implementation of

IMaterial.setDirty

Defined in

webgi/src/extras/FSShadowMaterial.ts:65