-----------------------------------------------------------------------------
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
module THREE.HemisphereLight
  ( -- * Types
    HemisphereLight (..)
    -- * Constructors
  , THREE.HemisphereLight.new
    -- * Read-only Properties
  , isHemisphereLight
    -- * Properties
  , groundColor
    -- * Optional properties
    -- * Methods
    -- * Helper functions
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import           THREE.Color
import           THREE.EventDispatcher
import           THREE.Internal as THREE
import           THREE.Light
import           THREE.Object3D
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/lights/HemisphereLight
newtype HemisphereLight
  = HemisphereLight
  { HemisphereLight -> JSVal
unHemisphereLight :: JSVal
  } deriving newtype (HemisphereLight -> IO [JSVal]
(HemisphereLight -> IO [JSVal]) -> ToArgs HemisphereLight
forall args. (args -> IO [JSVal]) -> ToArgs args
$ctoArgs :: HemisphereLight -> IO [JSVal]
toArgs :: HemisphereLight -> IO [JSVal]
ToArgs, HemisphereLight -> IO Object
(HemisphereLight -> IO Object) -> ToObject HemisphereLight
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: HemisphereLight -> IO Object
toObject :: HemisphereLight -> IO Object
ToObject, HemisphereLight -> IO JSVal
(HemisphereLight -> IO JSVal) -> ToJSVal HemisphereLight
forall a. (a -> IO JSVal) -> ToJSVal a
$ctoJSVal :: HemisphereLight -> IO JSVal
toJSVal :: HemisphereLight -> IO JSVal
ToJSVal)
    deriving anyclass (Property HemisphereLight Double
Property HemisphereLight Color
ReadOnly HemisphereLight Bool
Object3D HemisphereLight
Method HemisphereLight () ()
Object3D HemisphereLight =>
ReadOnly HemisphereLight Bool
-> Property HemisphereLight Color
-> Property HemisphereLight Double
-> Method HemisphereLight () ()
-> Light HemisphereLight
forall light.
Object3D light =>
ReadOnly light Bool
-> Property light Color
-> Property light Double
-> Method light () ()
-> Light light
$cisLight :: ReadOnly HemisphereLight Bool
isLight :: ReadOnly HemisphereLight Bool
$ccolor :: Property HemisphereLight Color
color :: Property HemisphereLight Color
$cintensity :: Property HemisphereLight Double
intensity :: Property HemisphereLight Double
$cdispose :: Method HemisphereLight () ()
dispose :: Method HemisphereLight () ()
Light, Property HemisphereLight Bool
Property HemisphereLight Double
Property HemisphereLight MisoString
Property HemisphereLight Function
Property HemisphereLight Object
Property HemisphereLight Euler
Property HemisphereLight AnimationClip
Property HemisphereLight Layers
Property HemisphereLight Matrix3
Property HemisphereLight Matrix4
Property HemisphereLight Quaternion
Property HemisphereLight Vector3
ReadOnly HemisphereLight Bool
ReadOnly HemisphereLight Int
EventDispatcher HemisphereLight
Method HemisphereLight Bool ()
Method HemisphereLight () ()
Method HemisphereLight (Bool, Bool) ()
Method HemisphereLight (Raycaster, JSVal) ()
Method HemisphereLight (Vector3, Double) ()
Method HemisphereLight Function ()
Method HemisphereLight Object Object
FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
FromJSVal HemisphereLight =>
Method HemisphereLight () HemisphereLight
FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
FromJSVal HemisphereLight =>
Method HemisphereLight Quaternion HemisphereLight
EventDispatcher HemisphereLight =>
Property HemisphereLight AnimationClip
-> Property HemisphereLight Bool
-> (forall material.
    (Material material, FromJSVal material) =>
    Property HemisphereLight material)
-> (forall material.
    (Material material, FromJSVal material) =>
    Property HemisphereLight material)
-> Property HemisphereLight Bool
-> ReadOnly HemisphereLight Int
-> ReadOnly HemisphereLight Bool
-> Property HemisphereLight Layers
-> Property HemisphereLight Matrix4
-> Property HemisphereLight Bool
-> Property HemisphereLight Matrix4
-> Property HemisphereLight Bool
-> Property HemisphereLight Bool
-> Property HemisphereLight Matrix4
-> Property HemisphereLight MisoString
-> Property HemisphereLight Matrix3
-> Property HemisphereLight Function
-> Property HemisphereLight Function
-> Property HemisphereLight Function
-> Property HemisphereLight Function
-> (forall return.
    (Object3D return, FromJSVal return) =>
    Property HemisphereLight return)
-> Property HemisphereLight Vector3
-> Property HemisphereLight Quaternion
-> Property HemisphereLight Bool
-> Property HemisphereLight Double
-> Property HemisphereLight Euler
-> Property HemisphereLight Vector3
-> Property HemisphereLight Vector3
-> Property HemisphereLight Object
-> Property HemisphereLight MisoString
-> Property HemisphereLight Bool
-> Property HemisphereLight Vector3
-> Property HemisphereLight Bool
-> Property HemisphereLight Bool
-> (forall arg.
    (ToArgs arg, FromJSVal HemisphereLight, Object3D arg) =>
    Method HemisphereLight arg HemisphereLight)
-> Method HemisphereLight Matrix4 ()
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Quaternion HemisphereLight)
-> (forall arg.
    (FromJSVal HemisphereLight, ToArgs arg) =>
    Method HemisphereLight arg HemisphereLight)
-> (forall arg.
    (ToArgs arg, FromJSVal HemisphereLight) =>
    Method HemisphereLight arg HemisphereLight)
-> (forall t.
    (FromJSVal HemisphereLight, Object3DCloneParams t, ToArgs t) =>
    Method HemisphereLight t HemisphereLight)
-> (forall t.
    (ToArgs HemisphereLight, FromJSVal HemisphereLight,
     Object3DCopyParams HemisphereLight t, ToArgs t) =>
    Method HemisphereLight t HemisphereLight)
-> Method HemisphereLight Vector3 Vector3
-> Method HemisphereLight Quaternion Quaternion
-> Method HemisphereLight Vector3 Vector3
-> Method HemisphereLight Vector3 Vector3
-> Method HemisphereLight Vector3 Vector3
-> (forall arg.
    (ToArgs arg, Triplet arg) =>
    Method HemisphereLight arg ())
-> Method HemisphereLight (Raycaster, JSVal) ()
-> (forall arg.
    (ToArgs arg, Object3D arg, FromJSVal HemisphereLight) =>
    Method HemisphereLight arg HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight () HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight (Vector3, Double) HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight (Vector3, Double) HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> Method HemisphereLight (Vector3, Double) ()
-> Method HemisphereLight Euler ()
-> Method HemisphereLight Matrix4 ()
-> Method HemisphereLight Quaternion ()
-> Method HemisphereLight Object Object
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight (Vector3, Double) HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> (FromJSVal HemisphereLight =>
    Method HemisphereLight Double HemisphereLight)
-> Method HemisphereLight Function ()
-> Method HemisphereLight Function ()
-> Method HemisphereLight Function ()
-> Method HemisphereLight () ()
-> Method HemisphereLight Bool ()
-> Method HemisphereLight (Bool, Bool) ()
-> Method HemisphereLight Vector3 Vector3
-> Object3D HemisphereLight
Method HemisphereLight Euler ()
Method HemisphereLight Matrix4 ()
Method HemisphereLight Quaternion ()
Method HemisphereLight Quaternion Quaternion
Method HemisphereLight Vector3 Vector3
forall arg.
(ToArgs arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
forall arg.
(ToArgs arg, FromJSVal HemisphereLight, Object3D arg) =>
Method HemisphereLight arg HemisphereLight
forall arg.
(ToArgs arg, Triplet arg) =>
Method HemisphereLight arg ()
forall arg.
(ToArgs arg, Object3D arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
forall t.
(ToArgs HemisphereLight, FromJSVal HemisphereLight,
 Object3DCopyParams HemisphereLight t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
forall arg.
(FromJSVal HemisphereLight, ToArgs arg) =>
Method HemisphereLight arg HemisphereLight
forall t.
(FromJSVal HemisphereLight, Object3DCloneParams t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
forall object.
EventDispatcher object =>
Property object AnimationClip
-> Property object Bool
-> (forall material.
    (Material material, FromJSVal material) =>
    Property object material)
-> (forall material.
    (Material material, FromJSVal material) =>
    Property object material)
-> Property object Bool
-> ReadOnly object Int
-> ReadOnly object Bool
-> Property object Layers
-> Property object Matrix4
-> Property object Bool
-> Property object Matrix4
-> Property object Bool
-> Property object Bool
-> Property object Matrix4
-> Property object MisoString
-> Property object Matrix3
-> Property object Function
-> Property object Function
-> Property object Function
-> Property object Function
-> (forall return.
    (Object3D return, FromJSVal return) =>
    Property object return)
-> Property object Vector3
-> Property object Quaternion
-> Property object Bool
-> Property object Double
-> Property object Euler
-> Property object Vector3
-> Property object Vector3
-> Property object Object
-> Property object MisoString
-> Property object Bool
-> Property object Vector3
-> Property object Bool
-> Property object Bool
-> (forall arg.
    (ToArgs arg, FromJSVal object, Object3D arg) =>
    Method object arg object)
-> Method object Matrix4 ()
-> (FromJSVal object => Method object Quaternion object)
-> (forall arg.
    (FromJSVal object, ToArgs arg) =>
    Method object arg object)
-> (forall arg.
    (ToArgs arg, FromJSVal object) =>
    Method object arg object)
-> (forall t.
    (FromJSVal object, Object3DCloneParams t, ToArgs t) =>
    Method object t object)
-> (forall t.
    (ToArgs object, FromJSVal object, Object3DCopyParams object t,
     ToArgs t) =>
    Method object t object)
-> Method object Vector3 Vector3
-> Method object Quaternion Quaternion
-> Method object Vector3 Vector3
-> Method object Vector3 Vector3
-> Method object Vector3 Vector3
-> (forall arg. (ToArgs arg, Triplet arg) => Method object arg ())
-> Method object (Raycaster, JSVal) ()
-> (forall arg.
    (ToArgs arg, Object3D arg, FromJSVal object) =>
    Method object arg object)
-> (FromJSVal object => Method object () object)
-> (FromJSVal object => Method object (Vector3, Double) object)
-> (FromJSVal object => Method object (Vector3, Double) object)
-> (FromJSVal object => Method object Double object)
-> (FromJSVal object => Method object Double object)
-> (FromJSVal object => Method object Double object)
-> Method object (Vector3, Double) ()
-> Method object Euler ()
-> Method object Matrix4 ()
-> Method object Quaternion ()
-> Method object Object Object
-> (FromJSVal object => Method object (Vector3, Double) object)
-> (FromJSVal object => Method object Double object)
-> (FromJSVal object => Method object Double object)
-> (FromJSVal object => Method object Double object)
-> Method object Function ()
-> Method object Function ()
-> Method object Function ()
-> Method object () ()
-> Method object Bool ()
-> Method object (Bool, Bool) ()
-> Method object Vector3 Vector3
-> Object3D object
forall material.
(Material material, FromJSVal material) =>
Property HemisphereLight material
forall return.
(Object3D return, FromJSVal return) =>
Property HemisphereLight return
$canimations :: Property HemisphereLight AnimationClip
animations :: Property HemisphereLight AnimationClip
$ccastShadow :: Property HemisphereLight Bool
castShadow :: Property HemisphereLight Bool
$ccustomDepthMaterial :: forall material.
(Material material, FromJSVal material) =>
Property HemisphereLight material
customDepthMaterial :: forall material.
(Material material, FromJSVal material) =>
Property HemisphereLight material
$ccustomDistanceMaterial :: forall material.
(Material material, FromJSVal material) =>
Property HemisphereLight material
customDistanceMaterial :: forall material.
(Material material, FromJSVal material) =>
Property HemisphereLight material
$cfrustumCulled :: Property HemisphereLight Bool
frustumCulled :: Property HemisphereLight Bool
$cid :: ReadOnly HemisphereLight Int
id :: ReadOnly HemisphereLight Int
$cisObject3D :: ReadOnly HemisphereLight Bool
isObject3D :: ReadOnly HemisphereLight Bool
$clayers :: Property HemisphereLight Layers
layers :: Property HemisphereLight Layers
$cmatrix :: Property HemisphereLight Matrix4
matrix :: Property HemisphereLight Matrix4
$cmatrixAutoUpdate :: Property HemisphereLight Bool
matrixAutoUpdate :: Property HemisphereLight Bool
$cmatrixWorld :: Property HemisphereLight Matrix4
matrixWorld :: Property HemisphereLight Matrix4
$cmatrixWorldAutoUpdate :: Property HemisphereLight Bool
matrixWorldAutoUpdate :: Property HemisphereLight Bool
$cmatrixWorldNeedsUpdate :: Property HemisphereLight Bool
matrixWorldNeedsUpdate :: Property HemisphereLight Bool
$cmodelViewMatrix :: Property HemisphereLight Matrix4
modelViewMatrix :: Property HemisphereLight Matrix4
$cname :: Property HemisphereLight MisoString
name :: Property HemisphereLight MisoString
$cnormalMatrix :: Property HemisphereLight Matrix3
normalMatrix :: Property HemisphereLight Matrix3
$conAfterRender :: Property HemisphereLight Function
onAfterRender :: Property HemisphereLight Function
$conAfterShadow :: Property HemisphereLight Function
onAfterShadow :: Property HemisphereLight Function
$conBeforeRender :: Property HemisphereLight Function
onBeforeRender :: Property HemisphereLight Function
$conBeforeShadow :: Property HemisphereLight Function
onBeforeShadow :: Property HemisphereLight Function
$cparent :: forall return.
(Object3D return, FromJSVal return) =>
Property HemisphereLight return
parent :: forall return.
(Object3D return, FromJSVal return) =>
Property HemisphereLight return
$cposition :: Property HemisphereLight Vector3
position :: Property HemisphereLight Vector3
$cquaternion :: Property HemisphereLight Quaternion
quaternion :: Property HemisphereLight Quaternion
$creceiveShadow :: Property HemisphereLight Bool
receiveShadow :: Property HemisphereLight Bool
$crenderOrder :: Property HemisphereLight Double
renderOrder :: Property HemisphereLight Double
$crotation :: Property HemisphereLight Euler
rotation :: Property HemisphereLight Euler
$cscale :: Property HemisphereLight Vector3
scale :: Property HemisphereLight Vector3
$cup :: Property HemisphereLight Vector3
up :: Property HemisphereLight Vector3
$cuserData :: Property HemisphereLight Object
userData :: Property HemisphereLight Object
$cuuid :: Property HemisphereLight MisoString
uuid :: Property HemisphereLight MisoString
$cvisible :: Property HemisphereLight Bool
visible :: Property HemisphereLight Bool
$cdefaultUp :: Property HemisphereLight Vector3
defaultUp :: Property HemisphereLight Vector3
$cdefaultMatrixAutoUpdate :: Property HemisphereLight Bool
defaultMatrixAutoUpdate :: Property HemisphereLight Bool
$cdefaultMatrixWorldAutoUpdate :: Property HemisphereLight Bool
defaultMatrixWorldAutoUpdate :: Property HemisphereLight Bool
$cadd :: forall arg.
(ToArgs arg, FromJSVal HemisphereLight, Object3D arg) =>
Method HemisphereLight arg HemisphereLight
add :: forall arg.
(ToArgs arg, FromJSVal HemisphereLight, Object3D arg) =>
Method HemisphereLight arg HemisphereLight
$capplyMatrix4 :: Method HemisphereLight Matrix4 ()
applyMatrix4 :: Method HemisphereLight Matrix4 ()
$capplyQuaternion :: FromJSVal HemisphereLight =>
Method HemisphereLight Quaternion HemisphereLight
applyQuaternion :: FromJSVal HemisphereLight =>
Method HemisphereLight Quaternion HemisphereLight
$cattach :: forall arg.
(FromJSVal HemisphereLight, ToArgs arg) =>
Method HemisphereLight arg HemisphereLight
attach :: forall arg.
(FromJSVal HemisphereLight, ToArgs arg) =>
Method HemisphereLight arg HemisphereLight
$cclear :: forall arg.
(ToArgs arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
clear :: forall arg.
(ToArgs arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
$cclone :: forall t.
(FromJSVal HemisphereLight, Object3DCloneParams t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
clone :: forall t.
(FromJSVal HemisphereLight, Object3DCloneParams t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
$ccopy :: forall t.
(ToArgs HemisphereLight, FromJSVal HemisphereLight,
 Object3DCopyParams HemisphereLight t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
copy :: forall t.
(ToArgs HemisphereLight, FromJSVal HemisphereLight,
 Object3DCopyParams HemisphereLight t, ToArgs t) =>
Method HemisphereLight t HemisphereLight
$cgetWorldPosition :: Method HemisphereLight Vector3 Vector3
getWorldPosition :: Method HemisphereLight Vector3 Vector3
$cgetWorldQuaternion :: Method HemisphereLight Quaternion Quaternion
getWorldQuaternion :: Method HemisphereLight Quaternion Quaternion
$cgetWorldScale :: Method HemisphereLight Vector3 Vector3
getWorldScale :: Method HemisphereLight Vector3 Vector3
$cgetWorldDirection :: Method HemisphereLight Vector3 Vector3
getWorldDirection :: Method HemisphereLight Vector3 Vector3
$clocalToWorld :: Method HemisphereLight Vector3 Vector3
localToWorld :: Method HemisphereLight Vector3 Vector3
$clookAt :: forall arg.
(ToArgs arg, Triplet arg) =>
Method HemisphereLight arg ()
lookAt :: forall arg.
(ToArgs arg, Triplet arg) =>
Method HemisphereLight arg ()
$craycast :: Method HemisphereLight (Raycaster, JSVal) ()
raycast :: Method HemisphereLight (Raycaster, JSVal) ()
$cremove :: forall arg.
(ToArgs arg, Object3D arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
remove :: forall arg.
(ToArgs arg, Object3D arg, FromJSVal HemisphereLight) =>
Method HemisphereLight arg HemisphereLight
$cremoveFromParent :: FromJSVal HemisphereLight =>
Method HemisphereLight () HemisphereLight
removeFromParent :: FromJSVal HemisphereLight =>
Method HemisphereLight () HemisphereLight
$crotateOnAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
rotateOnAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
$crotateOnWorldAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
rotateOnWorldAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
$crotateX :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
rotateX :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$crotateY :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
rotateY :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$crotateZ :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
rotateZ :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$csetRotationFromAxisAngle :: Method HemisphereLight (Vector3, Double) ()
setRotationFromAxisAngle :: Method HemisphereLight (Vector3, Double) ()
$csetRotationFromEuler :: Method HemisphereLight Euler ()
setRotationFromEuler :: Method HemisphereLight Euler ()
$csetRotationFromMatrix :: Method HemisphereLight Matrix4 ()
setRotationFromMatrix :: Method HemisphereLight Matrix4 ()
$csetRotationFromQuaternion :: Method HemisphereLight Quaternion ()
setRotationFromQuaternion :: Method HemisphereLight Quaternion ()
$ctoJSON :: Method HemisphereLight Object Object
toJSON :: Method HemisphereLight Object Object
$ctranslateOnAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
translateOnAxis :: FromJSVal HemisphereLight =>
Method HemisphereLight (Vector3, Double) HemisphereLight
$ctranslateX :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
translateX :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$ctranslateY :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
translateY :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$ctranslateZ :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
translateZ :: FromJSVal HemisphereLight =>
Method HemisphereLight Double HemisphereLight
$ctraverse :: Method HemisphereLight Function ()
traverse :: Method HemisphereLight Function ()
$ctraverseVisible :: Method HemisphereLight Function ()
traverseVisible :: Method HemisphereLight Function ()
$ctraverseAncestors :: Method HemisphereLight Function ()
traverseAncestors :: Method HemisphereLight Function ()
$cupdateMatrix :: Method HemisphereLight () ()
updateMatrix :: Method HemisphereLight () ()
$cupdateMatrixWorld :: Method HemisphereLight Bool ()
updateMatrixWorld :: Method HemisphereLight Bool ()
$cupdateWorldMatrix :: Method HemisphereLight (Bool, Bool) ()
updateWorldMatrix :: Method HemisphereLight (Bool, Bool) ()
$cworldToLocal :: Method HemisphereLight Vector3 Vector3
worldToLocal :: Method HemisphereLight Vector3 Vector3
Object3D, ToObject HemisphereLight
ToJSVal HemisphereLight
Method HemisphereLight (MisoString, Function) ()
Method HemisphereLight Object ()
(ToObject HemisphereLight, ToJSVal HemisphereLight) =>
Method HemisphereLight (MisoString, Function) ()
-> Method HemisphereLight (MisoString, Function) ()
-> Method HemisphereLight (MisoString, Function) ()
-> Method HemisphereLight Object ()
-> EventDispatcher HemisphereLight
forall object.
(ToObject object, ToJSVal object) =>
Method object (MisoString, Function) ()
-> Method object (MisoString, Function) ()
-> Method object (MisoString, Function) ()
-> Method object Object ()
-> EventDispatcher object
$caddEventListener :: Method HemisphereLight (MisoString, Function) ()
addEventListener :: Method HemisphereLight (MisoString, Function) ()
$chasEventListener :: Method HemisphereLight (MisoString, Function) ()
hasEventListener :: Method HemisphereLight (MisoString, Function) ()
$cremoveEventListener :: Method HemisphereLight (MisoString, Function) ()
removeEventListener :: Method HemisphereLight (MisoString, Function) ()
$cdispatchEvent :: Method HemisphereLight Object ()
dispatchEvent :: Method HemisphereLight Object ()
EventDispatcher)
-----------------------------------------------------------------------------
instance FromJSVal HemisphereLight where
  fromJSVal :: JSVal -> IO (Maybe HemisphereLight)
fromJSVal = Maybe HemisphereLight -> IO (Maybe HemisphereLight)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure (Maybe HemisphereLight -> IO (Maybe HemisphereLight))
-> (JSVal -> Maybe HemisphereLight)
-> JSVal
-> IO (Maybe HemisphereLight)
forall b c a. (b -> c) -> (a -> b) -> a -> c
. HemisphereLight -> Maybe HemisphereLight
forall a. a -> Maybe a
Just (HemisphereLight -> Maybe HemisphereLight)
-> (JSVal -> HemisphereLight) -> JSVal -> Maybe HemisphereLight
forall b c a. (b -> c) -> (a -> b) -> a -> c
. JSVal -> HemisphereLight
HemisphereLight
-----------------------------------------------------------------------------
class HemisphereLightParams t
instance HemisphereLightParams ()
instance HemisphereLightParams Int
instance HemisphereLightParams (Int, Double)
new :: (ToArgs t, HemisphereLightParams t) => t -> THREE.Three HemisphereLight
new :: forall t.
(ToArgs t, HemisphereLightParams t) =>
t -> IO HemisphereLight
new = (JSVal -> HemisphereLight) -> MisoString -> t -> IO HemisphereLight
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> HemisphereLight
HemisphereLight MisoString
"HemisphereLight" 
-----------------------------------------------------------------------------
-- Read-only properties
-----------------------------------------------------------------------------
isHemisphereLight :: ReadOnly HemisphereLight Bool
isHemisphereLight :: ReadOnly HemisphereLight Bool
isHemisphereLight = MisoString -> ReadOnly HemisphereLight Bool
forall object return.
(FromJSVal return, ToObject object) =>
MisoString -> ReadOnly object return
readonly MisoString
"isHemisphereLight" 
-----------------------------------------------------------------------------
-- Properties
-----------------------------------------------------------------------------
groundColor :: Property HemisphereLight Color
groundColor :: Property HemisphereLight Color
groundColor = MisoString -> Property HemisphereLight Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"groundColor" 
-----------------------------------------------------------------------------