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