-----------------------------------------------------------------------------
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
-----------------------------------------------------------------------------
module THREE.MeshToonMaterial
  ( -- * Types
    MeshToonMaterial (..)
    -- * Constructors
  , THREE.MeshToonMaterial.new
    -- * Properties
  , alphaMap
  , aoMap
  , aoMapIntensity
  , bumpMap
  , bumpScale
  , color
  , displacementMap
  , displacementScale
  , displacementBias
  , emissive
  , emissiveMap
  , emissiveIntensity
  , fog
  , lightMap
  , lightMapIntensity
  , gradientMap
  , THREE.MeshToonMaterial.map
  , normalMap
  , normalMapType
  , normalScale
  , wireframe
  , wireframeLinecap
  , wireframeLinejoin
  , wireframeLinewidth
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import           THREE.Color
import           THREE.Constants.Materials
import           THREE.EventDispatcher
import           THREE.Internal as THREE
import           THREE.Material
import           THREE.Texture
import           THREE.Vector2
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/materials/MeshToonMaterial
newtype MeshToonMaterial
  = MeshToonMaterial
  { MeshToonMaterial -> JSVal
unMeshToonMaterial :: JSVal
  } deriving newtype (MeshToonMaterial -> IO [JSVal]
(MeshToonMaterial -> IO [JSVal]) -> ToArgs MeshToonMaterial
forall args. (args -> IO [JSVal]) -> ToArgs args
$ctoArgs :: MeshToonMaterial -> IO [JSVal]
toArgs :: MeshToonMaterial -> IO [JSVal]
ToArgs, MeshToonMaterial -> IO Object
(MeshToonMaterial -> IO Object) -> ToObject MeshToonMaterial
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: MeshToonMaterial -> IO Object
toObject :: MeshToonMaterial -> IO Object
ToObject, MeshToonMaterial -> IO JSVal
(MeshToonMaterial -> IO JSVal) -> ToJSVal MeshToonMaterial
forall a. (a -> IO JSVal) -> ToJSVal a
$ctoJSVal :: MeshToonMaterial -> IO JSVal
toJSVal :: MeshToonMaterial -> IO JSVal
ToJSVal)
    deriving anyclass (ToObject MeshToonMaterial
ToJSVal MeshToonMaterial
Property MeshToonMaterial Bool
Property MeshToonMaterial Double
Property MeshToonMaterial Int
Property MeshToonMaterial (Maybe [Plane])
Property MeshToonMaterial (Maybe MisoString)
Property MeshToonMaterial (Maybe Object)
Property MeshToonMaterial (Maybe BlendingEquations)
Property MeshToonMaterial (Maybe DestinationFactors)
Property MeshToonMaterial (Maybe SourceFactors)
Property MeshToonMaterial (Maybe BlendingMode)
Property MeshToonMaterial MisoString
Property MeshToonMaterial Object
Property MeshToonMaterial BlendingEquations
Property MeshToonMaterial SourceFactors
Property MeshToonMaterial DepthMode
Property MeshToonMaterial Side
Property MeshToonMaterial StencilFunctions
Property MeshToonMaterial StencilOperations
Property MeshToonMaterial Color
ReadOnly MeshToonMaterial Bool
ReadOnly MeshToonMaterial MisoString
EventDispatcher MeshToonMaterial
Method MeshToonMaterial () ()
Method MeshToonMaterial () MisoString
Method MeshToonMaterial Object ()
Method MeshToonMaterial Object Object
FromJSVal MeshToonMaterial =>
Method MeshToonMaterial () MeshToonMaterial
(FromJSVal MeshToonMaterial, ToArgs MeshToonMaterial) =>
Method MeshToonMaterial MeshToonMaterial MeshToonMaterial
(EventDispatcher MeshToonMaterial, ToJSVal MeshToonMaterial,
 ToObject MeshToonMaterial) =>
ReadOnly MeshToonMaterial MisoString
-> ReadOnly MeshToonMaterial MisoString
-> ReadOnly MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Double
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Double
-> Property MeshToonMaterial Color
-> Property MeshToonMaterial (Maybe DestinationFactors)
-> Property MeshToonMaterial (Maybe DestinationFactors)
-> Property MeshToonMaterial BlendingEquations
-> Property MeshToonMaterial (Maybe BlendingEquations)
-> Property MeshToonMaterial (Maybe BlendingMode)
-> Property MeshToonMaterial SourceFactors
-> Property MeshToonMaterial (Maybe SourceFactors)
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial (Maybe [Plane])
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial (Maybe Object)
-> Property MeshToonMaterial DepthMode
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial StencilFunctions
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial StencilOperations
-> Property MeshToonMaterial StencilOperations
-> Property MeshToonMaterial StencilOperations
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial MisoString
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Double
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial (Maybe MisoString)
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Side
-> Property MeshToonMaterial Side
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Int
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Bool
-> Property MeshToonMaterial Object
-> (FromJSVal MeshToonMaterial =>
    Method MeshToonMaterial () MeshToonMaterial)
-> ((FromJSVal MeshToonMaterial, ToArgs MeshToonMaterial) =>
    Method MeshToonMaterial MeshToonMaterial MeshToonMaterial)
-> Method MeshToonMaterial () ()
-> Method MeshToonMaterial () MisoString
-> Method MeshToonMaterial Object ()
-> Method MeshToonMaterial Object Object
-> Material MeshToonMaterial
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 MeshToonMaterial MisoString
type_ :: ReadOnly MeshToonMaterial MisoString
$cuuid :: ReadOnly MeshToonMaterial MisoString
uuid :: ReadOnly MeshToonMaterial MisoString
$cisMaterial :: ReadOnly MeshToonMaterial Bool
isMaterial :: ReadOnly MeshToonMaterial Bool
$calphaHash :: Property MeshToonMaterial Bool
alphaHash :: Property MeshToonMaterial Bool
$calphaTest :: Property MeshToonMaterial Double
alphaTest :: Property MeshToonMaterial Double
$calphaToCoverage :: Property MeshToonMaterial Bool
alphaToCoverage :: Property MeshToonMaterial Bool
$cblendAlpha :: Property MeshToonMaterial Double
blendAlpha :: Property MeshToonMaterial Double
$cblendColor :: Property MeshToonMaterial Color
blendColor :: Property MeshToonMaterial Color
$cblendDst :: Property MeshToonMaterial (Maybe DestinationFactors)
blendDst :: Property MeshToonMaterial (Maybe DestinationFactors)
$cblendDstAlpha :: Property MeshToonMaterial (Maybe DestinationFactors)
blendDstAlpha :: Property MeshToonMaterial (Maybe DestinationFactors)
$cblendEquation :: Property MeshToonMaterial BlendingEquations
blendEquation :: Property MeshToonMaterial BlendingEquations
$cblendEquationAlpha :: Property MeshToonMaterial (Maybe BlendingEquations)
blendEquationAlpha :: Property MeshToonMaterial (Maybe BlendingEquations)
$cblending :: Property MeshToonMaterial (Maybe BlendingMode)
blending :: Property MeshToonMaterial (Maybe BlendingMode)
$cblendSrc :: Property MeshToonMaterial SourceFactors
blendSrc :: Property MeshToonMaterial SourceFactors
$cblendSrcAlpha :: Property MeshToonMaterial (Maybe SourceFactors)
blendSrcAlpha :: Property MeshToonMaterial (Maybe SourceFactors)
$cclipIntersection :: Property MeshToonMaterial Bool
clipIntersection :: Property MeshToonMaterial Bool
$cclippingPlanes :: Property MeshToonMaterial (Maybe [Plane])
clippingPlanes :: Property MeshToonMaterial (Maybe [Plane])
$cclipShadows :: Property MeshToonMaterial Bool
clipShadows :: Property MeshToonMaterial Bool
$ccolorWrite :: Property MeshToonMaterial Bool
colorWrite :: Property MeshToonMaterial Bool
$cdefines :: Property MeshToonMaterial (Maybe Object)
defines :: Property MeshToonMaterial (Maybe Object)
$cdepthFunc :: Property MeshToonMaterial DepthMode
depthFunc :: Property MeshToonMaterial DepthMode
$cdepthTest :: Property MeshToonMaterial Bool
depthTest :: Property MeshToonMaterial Bool
$cdepthWrite :: Property MeshToonMaterial Bool
depthWrite :: Property MeshToonMaterial Bool
$cforceSinglePass :: Property MeshToonMaterial Bool
forceSinglePass :: Property MeshToonMaterial Bool
$cstencilWrite :: Property MeshToonMaterial Bool
stencilWrite :: Property MeshToonMaterial Bool
$cstencilWriteMask :: Property MeshToonMaterial Int
stencilWriteMask :: Property MeshToonMaterial Int
$cstencilFunc :: Property MeshToonMaterial StencilFunctions
stencilFunc :: Property MeshToonMaterial StencilFunctions
$cstencilRef :: Property MeshToonMaterial Int
stencilRef :: Property MeshToonMaterial Int
$cstencilFuncMask :: Property MeshToonMaterial Int
stencilFuncMask :: Property MeshToonMaterial Int
$cstencilFail :: Property MeshToonMaterial StencilOperations
stencilFail :: Property MeshToonMaterial StencilOperations
$cstencilZFail :: Property MeshToonMaterial StencilOperations
stencilZFail :: Property MeshToonMaterial StencilOperations
$cstencilZPass :: Property MeshToonMaterial StencilOperations
stencilZPass :: Property MeshToonMaterial StencilOperations
$cid :: Property MeshToonMaterial Int
id :: Property MeshToonMaterial Int
$cname :: Property MeshToonMaterial MisoString
name :: Property MeshToonMaterial MisoString
$cneedsUpdate :: Property MeshToonMaterial Bool
needsUpdate :: Property MeshToonMaterial Bool
$copacity :: Property MeshToonMaterial Double
opacity :: Property MeshToonMaterial Double
$cpolygonOffset :: Property MeshToonMaterial Bool
polygonOffset :: Property MeshToonMaterial Bool
$cpolygonOffsetFactor :: Property MeshToonMaterial Int
polygonOffsetFactor :: Property MeshToonMaterial Int
$cpolygonOffsetUnits :: Property MeshToonMaterial Int
polygonOffsetUnits :: Property MeshToonMaterial Int
$cprecision :: Property MeshToonMaterial (Maybe MisoString)
precision :: Property MeshToonMaterial (Maybe MisoString)
$cpremultipliedAlpha :: Property MeshToonMaterial Bool
premultipliedAlpha :: Property MeshToonMaterial Bool
$cdithering :: Property MeshToonMaterial Bool
dithering :: Property MeshToonMaterial Bool
$cshadowSide :: Property MeshToonMaterial Side
shadowSide :: Property MeshToonMaterial Side
$cside :: Property MeshToonMaterial Side
side :: Property MeshToonMaterial Side
$ctoneMapped :: Property MeshToonMaterial Bool
toneMapped :: Property MeshToonMaterial Bool
$ctransparent :: Property MeshToonMaterial Bool
transparent :: Property MeshToonMaterial Bool
$cversion :: Property MeshToonMaterial Int
version :: Property MeshToonMaterial Int
$cvertexColors :: Property MeshToonMaterial Bool
vertexColors :: Property MeshToonMaterial Bool
$cvisible :: Property MeshToonMaterial Bool
visible :: Property MeshToonMaterial Bool
$cuserData :: Property MeshToonMaterial Object
userData :: Property MeshToonMaterial Object
$cclone :: FromJSVal MeshToonMaterial =>
Method MeshToonMaterial () MeshToonMaterial
clone :: FromJSVal MeshToonMaterial =>
Method MeshToonMaterial () MeshToonMaterial
$ccopy :: (FromJSVal MeshToonMaterial, ToArgs MeshToonMaterial) =>
Method MeshToonMaterial MeshToonMaterial MeshToonMaterial
copy :: (FromJSVal MeshToonMaterial, ToArgs MeshToonMaterial) =>
Method MeshToonMaterial MeshToonMaterial MeshToonMaterial
$cdispose :: Method MeshToonMaterial () ()
dispose :: Method MeshToonMaterial () ()
$ccustomProgramCacheKey :: Method MeshToonMaterial () MisoString
customProgramCacheKey :: Method MeshToonMaterial () MisoString
$csetValues :: Method MeshToonMaterial Object ()
setValues :: Method MeshToonMaterial Object ()
$ctoJSON :: Method MeshToonMaterial Object Object
toJSON :: Method MeshToonMaterial Object Object
Material, ToObject MeshToonMaterial
ToJSVal MeshToonMaterial
Method MeshToonMaterial (MisoString, Function) ()
Method MeshToonMaterial Object ()
(ToObject MeshToonMaterial, ToJSVal MeshToonMaterial) =>
Method MeshToonMaterial (MisoString, Function) ()
-> Method MeshToonMaterial (MisoString, Function) ()
-> Method MeshToonMaterial (MisoString, Function) ()
-> Method MeshToonMaterial Object ()
-> EventDispatcher MeshToonMaterial
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 MeshToonMaterial (MisoString, Function) ()
addEventListener :: Method MeshToonMaterial (MisoString, Function) ()
$chasEventListener :: Method MeshToonMaterial (MisoString, Function) ()
hasEventListener :: Method MeshToonMaterial (MisoString, Function) ()
$cremoveEventListener :: Method MeshToonMaterial (MisoString, Function) ()
removeEventListener :: Method MeshToonMaterial (MisoString, Function) ()
$cdispatchEvent :: Method MeshToonMaterial Object ()
dispatchEvent :: Method MeshToonMaterial Object ()
EventDispatcher)

instance FromJSVal MeshToonMaterial where
  fromJSVal :: JSVal -> IO (Maybe MeshToonMaterial)
fromJSVal = Maybe MeshToonMaterial -> IO (Maybe MeshToonMaterial)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure (Maybe MeshToonMaterial -> IO (Maybe MeshToonMaterial))
-> (JSVal -> Maybe MeshToonMaterial)
-> JSVal
-> IO (Maybe MeshToonMaterial)
forall b c a. (b -> c) -> (a -> b) -> a -> c
. MeshToonMaterial -> Maybe MeshToonMaterial
forall a. a -> Maybe a
Just (MeshToonMaterial -> Maybe MeshToonMaterial)
-> (JSVal -> MeshToonMaterial) -> JSVal -> Maybe MeshToonMaterial
forall b c a. (b -> c) -> (a -> b) -> a -> c
. JSVal -> MeshToonMaterial
MeshToonMaterial

-- Constructor

new :: THREE.Three MeshToonMaterial
new :: IO MeshToonMaterial
new = (JSVal -> MeshToonMaterial)
-> MisoString -> () -> IO MeshToonMaterial
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> MeshToonMaterial
MeshToonMaterial MisoString
"MeshToonMaterial" ()

-- Property

alphaMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
alphaMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
alphaMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"alphaMap"

aoMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
aoMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
aoMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"aoMap"

aoMapIntensity :: Property MeshToonMaterial Int
aoMapIntensity :: Property MeshToonMaterial Int
aoMapIntensity = MisoString -> Property MeshToonMaterial Int
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"aoMapIntensity"

bumpMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
bumpMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
bumpMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"bumpMap"

bumpScale :: Property MeshToonMaterial Double
bumpScale :: Property MeshToonMaterial Double
bumpScale = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"bumpScale"

color :: Property MeshToonMaterial Color
color :: Property MeshToonMaterial Color
color = MisoString -> Property MeshToonMaterial Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"color" 

displacementMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
displacementMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
displacementMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"displacementMap"

displacementScale :: Property MeshToonMaterial Double
displacementScale :: Property MeshToonMaterial Double
displacementScale = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"displacementScale"

displacementBias :: Property MeshToonMaterial Double
displacementBias :: Property MeshToonMaterial Double
displacementBias = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"displacementBias"

emissive :: Property MeshToonMaterial Color
emissive :: Property MeshToonMaterial Color
emissive = MisoString -> Property MeshToonMaterial Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"emissive"

emissiveMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
emissiveMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
emissiveMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"emissiveMap"

emissiveIntensity :: Property MeshToonMaterial Double
emissiveIntensity :: Property MeshToonMaterial Double
emissiveIntensity = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"emissiveIntensity"

fog :: Property MeshToonMaterial Bool
fog :: Property MeshToonMaterial Bool
fog = MisoString -> Property MeshToonMaterial Bool
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"fog"

gradientMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
gradientMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
gradientMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"gradientMap"

lightMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
lightMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
lightMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"lightMap"

lightMapIntensity :: Property MeshToonMaterial Double
lightMapIntensity :: Property MeshToonMaterial Double
lightMapIntensity = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"lightMapIntensity"

map :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
map :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
map = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"map"

normalMap :: (TextureClass texture, FromJSVal texture) => Property MeshToonMaterial (Maybe texture)
normalMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshToonMaterial (Maybe texture)
normalMap = MisoString -> Property MeshToonMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"normalMap"

normalMapType :: Property MeshToonMaterial NormalMapType
normalMapType :: Property MeshToonMaterial NormalMapType
normalMapType = MisoString -> Property MeshToonMaterial NormalMapType
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"normalMapType"

normalScale :: Property MeshToonMaterial Vector2
normalScale :: Property MeshToonMaterial Vector2
normalScale = MisoString -> Property MeshToonMaterial Vector2
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"normalScale"

wireframe :: Property MeshToonMaterial Bool
wireframe :: Property MeshToonMaterial Bool
wireframe = MisoString -> Property MeshToonMaterial Bool
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"wireframe"

wireframeLinecap :: Property MeshToonMaterial Linecap
wireframeLinecap :: Property MeshToonMaterial Linecap
wireframeLinecap = MisoString -> Property MeshToonMaterial Linecap
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"wireframeLinecap"

wireframeLinejoin :: Property MeshToonMaterial Linejoin
wireframeLinejoin :: Property MeshToonMaterial Linejoin
wireframeLinejoin = MisoString -> Property MeshToonMaterial Linejoin
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"wireframeLinejoin"

wireframeLinewidth :: Property MeshToonMaterial Double
wireframeLinewidth :: Property MeshToonMaterial Double
wireframeLinewidth = MisoString -> Property MeshToonMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"wireframeLinewidth"