Skip to content

r3f-xr-widgets / CylindricalBillboardProps

Interface: CylindricalBillboardProps

Defined in: src/components/CylindricalBillboard.tsx:50

Props for the CylindricalBillboard component

Properties

autoRotate?

optional autoRotate: boolean

Defined in: src/components/CylindricalBillboard.tsx:56

Continuously rotate to face camera. Defaults to false


children?

optional children: ReactNode

Defined in: src/components/CylindricalBillboard.tsx:52

React children to render inside the billboard


initialRotation?

optional initialRotation: boolean

Defined in: src/components/CylindricalBillboard.tsx:54

Rotate to face camera once on mount. Defaults to true


rotateOnDrag?

optional rotateOnDrag: boolean

Defined in: src/components/CylindricalBillboard.tsx:58

Rotate when child position changes (during drag). Defaults to true

Released under the MIT License.