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