{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE OverloadedStrings #-}
module THREE.Light
(
Light (..)
) where
import Miso
import THREE.Color as THREE
import THREE.Internal as THREE
import THREE.Object3D as THREE
class Object3D light => Light light where
isLight :: ReadOnly light Bool
isLight = MisoString -> ReadOnly light Bool
forall object return.
(FromJSVal return, ToObject object) =>
MisoString -> ReadOnly object return
readonly MisoString
"isLight"
color :: Property light Color
color = MisoString -> Property light Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"color"
intensity :: Property light Double
intensity = MisoString -> Property light Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"intensity"
dispose :: Method light () ()
dispose = MisoString -> Method light () ()
forall object return args.
(FromJSVal return, ToArgs args, ToObject object) =>
MisoString -> Method object args return
method MisoString
"dispose"
instance Light JSVal