copper3d / Modules / Utils/modelCrossfade / FadeableMaterial
Interface: FadeableMaterial
Utils/modelCrossfade.FadeableMaterial
Crossfading one model into another in the same scene.
Split into capture / apply / restore so the caller owns the timing: the fade is driven frame by frame from whatever animation loop it already has, rather than this starting a second one.
Table of contents
Properties
Properties
depthWrite
• depthWrite: boolean
Defined in
src/Utils/modelCrossfade.ts:14
opacity
• opacity: number
Defined in
src/Utils/modelCrossfade.ts:12
transparent
• transparent: boolean