Class: FSShadowMaterial
Extra-Helpers.FSShadowMaterial
Hierarchy
ShadowMaterial
↳
FSShadowMaterial
Implements
Constructors
constructor
• new FSShadowMaterial(parameters?
)
Parameters
Name | Type |
---|---|
parameters? | ShadowMaterialParameters |
Inherited from
ShadowMaterial.constructor
Defined in
webgi/node_modules/@types/three/src/materials/ShadowMaterial.d.ts:10
Properties
typeSlug
• Readonly
typeSlug: "fsShadow"
Implementation of
Defined in
webgi/src/extras/FSShadowMaterial.ts:8
assetType
• assetType: "material"
Implementation of
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
Defined in
webgi/src/extras/FSShadowMaterial.ts:15
Methods
onBeforeCompile
▸ onBeforeCompile(shader
, renderer
): void
Parameters
Name | Type |
---|---|
shader | Shader |
renderer | WebGLRenderer |
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:49
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Implementation of
IMaterial.toJSON
Overrides
ShadowMaterial.toJSON
Defined in
webgi/src/extras/FSShadowMaterial.ts:53
fromJSON
▸ fromJSON(data
, meta?
): null
| FSShadowMaterial
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| FSShadowMaterial
Implementation of
IMaterial.fromJSON
Defined in
webgi/src/extras/FSShadowMaterial.ts:56
copyProps
▸ copyProps(oldMaterial
): FSShadowMaterial
Parameters
Name | Type |
---|---|
oldMaterial | any |
Returns
Implementation of
Defined in
webgi/src/extras/FSShadowMaterial.ts:60
setDirty
▸ setDirty(options?
): void
Parameters
Name | Type |
---|---|
options? | AnyOptions |
Returns
void