Create Portal
Convenience method to call the reconciler createPortal
.
createPortal(<box position={new Vector3(0, 1, 0)}><standardMaterialdiffuseColor={Color3.Blue()}specularColor={Color3.Black()}/></box>,transformNodeRef.current)
- Output
- Code