diff --git a/src/core/Image.tsx b/src/core/Image.tsx index 675cf209d..4f55561a6 100644 --- a/src/core/Image.tsx +++ b/src/core/Image.tsx @@ -15,6 +15,7 @@ export type ImageProps = Omit & { toneMapped?: boolean transparent?: boolean opacity?: number + side?: THREE.Side } & ({ texture: THREE.Texture; url?: never } | { texture?: never; url: string }) // {texture: THREE.Texture} XOR {url: string} type ImageMaterialType = JSX.IntrinsicElements['shaderMaterial'] & { @@ -98,6 +99,7 @@ const ImageBase: ForwardRefComponent, THREE.Mesh> = /* @ texture, toneMapped, transparent, + side, ...props }: Omit, ref: React.ForwardedRef @@ -118,6 +120,7 @@ const ImageBase: ForwardRefComponent, THREE.Mesh> = /* @ imageBounds={imageBounds} toneMapped={toneMapped} transparent={transparent} + side={side} /> {children}