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