{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
module THREE.LineDashedMaterial
(
LineDashedMaterial (..)
, THREE.LineDashedMaterial.new
, dashSize
, gapSize
, scale
) where
import Miso
import THREE.EventDispatcher
import THREE.LineBasicMaterial
import THREE.Internal as THREE
import THREE.Material
newtype LineDashedMaterial
= LineDashedMaterial
{ LineDashedMaterial -> JSVal
unLineDashedMaterial :: JSVal
} deriving newtype (LineDashedMaterial -> IO [JSVal]
(LineDashedMaterial -> IO [JSVal]) -> ToArgs LineDashedMaterial
forall args. (args -> IO [JSVal]) -> ToArgs args
$ctoArgs :: LineDashedMaterial -> IO [JSVal]
toArgs :: LineDashedMaterial -> IO [JSVal]
ToArgs, LineDashedMaterial -> IO Object
(LineDashedMaterial -> IO Object) -> ToObject LineDashedMaterial
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: LineDashedMaterial -> IO Object
toObject :: LineDashedMaterial -> IO Object
ToObject, LineDashedMaterial -> IO JSVal
(LineDashedMaterial -> IO JSVal) -> ToJSVal LineDashedMaterial
forall a. (a -> IO JSVal) -> ToJSVal a
$ctoJSVal :: LineDashedMaterial -> IO JSVal
toJSVal :: LineDashedMaterial -> IO JSVal
ToJSVal)
deriving anyclass (ToObject LineDashedMaterial
ToJSVal LineDashedMaterial
Property LineDashedMaterial Bool
Property LineDashedMaterial Double
Property LineDashedMaterial Int
Property LineDashedMaterial (Maybe [Plane])
Property LineDashedMaterial (Maybe MisoString)
Property LineDashedMaterial (Maybe Object)
Property LineDashedMaterial (Maybe BlendingEquations)
Property LineDashedMaterial (Maybe DestinationFactors)
Property LineDashedMaterial (Maybe SourceFactors)
Property LineDashedMaterial (Maybe BlendingMode)
Property LineDashedMaterial MisoString
Property LineDashedMaterial Object
Property LineDashedMaterial BlendingEquations
Property LineDashedMaterial SourceFactors
Property LineDashedMaterial DepthMode
Property LineDashedMaterial Side
Property LineDashedMaterial StencilFunctions
Property LineDashedMaterial StencilOperations
Property LineDashedMaterial Color
ReadOnly LineDashedMaterial Bool
ReadOnly LineDashedMaterial MisoString
EventDispatcher LineDashedMaterial
Method LineDashedMaterial () ()
Method LineDashedMaterial () MisoString
Method LineDashedMaterial Object ()
Method LineDashedMaterial Object Object
FromJSVal LineDashedMaterial =>
Method LineDashedMaterial () LineDashedMaterial
(FromJSVal LineDashedMaterial, ToArgs LineDashedMaterial) =>
Method LineDashedMaterial LineDashedMaterial LineDashedMaterial
(EventDispatcher LineDashedMaterial, ToJSVal LineDashedMaterial,
ToObject LineDashedMaterial) =>
ReadOnly LineDashedMaterial MisoString
-> ReadOnly LineDashedMaterial MisoString
-> ReadOnly LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Double
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Double
-> Property LineDashedMaterial Color
-> Property LineDashedMaterial (Maybe DestinationFactors)
-> Property LineDashedMaterial (Maybe DestinationFactors)
-> Property LineDashedMaterial BlendingEquations
-> Property LineDashedMaterial (Maybe BlendingEquations)
-> Property LineDashedMaterial (Maybe BlendingMode)
-> Property LineDashedMaterial SourceFactors
-> Property LineDashedMaterial (Maybe SourceFactors)
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial (Maybe [Plane])
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial (Maybe Object)
-> Property LineDashedMaterial DepthMode
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial StencilFunctions
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial StencilOperations
-> Property LineDashedMaterial StencilOperations
-> Property LineDashedMaterial StencilOperations
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial MisoString
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Double
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial (Maybe MisoString)
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Side
-> Property LineDashedMaterial Side
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Int
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Object
-> (FromJSVal LineDashedMaterial =>
Method LineDashedMaterial () LineDashedMaterial)
-> ((FromJSVal LineDashedMaterial, ToArgs LineDashedMaterial) =>
Method LineDashedMaterial LineDashedMaterial LineDashedMaterial)
-> Method LineDashedMaterial () ()
-> Method LineDashedMaterial () MisoString
-> Method LineDashedMaterial Object ()
-> Method LineDashedMaterial Object Object
-> Material LineDashedMaterial
forall material.
(EventDispatcher material, ToJSVal material, ToObject material) =>
ReadOnly material MisoString
-> ReadOnly material MisoString
-> ReadOnly material Bool
-> Property material Bool
-> Property material Double
-> Property material Bool
-> Property material Double
-> Property material Color
-> Property material (Maybe DestinationFactors)
-> Property material (Maybe DestinationFactors)
-> Property material BlendingEquations
-> Property material (Maybe BlendingEquations)
-> Property material (Maybe BlendingMode)
-> Property material SourceFactors
-> Property material (Maybe SourceFactors)
-> Property material Bool
-> Property material (Maybe [Plane])
-> Property material Bool
-> Property material Bool
-> Property material (Maybe Object)
-> Property material DepthMode
-> Property material Bool
-> Property material Bool
-> Property material Bool
-> Property material Bool
-> Property material Int
-> Property material StencilFunctions
-> Property material Int
-> Property material Int
-> Property material StencilOperations
-> Property material StencilOperations
-> Property material StencilOperations
-> Property material Int
-> Property material MisoString
-> Property material Bool
-> Property material Double
-> Property material Bool
-> Property material Int
-> Property material Int
-> Property material (Maybe MisoString)
-> Property material Bool
-> Property material Bool
-> Property material Side
-> Property material Side
-> Property material Bool
-> Property material Bool
-> Property material Int
-> Property material Bool
-> Property material Bool
-> Property material Object
-> (FromJSVal material => Method material () material)
-> ((FromJSVal material, ToArgs material) =>
Method material material material)
-> Method material () ()
-> Method material () MisoString
-> Method material Object ()
-> Method material Object Object
-> Material material
$ctype_ :: ReadOnly LineDashedMaterial MisoString
type_ :: ReadOnly LineDashedMaterial MisoString
$cuuid :: ReadOnly LineDashedMaterial MisoString
uuid :: ReadOnly LineDashedMaterial MisoString
$cisMaterial :: ReadOnly LineDashedMaterial Bool
isMaterial :: ReadOnly LineDashedMaterial Bool
$calphaHash :: Property LineDashedMaterial Bool
alphaHash :: Property LineDashedMaterial Bool
$calphaTest :: Property LineDashedMaterial Double
alphaTest :: Property LineDashedMaterial Double
$calphaToCoverage :: Property LineDashedMaterial Bool
alphaToCoverage :: Property LineDashedMaterial Bool
$cblendAlpha :: Property LineDashedMaterial Double
blendAlpha :: Property LineDashedMaterial Double
$cblendColor :: Property LineDashedMaterial Color
blendColor :: Property LineDashedMaterial Color
$cblendDst :: Property LineDashedMaterial (Maybe DestinationFactors)
blendDst :: Property LineDashedMaterial (Maybe DestinationFactors)
$cblendDstAlpha :: Property LineDashedMaterial (Maybe DestinationFactors)
blendDstAlpha :: Property LineDashedMaterial (Maybe DestinationFactors)
$cblendEquation :: Property LineDashedMaterial BlendingEquations
blendEquation :: Property LineDashedMaterial BlendingEquations
$cblendEquationAlpha :: Property LineDashedMaterial (Maybe BlendingEquations)
blendEquationAlpha :: Property LineDashedMaterial (Maybe BlendingEquations)
$cblending :: Property LineDashedMaterial (Maybe BlendingMode)
blending :: Property LineDashedMaterial (Maybe BlendingMode)
$cblendSrc :: Property LineDashedMaterial SourceFactors
blendSrc :: Property LineDashedMaterial SourceFactors
$cblendSrcAlpha :: Property LineDashedMaterial (Maybe SourceFactors)
blendSrcAlpha :: Property LineDashedMaterial (Maybe SourceFactors)
$cclipIntersection :: Property LineDashedMaterial Bool
clipIntersection :: Property LineDashedMaterial Bool
$cclippingPlanes :: Property LineDashedMaterial (Maybe [Plane])
clippingPlanes :: Property LineDashedMaterial (Maybe [Plane])
$cclipShadows :: Property LineDashedMaterial Bool
clipShadows :: Property LineDashedMaterial Bool
$ccolorWrite :: Property LineDashedMaterial Bool
colorWrite :: Property LineDashedMaterial Bool
$cdefines :: Property LineDashedMaterial (Maybe Object)
defines :: Property LineDashedMaterial (Maybe Object)
$cdepthFunc :: Property LineDashedMaterial DepthMode
depthFunc :: Property LineDashedMaterial DepthMode
$cdepthTest :: Property LineDashedMaterial Bool
depthTest :: Property LineDashedMaterial Bool
$cdepthWrite :: Property LineDashedMaterial Bool
depthWrite :: Property LineDashedMaterial Bool
$cforceSinglePass :: Property LineDashedMaterial Bool
forceSinglePass :: Property LineDashedMaterial Bool
$cstencilWrite :: Property LineDashedMaterial Bool
stencilWrite :: Property LineDashedMaterial Bool
$cstencilWriteMask :: Property LineDashedMaterial Int
stencilWriteMask :: Property LineDashedMaterial Int
$cstencilFunc :: Property LineDashedMaterial StencilFunctions
stencilFunc :: Property LineDashedMaterial StencilFunctions
$cstencilRef :: Property LineDashedMaterial Int
stencilRef :: Property LineDashedMaterial Int
$cstencilFuncMask :: Property LineDashedMaterial Int
stencilFuncMask :: Property LineDashedMaterial Int
$cstencilFail :: Property LineDashedMaterial StencilOperations
stencilFail :: Property LineDashedMaterial StencilOperations
$cstencilZFail :: Property LineDashedMaterial StencilOperations
stencilZFail :: Property LineDashedMaterial StencilOperations
$cstencilZPass :: Property LineDashedMaterial StencilOperations
stencilZPass :: Property LineDashedMaterial StencilOperations
$cid :: Property LineDashedMaterial Int
id :: Property LineDashedMaterial Int
$cname :: Property LineDashedMaterial MisoString
name :: Property LineDashedMaterial MisoString
$cneedsUpdate :: Property LineDashedMaterial Bool
needsUpdate :: Property LineDashedMaterial Bool
$copacity :: Property LineDashedMaterial Double
opacity :: Property LineDashedMaterial Double
$cpolygonOffset :: Property LineDashedMaterial Bool
polygonOffset :: Property LineDashedMaterial Bool
$cpolygonOffsetFactor :: Property LineDashedMaterial Int
polygonOffsetFactor :: Property LineDashedMaterial Int
$cpolygonOffsetUnits :: Property LineDashedMaterial Int
polygonOffsetUnits :: Property LineDashedMaterial Int
$cprecision :: Property LineDashedMaterial (Maybe MisoString)
precision :: Property LineDashedMaterial (Maybe MisoString)
$cpremultipliedAlpha :: Property LineDashedMaterial Bool
premultipliedAlpha :: Property LineDashedMaterial Bool
$cdithering :: Property LineDashedMaterial Bool
dithering :: Property LineDashedMaterial Bool
$cshadowSide :: Property LineDashedMaterial Side
shadowSide :: Property LineDashedMaterial Side
$cside :: Property LineDashedMaterial Side
side :: Property LineDashedMaterial Side
$ctoneMapped :: Property LineDashedMaterial Bool
toneMapped :: Property LineDashedMaterial Bool
$ctransparent :: Property LineDashedMaterial Bool
transparent :: Property LineDashedMaterial Bool
$cversion :: Property LineDashedMaterial Int
version :: Property LineDashedMaterial Int
$cvertexColors :: Property LineDashedMaterial Bool
vertexColors :: Property LineDashedMaterial Bool
$cvisible :: Property LineDashedMaterial Bool
visible :: Property LineDashedMaterial Bool
$cuserData :: Property LineDashedMaterial Object
userData :: Property LineDashedMaterial Object
$cclone :: FromJSVal LineDashedMaterial =>
Method LineDashedMaterial () LineDashedMaterial
clone :: FromJSVal LineDashedMaterial =>
Method LineDashedMaterial () LineDashedMaterial
$ccopy :: (FromJSVal LineDashedMaterial, ToArgs LineDashedMaterial) =>
Method LineDashedMaterial LineDashedMaterial LineDashedMaterial
copy :: (FromJSVal LineDashedMaterial, ToArgs LineDashedMaterial) =>
Method LineDashedMaterial LineDashedMaterial LineDashedMaterial
$cdispose :: Method LineDashedMaterial () ()
dispose :: Method LineDashedMaterial () ()
$ccustomProgramCacheKey :: Method LineDashedMaterial () MisoString
customProgramCacheKey :: Method LineDashedMaterial () MisoString
$csetValues :: Method LineDashedMaterial Object ()
setValues :: Method LineDashedMaterial Object ()
$ctoJSON :: Method LineDashedMaterial Object Object
toJSON :: Method LineDashedMaterial Object Object
Material, ToObject LineDashedMaterial
ToJSVal LineDashedMaterial
Method LineDashedMaterial (MisoString, Function) ()
Method LineDashedMaterial Object ()
(ToObject LineDashedMaterial, ToJSVal LineDashedMaterial) =>
Method LineDashedMaterial (MisoString, Function) ()
-> Method LineDashedMaterial (MisoString, Function) ()
-> Method LineDashedMaterial (MisoString, Function) ()
-> Method LineDashedMaterial Object ()
-> EventDispatcher LineDashedMaterial
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 LineDashedMaterial (MisoString, Function) ()
addEventListener :: Method LineDashedMaterial (MisoString, Function) ()
$chasEventListener :: Method LineDashedMaterial (MisoString, Function) ()
hasEventListener :: Method LineDashedMaterial (MisoString, Function) ()
$cremoveEventListener :: Method LineDashedMaterial (MisoString, Function) ()
removeEventListener :: Method LineDashedMaterial (MisoString, Function) ()
$cdispatchEvent :: Method LineDashedMaterial Object ()
dispatchEvent :: Method LineDashedMaterial Object ()
EventDispatcher, Property LineDashedMaterial Bool
Property LineDashedMaterial Double
Property LineDashedMaterial Linecap
Property LineDashedMaterial Linejoin
Property LineDashedMaterial Color
Material LineDashedMaterial
Material LineDashedMaterial =>
Property LineDashedMaterial Color
-> Property LineDashedMaterial Bool
-> Property LineDashedMaterial Double
-> Property LineDashedMaterial Linecap
-> Property LineDashedMaterial Linejoin
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property LineDashedMaterial (Maybe texture))
-> LineBasicMaterialClass LineDashedMaterial
forall material.
Material material =>
Property material Color
-> Property material Bool
-> Property material Double
-> Property material Linecap
-> Property material Linejoin
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> LineBasicMaterialClass material
forall texture.
(TextureClass texture, FromJSVal texture) =>
Property LineDashedMaterial (Maybe texture)
$ccolor :: Property LineDashedMaterial Color
color :: Property LineDashedMaterial Color
$cfog :: Property LineDashedMaterial Bool
fog :: Property LineDashedMaterial Bool
$clinewidth :: Property LineDashedMaterial Double
linewidth :: Property LineDashedMaterial Double
$clinecap :: Property LineDashedMaterial Linecap
linecap :: Property LineDashedMaterial Linecap
$clinejoin :: Property LineDashedMaterial Linejoin
linejoin :: Property LineDashedMaterial Linejoin
$cmap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property LineDashedMaterial (Maybe texture)
map :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property LineDashedMaterial (Maybe texture)
LineBasicMaterialClass)
instance FromJSVal LineDashedMaterial where
fromJSVal :: JSVal -> IO (Maybe LineDashedMaterial)
fromJSVal = Maybe LineDashedMaterial -> IO (Maybe LineDashedMaterial)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure (Maybe LineDashedMaterial -> IO (Maybe LineDashedMaterial))
-> (JSVal -> Maybe LineDashedMaterial)
-> JSVal
-> IO (Maybe LineDashedMaterial)
forall b c a. (b -> c) -> (a -> b) -> a -> c
. LineDashedMaterial -> Maybe LineDashedMaterial
forall a. a -> Maybe a
Just (LineDashedMaterial -> Maybe LineDashedMaterial)
-> (JSVal -> LineDashedMaterial)
-> JSVal
-> Maybe LineDashedMaterial
forall b c a. (b -> c) -> (a -> b) -> a -> c
. JSVal -> LineDashedMaterial
LineDashedMaterial
new :: THREE.Three LineDashedMaterial
new :: IO LineDashedMaterial
new = (JSVal -> LineDashedMaterial)
-> MisoString -> () -> IO LineDashedMaterial
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> LineDashedMaterial
LineDashedMaterial MisoString
"LineDashedMaterial" ()
dashSize :: Property LineDashedMaterial Double
dashSize :: Property LineDashedMaterial Double
dashSize = MisoString -> Property LineDashedMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"dashSize"
gapSize :: Property LineDashedMaterial Double
gapSize :: Property LineDashedMaterial Double
gapSize = MisoString -> Property LineDashedMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"gapSize"
scale :: Property LineDashedMaterial Double
scale :: Property LineDashedMaterial Double
scale = MisoString -> Property LineDashedMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"scale"