-----------------------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
module THREE.Bone
  ( -- * Types
    Bone (..)
    -- * Methods
  , THREE.Bone.new
    -- * Properties
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import qualified THREE.Internal as THREE
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/scenes/Bone
newtype Bone
  = Bone
  { Bone -> JSVal
unBoneCamera :: JSVal
  } deriving (Bone -> IO Object
(Bone -> IO Object) -> ToObject Bone
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: Bone -> IO Object
toObject :: Bone -> IO Object
ToObject)
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/cameras/Bone
new :: THREE.Three Bone
new :: Three Bone
new = (JSVal -> Bone) -> MisoString -> [MisoString] -> Three Bone
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> Bone
Bone MisoString
"Bone" ([] :: [MisoString])
-----------------------------------------------------------------------------