setSubsurface
setSubsurface(
material,subsurfaceOptions):void
Gives material the subsurface falloff, or moves the values of the one
it has. A copy that took the material’s hook, such as a character’s lit
copy, shares its values: a call on either moves both.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
material |
MeshStandardMaterial |
subsurfaceOptions |
SubsurfaceOptions |
Returns
Section titled “Returns”void