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

Properties​

typeSlug​

• Readonly typeSlug: "fsShadow"

Implementation of​

IMaterial.typeSlug


assetType​

• assetType: "material"

Implementation of​

IMaterial.assetType


lastFrameTexture​

• lastFrameTexture: null | ITexture<any> = null

Accessors​

materialObject​

• get materialObject(): ShadowMaterial

Returns​

ShadowMaterial

Implementation of​

IMaterial.materialObject

Methods​

onBeforeCompile​

▸ onBeforeCompile(shader, renderer): void

Parameters​

NameType
shaderShader
rendererWebGLRenderer

Returns​

void

Overrides​

ShadowMaterial.onBeforeCompile


customProgramCacheKey​

▸ customProgramCacheKey(): string

Returns​

string

Overrides​

ShadowMaterial.customProgramCacheKey


toJSON​

▸ toJSON(meta?): any

Parameters​

NameType
meta?any

Returns​

any

Implementation of​

IMaterial.toJSON

Overrides​

ShadowMaterial.toJSON


fromJSON​

▸ fromJSON(data, meta?): null | FSShadowMaterial

Parameters​

NameType
dataany
meta?any

Returns​

null | FSShadowMaterial

Implementation of​

IMaterial.fromJSON


copyProps​

▸ copyProps(oldMaterial): FSShadowMaterial

Parameters​

NameType
oldMaterialany

Returns​

FSShadowMaterial

Implementation of​

IMaterial.copyProps


setDirty​

▸ setDirty(options?): void

Parameters​

NameType
options?AnyOptions

Returns​

void

Implementation of​

IMaterial.setDirty