kokomi.js
Preparing search index...
ContactShadows
Class ContactShadows
Credit:
https://github.com/mrdoob/three.js/blob/master/examples/webgl_shadow_contact.html
Hierarchy (
View Summary
)
Component
ContactShadows
Index
Constructors
constructor
Properties
base
blur
blur
Plane
container
count
depth
Material
emitter
frames
group
horizontal
Blur
Material
mesh
render
Target
render
Target
Blur
shadow
Camera
smooth
vertical
Blur
Material
Methods
add
Existing
blur
Shadows
emit
off
on
update
Constructors
constructor
new
ContactShadows
(
base
:
Base
,
config
?:
Partial
<
ContactShadowsConfig
>
,
)
:
ContactShadows
Parameters
base
:
Base
config
:
Partial
<
ContactShadowsConfig
>
= {}
Returns
ContactShadows
Properties
base
base
:
Base
blur
blur
:
number
blur
Plane
blurPlane
:
Mesh
container
container
:
Scene
count
count
:
number
depth
Material
depthMaterial
:
MeshDepthMaterial
emitter
emitter
:
Emitter
<
any
>
frames
frames
:
number
group
group
:
Group
horizontal
Blur
Material
horizontalBlurMaterial
:
ShaderMaterial
mesh
mesh
:
Mesh
render
Target
renderTarget
:
WebGLRenderTarget
render
Target
Blur
renderTargetBlur
:
WebGLRenderTarget
shadow
Camera
shadowCamera
:
OrthographicCamera
smooth
smooth
:
boolean
vertical
Blur
Material
verticalBlurMaterial
:
ShaderMaterial
Methods
add
Existing
addExisting
()
:
void
Returns
void
blur
Shadows
blurShadows
(
blur
:
number
)
:
void
Parameters
blur
:
number
Returns
void
emit
emit
(
type
:
string
,
event
?:
any
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
off
off
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
update
update
(
time
:
number
)
:
void
Parameters
time
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
blur
blur
Plane
container
count
depth
Material
emitter
frames
group
horizontal
Blur
Material
mesh
render
Target
render
Target
Blur
shadow
Camera
smooth
vertical
Blur
Material
Methods
add
Existing
blur
Shadows
emit
off
on
update
kokomi.js
Loading...
Credit: https://github.com/mrdoob/three.js/blob/master/examples/webgl_shadow_contact.html