Skip to content

Variable: ShadowCatcher ​

const ShadowCatcher: Component<{ color: { default: [number, number, number, number]; help: string; label: string; type: Color; widget: string; }; opacity: { default: number; help: string; label: string; max: number; min: number; step: number; type: Float32; }; size: { default: [number, number]; help: string; label: string; type: Vec2; }; }>

Defined in: packages/core/src/environment/ground-shadows.ts:85

Invisible floor that shows only the shadows it receives.

Remarks ​

  • Grounds content over AR passthrough. Shadows need environment.shadows and a light with castShadow.
  • The plane lies flat at the node's origin and never takes pointer hits.

Privacy | Terms