OptionalcolorThe colour while the mesh has no colouring (see BindMeshOptions.color).
OptionaledgeFragment shading's edge softness in distance units (see
BindMeshOptions.edgeSoftness); 0 (the default) is a hard edge. Changing
it never rebinds. NaN, an infinite or a negative width draws as 0, with a
console warning (bindMesh would throw).
OptionalmaterialThe material (see BindMeshOptions.material): give each <FastMesh> its
own, and dispose it yourself. Changing it rebinds the mesh.
The scene mesh to draw; added through the store (store.addMesh).
OptionalonCalled with the binding once the mesh is bound, and with null when that
binding is disposed (unmount, removal, or a rebind, which then delivers
the new one). Pass it to bindSection or attachTransformControls.
bindSection clips the materials it sees when it is called, so bind the
section again when a new binding arrives. A new callback never rebinds.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalshadingHow a colouring is drawn (see BindMeshOptions.shading): "vertex" (the
default) or "fragment". Changing it rebinds the mesh.
OptionalstoreThe store; defaults to the nearest SceneProvider's.
OptionalvisibleA visibility override, ANDed with the store display's visible (unset
shows). The store still hides the mesh while set; changing it never
rebinds.
Props of FastMesh: R3F's pointer events are passed through to the mesh.