Class: FSShadowMaterial
Extra-Helpers.FSShadowMaterial
Hierarchy
ShadowMaterial↳
FSShadowMaterial
Implements
Constructors
constructor
• new FSShadowMaterial(parameters?)
Parameters
| Name | Type |
|---|---|
parameters? | ShadowMaterialParameters |
Inherited from
ShadowMaterial.constructor
Properties
typeSlug
• Readonly typeSlug: "fsShadow"
Implementation of
assetType
• assetType: "material"
Implementation of
lastFrameTexture
• lastFrameTexture: null | ITexture<any> = null
Accessors
materialObject
• get materialObject(): ShadowMaterial
Returns
ShadowMaterial
Implementation of
Methods
onBeforeCompile
▸ onBeforeCompile(shader, renderer): void
Parameters
| Name | Type |
|---|---|
shader | Shader |
renderer | WebGLRenderer |
Returns
void
Overrides
ShadowMaterial.onBeforeCompile
customProgramCacheKey
▸ customProgramCacheKey(): string
Returns
string
Overrides
ShadowMaterial.customProgramCacheKey
toJSON
▸ toJSON(meta?): any
Parameters
| Name | Type |
|---|---|
meta? | any |
Returns
any
Implementation of
IMaterial.toJSON
Overrides
ShadowMaterial.toJSON
fromJSON
▸ fromJSON(data, meta?): null | FSShadowMaterial
Parameters
| Name | Type |
|---|---|
data | any |
meta? | any |
Returns
null | FSShadowMaterial
Implementation of
IMaterial.fromJSON
copyProps
▸ copyProps(oldMaterial): FSShadowMaterial
Parameters
| Name | Type |
|---|---|
oldMaterial | any |
Returns
Implementation of
setDirty
▸ setDirty(options?): void
Parameters
| Name | Type |
|---|---|
options? | AnyOptions |
Returns
void