XRMeshModel
XRMeshModel(
props
):ReactNode
Component for rendering a mesh for the XRMesh based on the detected mesh geometry
props
Omit
<Mutable
<Overwrite
<Partial
<Overwrite
<Mesh
<BufferGeometry
<NormalBufferAttributes
, BufferGeometryEventMap
>, Material
| Material
[], Object3DEventMap
>, MathProps
<Mesh
<BufferGeometry
<..., ...>, ... | ..., Object3DEventMap
>> & ReactProps
<Mesh
<BufferGeometry
<..., ...>, ... | ..., Object3DEventMap
>> & Partial
<EventHandlers
>>>, Omit
<InstanceProps
<Mesh
<BufferGeometry
<NormalBufferAttributes
, BufferGeometryEventMap
>, Material
| Material
[], Object3DEventMap
>, typeof Mesh
>, "object"
>>> & object
, "ref"
> & RefAttributes
<Mesh
<BufferGeometry
<NormalBufferAttributes
, BufferGeometryEventMap
>, Material
| Material
[], Object3DEventMap
>>
Accepts the same props as a ThreeJs Mesh
Returns
ReactNode