{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
module THREE.MeshPhysicalMaterial
(
MeshPhysicalMaterial (..)
, THREE.MeshPhysicalMaterial.new
, THREE.MeshPhysicalMaterial.anisotropy
, anisotropyMap
, anisotropyRotation
, attenuationColor
, attenuationDistance
, clearcoat
, clearcoatMap
, clearcoatNormalMap
, clearcoatNormalScale
, clearcoatRoughness
, clearcoatRoughnessMap
, dispersion
, ior
, reflectivity
, iridescence
, iridescenceMap
, iridescenceIOR
, iridescenceThicknessRange
, iridescenceThicknessMap
, sheen
, sheenRoughness
, sheenRoughnessMap
, sheenColor
, sheenColorMap
, specularIntensity
, specularIntensityMap
, specularColor
, specularColorMap
, thickness
, thicknessMap
, transmission
, transmissionMap
) where
import Miso
import THREE.Color
import THREE.EventDispatcher
import THREE.Internal as THREE
import THREE.Material
import THREE.MeshStandardMaterial
import THREE.Texture
import THREE.Vector2
newtype MeshPhysicalMaterial
= MeshPhysicalMaterial
{ MeshPhysicalMaterial -> JSVal
unMeshPhysicalMaterial :: JSVal
} deriving newtype (MeshPhysicalMaterial -> IO [JSVal]
(MeshPhysicalMaterial -> IO [JSVal]) -> ToArgs MeshPhysicalMaterial
forall args. (args -> IO [JSVal]) -> ToArgs args
$ctoArgs :: MeshPhysicalMaterial -> IO [JSVal]
toArgs :: MeshPhysicalMaterial -> IO [JSVal]
ToArgs, MeshPhysicalMaterial -> IO Object
(MeshPhysicalMaterial -> IO Object)
-> ToObject MeshPhysicalMaterial
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: MeshPhysicalMaterial -> IO Object
toObject :: MeshPhysicalMaterial -> IO Object
ToObject, MeshPhysicalMaterial -> IO JSVal
(MeshPhysicalMaterial -> IO JSVal) -> ToJSVal MeshPhysicalMaterial
forall a. (a -> IO JSVal) -> ToJSVal a
$ctoJSVal :: MeshPhysicalMaterial -> IO JSVal
toJSVal :: MeshPhysicalMaterial -> IO JSVal
ToJSVal)
deriving anyclass (ToObject MeshPhysicalMaterial
ToJSVal MeshPhysicalMaterial
Property MeshPhysicalMaterial Bool
Property MeshPhysicalMaterial Double
Property MeshPhysicalMaterial Int
Property MeshPhysicalMaterial (Maybe [Plane])
Property MeshPhysicalMaterial (Maybe MisoString)
Property MeshPhysicalMaterial (Maybe Object)
Property MeshPhysicalMaterial (Maybe BlendingEquations)
Property MeshPhysicalMaterial (Maybe DestinationFactors)
Property MeshPhysicalMaterial (Maybe SourceFactors)
Property MeshPhysicalMaterial (Maybe BlendingMode)
Property MeshPhysicalMaterial MisoString
Property MeshPhysicalMaterial Object
Property MeshPhysicalMaterial BlendingEquations
Property MeshPhysicalMaterial SourceFactors
Property MeshPhysicalMaterial DepthMode
Property MeshPhysicalMaterial Side
Property MeshPhysicalMaterial StencilFunctions
Property MeshPhysicalMaterial StencilOperations
Property MeshPhysicalMaterial Color
ReadOnly MeshPhysicalMaterial Bool
ReadOnly MeshPhysicalMaterial MisoString
EventDispatcher MeshPhysicalMaterial
Method MeshPhysicalMaterial () ()
Method MeshPhysicalMaterial () MisoString
Method MeshPhysicalMaterial Object ()
Method MeshPhysicalMaterial Object Object
FromJSVal MeshPhysicalMaterial =>
Method MeshPhysicalMaterial () MeshPhysicalMaterial
(FromJSVal MeshPhysicalMaterial, ToArgs MeshPhysicalMaterial) =>
Method
MeshPhysicalMaterial MeshPhysicalMaterial MeshPhysicalMaterial
(EventDispatcher MeshPhysicalMaterial,
ToJSVal MeshPhysicalMaterial, ToObject MeshPhysicalMaterial) =>
ReadOnly MeshPhysicalMaterial MisoString
-> ReadOnly MeshPhysicalMaterial MisoString
-> ReadOnly MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Color
-> Property MeshPhysicalMaterial (Maybe DestinationFactors)
-> Property MeshPhysicalMaterial (Maybe DestinationFactors)
-> Property MeshPhysicalMaterial BlendingEquations
-> Property MeshPhysicalMaterial (Maybe BlendingEquations)
-> Property MeshPhysicalMaterial (Maybe BlendingMode)
-> Property MeshPhysicalMaterial SourceFactors
-> Property MeshPhysicalMaterial (Maybe SourceFactors)
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial (Maybe [Plane])
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial (Maybe Object)
-> Property MeshPhysicalMaterial DepthMode
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial StencilFunctions
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial StencilOperations
-> Property MeshPhysicalMaterial StencilOperations
-> Property MeshPhysicalMaterial StencilOperations
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial MisoString
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial (Maybe MisoString)
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Side
-> Property MeshPhysicalMaterial Side
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Int
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Object
-> (FromJSVal MeshPhysicalMaterial =>
Method MeshPhysicalMaterial () MeshPhysicalMaterial)
-> ((FromJSVal MeshPhysicalMaterial,
ToArgs MeshPhysicalMaterial) =>
Method
MeshPhysicalMaterial MeshPhysicalMaterial MeshPhysicalMaterial)
-> Method MeshPhysicalMaterial () ()
-> Method MeshPhysicalMaterial () MisoString
-> Method MeshPhysicalMaterial Object ()
-> Method MeshPhysicalMaterial Object Object
-> Material MeshPhysicalMaterial
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 MeshPhysicalMaterial MisoString
type_ :: ReadOnly MeshPhysicalMaterial MisoString
$cuuid :: ReadOnly MeshPhysicalMaterial MisoString
uuid :: ReadOnly MeshPhysicalMaterial MisoString
$cisMaterial :: ReadOnly MeshPhysicalMaterial Bool
isMaterial :: ReadOnly MeshPhysicalMaterial Bool
$calphaHash :: Property MeshPhysicalMaterial Bool
alphaHash :: Property MeshPhysicalMaterial Bool
$calphaTest :: Property MeshPhysicalMaterial Double
alphaTest :: Property MeshPhysicalMaterial Double
$calphaToCoverage :: Property MeshPhysicalMaterial Bool
alphaToCoverage :: Property MeshPhysicalMaterial Bool
$cblendAlpha :: Property MeshPhysicalMaterial Double
blendAlpha :: Property MeshPhysicalMaterial Double
$cblendColor :: Property MeshPhysicalMaterial Color
blendColor :: Property MeshPhysicalMaterial Color
$cblendDst :: Property MeshPhysicalMaterial (Maybe DestinationFactors)
blendDst :: Property MeshPhysicalMaterial (Maybe DestinationFactors)
$cblendDstAlpha :: Property MeshPhysicalMaterial (Maybe DestinationFactors)
blendDstAlpha :: Property MeshPhysicalMaterial (Maybe DestinationFactors)
$cblendEquation :: Property MeshPhysicalMaterial BlendingEquations
blendEquation :: Property MeshPhysicalMaterial BlendingEquations
$cblendEquationAlpha :: Property MeshPhysicalMaterial (Maybe BlendingEquations)
blendEquationAlpha :: Property MeshPhysicalMaterial (Maybe BlendingEquations)
$cblending :: Property MeshPhysicalMaterial (Maybe BlendingMode)
blending :: Property MeshPhysicalMaterial (Maybe BlendingMode)
$cblendSrc :: Property MeshPhysicalMaterial SourceFactors
blendSrc :: Property MeshPhysicalMaterial SourceFactors
$cblendSrcAlpha :: Property MeshPhysicalMaterial (Maybe SourceFactors)
blendSrcAlpha :: Property MeshPhysicalMaterial (Maybe SourceFactors)
$cclipIntersection :: Property MeshPhysicalMaterial Bool
clipIntersection :: Property MeshPhysicalMaterial Bool
$cclippingPlanes :: Property MeshPhysicalMaterial (Maybe [Plane])
clippingPlanes :: Property MeshPhysicalMaterial (Maybe [Plane])
$cclipShadows :: Property MeshPhysicalMaterial Bool
clipShadows :: Property MeshPhysicalMaterial Bool
$ccolorWrite :: Property MeshPhysicalMaterial Bool
colorWrite :: Property MeshPhysicalMaterial Bool
$cdefines :: Property MeshPhysicalMaterial (Maybe Object)
defines :: Property MeshPhysicalMaterial (Maybe Object)
$cdepthFunc :: Property MeshPhysicalMaterial DepthMode
depthFunc :: Property MeshPhysicalMaterial DepthMode
$cdepthTest :: Property MeshPhysicalMaterial Bool
depthTest :: Property MeshPhysicalMaterial Bool
$cdepthWrite :: Property MeshPhysicalMaterial Bool
depthWrite :: Property MeshPhysicalMaterial Bool
$cforceSinglePass :: Property MeshPhysicalMaterial Bool
forceSinglePass :: Property MeshPhysicalMaterial Bool
$cstencilWrite :: Property MeshPhysicalMaterial Bool
stencilWrite :: Property MeshPhysicalMaterial Bool
$cstencilWriteMask :: Property MeshPhysicalMaterial Int
stencilWriteMask :: Property MeshPhysicalMaterial Int
$cstencilFunc :: Property MeshPhysicalMaterial StencilFunctions
stencilFunc :: Property MeshPhysicalMaterial StencilFunctions
$cstencilRef :: Property MeshPhysicalMaterial Int
stencilRef :: Property MeshPhysicalMaterial Int
$cstencilFuncMask :: Property MeshPhysicalMaterial Int
stencilFuncMask :: Property MeshPhysicalMaterial Int
$cstencilFail :: Property MeshPhysicalMaterial StencilOperations
stencilFail :: Property MeshPhysicalMaterial StencilOperations
$cstencilZFail :: Property MeshPhysicalMaterial StencilOperations
stencilZFail :: Property MeshPhysicalMaterial StencilOperations
$cstencilZPass :: Property MeshPhysicalMaterial StencilOperations
stencilZPass :: Property MeshPhysicalMaterial StencilOperations
$cid :: Property MeshPhysicalMaterial Int
id :: Property MeshPhysicalMaterial Int
$cname :: Property MeshPhysicalMaterial MisoString
name :: Property MeshPhysicalMaterial MisoString
$cneedsUpdate :: Property MeshPhysicalMaterial Bool
needsUpdate :: Property MeshPhysicalMaterial Bool
$copacity :: Property MeshPhysicalMaterial Double
opacity :: Property MeshPhysicalMaterial Double
$cpolygonOffset :: Property MeshPhysicalMaterial Bool
polygonOffset :: Property MeshPhysicalMaterial Bool
$cpolygonOffsetFactor :: Property MeshPhysicalMaterial Int
polygonOffsetFactor :: Property MeshPhysicalMaterial Int
$cpolygonOffsetUnits :: Property MeshPhysicalMaterial Int
polygonOffsetUnits :: Property MeshPhysicalMaterial Int
$cprecision :: Property MeshPhysicalMaterial (Maybe MisoString)
precision :: Property MeshPhysicalMaterial (Maybe MisoString)
$cpremultipliedAlpha :: Property MeshPhysicalMaterial Bool
premultipliedAlpha :: Property MeshPhysicalMaterial Bool
$cdithering :: Property MeshPhysicalMaterial Bool
dithering :: Property MeshPhysicalMaterial Bool
$cshadowSide :: Property MeshPhysicalMaterial Side
shadowSide :: Property MeshPhysicalMaterial Side
$cside :: Property MeshPhysicalMaterial Side
side :: Property MeshPhysicalMaterial Side
$ctoneMapped :: Property MeshPhysicalMaterial Bool
toneMapped :: Property MeshPhysicalMaterial Bool
$ctransparent :: Property MeshPhysicalMaterial Bool
transparent :: Property MeshPhysicalMaterial Bool
$cversion :: Property MeshPhysicalMaterial Int
version :: Property MeshPhysicalMaterial Int
$cvertexColors :: Property MeshPhysicalMaterial Bool
vertexColors :: Property MeshPhysicalMaterial Bool
$cvisible :: Property MeshPhysicalMaterial Bool
visible :: Property MeshPhysicalMaterial Bool
$cuserData :: Property MeshPhysicalMaterial Object
userData :: Property MeshPhysicalMaterial Object
$cclone :: FromJSVal MeshPhysicalMaterial =>
Method MeshPhysicalMaterial () MeshPhysicalMaterial
clone :: FromJSVal MeshPhysicalMaterial =>
Method MeshPhysicalMaterial () MeshPhysicalMaterial
$ccopy :: (FromJSVal MeshPhysicalMaterial, ToArgs MeshPhysicalMaterial) =>
Method
MeshPhysicalMaterial MeshPhysicalMaterial MeshPhysicalMaterial
copy :: (FromJSVal MeshPhysicalMaterial, ToArgs MeshPhysicalMaterial) =>
Method
MeshPhysicalMaterial MeshPhysicalMaterial MeshPhysicalMaterial
$cdispose :: Method MeshPhysicalMaterial () ()
dispose :: Method MeshPhysicalMaterial () ()
$ccustomProgramCacheKey :: Method MeshPhysicalMaterial () MisoString
customProgramCacheKey :: Method MeshPhysicalMaterial () MisoString
$csetValues :: Method MeshPhysicalMaterial Object ()
setValues :: Method MeshPhysicalMaterial Object ()
$ctoJSON :: Method MeshPhysicalMaterial Object Object
toJSON :: Method MeshPhysicalMaterial Object Object
Material, ToObject MeshPhysicalMaterial
ToJSVal MeshPhysicalMaterial
Method MeshPhysicalMaterial (MisoString, Function) ()
Method MeshPhysicalMaterial Object ()
(ToObject MeshPhysicalMaterial, ToJSVal MeshPhysicalMaterial) =>
Method MeshPhysicalMaterial (MisoString, Function) ()
-> Method MeshPhysicalMaterial (MisoString, Function) ()
-> Method MeshPhysicalMaterial (MisoString, Function) ()
-> Method MeshPhysicalMaterial Object ()
-> EventDispatcher MeshPhysicalMaterial
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 MeshPhysicalMaterial (MisoString, Function) ()
addEventListener :: Method MeshPhysicalMaterial (MisoString, Function) ()
$chasEventListener :: Method MeshPhysicalMaterial (MisoString, Function) ()
hasEventListener :: Method MeshPhysicalMaterial (MisoString, Function) ()
$cremoveEventListener :: Method MeshPhysicalMaterial (MisoString, Function) ()
removeEventListener :: Method MeshPhysicalMaterial (MisoString, Function) ()
$cdispatchEvent :: Method MeshPhysicalMaterial Object ()
dispatchEvent :: Method MeshPhysicalMaterial Object ()
EventDispatcher, Property MeshPhysicalMaterial Bool
Property MeshPhysicalMaterial Double
Property MeshPhysicalMaterial Int
Property MeshPhysicalMaterial Object
Property MeshPhysicalMaterial Linecap
Property MeshPhysicalMaterial Linejoin
Property MeshPhysicalMaterial NormalMapType
Property MeshPhysicalMaterial Euler
Property MeshPhysicalMaterial Color
Property MeshPhysicalMaterial Vector2
Material MeshPhysicalMaterial
Material MeshPhysicalMaterial =>
(forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Int
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Color
-> Property MeshPhysicalMaterial Object
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Color
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Euler
-> Property MeshPhysicalMaterial Double
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Bool
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial NormalMapType
-> Property MeshPhysicalMaterial Vector2
-> Property MeshPhysicalMaterial Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture))
-> Property MeshPhysicalMaterial Bool
-> Property MeshPhysicalMaterial Linecap
-> Property MeshPhysicalMaterial Linejoin
-> Property MeshPhysicalMaterial Double
-> MeshStandardMaterialClass MeshPhysicalMaterial
forall material.
Material material =>
(forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Int
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Double
-> Property material Color
-> Property material Object
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Double
-> Property material Double
-> Property material Color
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Euler
-> Property material Double
-> Property material Bool
-> Property material Bool
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material NormalMapType
-> Property material Vector2
-> Property material Double
-> (forall texture.
(TextureClass texture, FromJSVal texture) =>
Property material (Maybe texture))
-> Property material Bool
-> Property material Linecap
-> Property material Linejoin
-> Property material Double
-> MeshStandardMaterialClass material
forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$calphaMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
alphaMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$caoMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
aoMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$caoMapIntensity :: Property MeshPhysicalMaterial Int
aoMapIntensity :: Property MeshPhysicalMaterial Int
$cbumpMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
bumpMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cbumpScale :: Property MeshPhysicalMaterial Double
bumpScale :: Property MeshPhysicalMaterial Double
$ccolor :: Property MeshPhysicalMaterial Color
color :: Property MeshPhysicalMaterial Color
$cdefines :: Property MeshPhysicalMaterial Object
defines :: Property MeshPhysicalMaterial Object
$cdisplacementMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
displacementMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cdisplacementScale :: Property MeshPhysicalMaterial Double
displacementScale :: Property MeshPhysicalMaterial Double
$cdisplacementBias :: Property MeshPhysicalMaterial Double
displacementBias :: Property MeshPhysicalMaterial Double
$cemissive :: Property MeshPhysicalMaterial Color
emissive :: Property MeshPhysicalMaterial Color
$cemissiveMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
emissiveMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cemissiveIntensity :: Property MeshPhysicalMaterial Double
emissiveIntensity :: Property MeshPhysicalMaterial Double
$cenvMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
envMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cenvMapRotation :: Property MeshPhysicalMaterial Euler
envMapRotation :: Property MeshPhysicalMaterial Euler
$cenvMapIntensity :: Property MeshPhysicalMaterial Double
envMapIntensity :: Property MeshPhysicalMaterial Double
$cflatShading :: Property MeshPhysicalMaterial Bool
flatShading :: Property MeshPhysicalMaterial Bool
$cfog :: Property MeshPhysicalMaterial Bool
fog :: Property MeshPhysicalMaterial Bool
$clightMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
lightMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$clightMapIntensity :: Property MeshPhysicalMaterial Double
lightMapIntensity :: Property MeshPhysicalMaterial Double
$cmap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
map :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cmetalness :: Property MeshPhysicalMaterial Double
metalness :: Property MeshPhysicalMaterial Double
$cmetalnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
metalnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cnormalMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
normalMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cnormalMapType :: Property MeshPhysicalMaterial NormalMapType
normalMapType :: Property MeshPhysicalMaterial NormalMapType
$cnormalScale :: Property MeshPhysicalMaterial Vector2
normalScale :: Property MeshPhysicalMaterial Vector2
$croughness :: Property MeshPhysicalMaterial Double
roughness :: Property MeshPhysicalMaterial Double
$croughnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
roughnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
$cwireframe :: Property MeshPhysicalMaterial Bool
wireframe :: Property MeshPhysicalMaterial Bool
$cwireframeLinecap :: Property MeshPhysicalMaterial Linecap
wireframeLinecap :: Property MeshPhysicalMaterial Linecap
$cwireframeLinejoin :: Property MeshPhysicalMaterial Linejoin
wireframeLinejoin :: Property MeshPhysicalMaterial Linejoin
$cwireframeLinewidth :: Property MeshPhysicalMaterial Double
wireframeLinewidth :: Property MeshPhysicalMaterial Double
MeshStandardMaterialClass)
instance FromJSVal MeshPhysicalMaterial where
fromJSVal :: JSVal -> IO (Maybe MeshPhysicalMaterial)
fromJSVal = Maybe MeshPhysicalMaterial -> IO (Maybe MeshPhysicalMaterial)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure (Maybe MeshPhysicalMaterial -> IO (Maybe MeshPhysicalMaterial))
-> (JSVal -> Maybe MeshPhysicalMaterial)
-> JSVal
-> IO (Maybe MeshPhysicalMaterial)
forall b c a. (b -> c) -> (a -> b) -> a -> c
. MeshPhysicalMaterial -> Maybe MeshPhysicalMaterial
forall a. a -> Maybe a
Just (MeshPhysicalMaterial -> Maybe MeshPhysicalMaterial)
-> (JSVal -> MeshPhysicalMaterial)
-> JSVal
-> Maybe MeshPhysicalMaterial
forall b c a. (b -> c) -> (a -> b) -> a -> c
. JSVal -> MeshPhysicalMaterial
MeshPhysicalMaterial
new :: THREE.Three MeshPhysicalMaterial
new :: IO MeshPhysicalMaterial
new = (JSVal -> MeshPhysicalMaterial)
-> MisoString -> () -> IO MeshPhysicalMaterial
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> MeshPhysicalMaterial
MeshPhysicalMaterial MisoString
"MeshPhysicalMaterial" ()
anisotropy :: Property MeshPhysicalMaterial Double
anisotropy :: Property MeshPhysicalMaterial Double
anisotropy = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"anisotropy"
anisotropyMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
anisotropyMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
anisotropyMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"anisotropyMap"
anisotropyRotation :: Property MeshPhysicalMaterial Double
anisotropyRotation :: Property MeshPhysicalMaterial Double
anisotropyRotation = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"anisotropyRotation"
attenuationColor :: Property MeshPhysicalMaterial Color
attenuationColor :: Property MeshPhysicalMaterial Color
attenuationColor = MisoString -> Property MeshPhysicalMaterial Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"attenuationColor"
attenuationDistance :: Property MeshPhysicalMaterial Double
attenuationDistance :: Property MeshPhysicalMaterial Double
attenuationDistance = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"attenuationDistance"
clearcoat :: Property MeshPhysicalMaterial Double
clearcoat :: Property MeshPhysicalMaterial Double
clearcoat = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"clearcoat"
clearcoatMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
clearcoatMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
clearcoatMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"clearcoatMap"
clearcoatNormalMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
clearcoatNormalMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
clearcoatNormalMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"clearcoatNormalMap"
clearcoatNormalScale :: Property MeshPhysicalMaterial Vector2
clearcoatNormalScale :: Property MeshPhysicalMaterial Vector2
clearcoatNormalScale = MisoString -> Property MeshPhysicalMaterial Vector2
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"clearcoatNormalScale"
clearcoatRoughness :: Property MeshPhysicalMaterial Double
clearcoatRoughness :: Property MeshPhysicalMaterial Double
clearcoatRoughness = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"clearcoatRoughness"
clearcoatRoughnessMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
clearcoatRoughnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
clearcoatRoughnessMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"clearcoatRoughnessMap"
dispersion :: Property MeshPhysicalMaterial Double
dispersion :: Property MeshPhysicalMaterial Double
dispersion = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"dispersion"
ior :: Property MeshPhysicalMaterial Double
ior :: Property MeshPhysicalMaterial Double
ior = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"ior"
reflectivity :: Property MeshPhysicalMaterial Double
reflectivity :: Property MeshPhysicalMaterial Double
reflectivity = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"reflectivity"
iridescence :: Property MeshPhysicalMaterial Double
iridescence :: Property MeshPhysicalMaterial Double
iridescence = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"iridescence"
iridescenceMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
iridescenceMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
iridescenceMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"iridescenceMap"
iridescenceIOR :: Property MeshPhysicalMaterial Double
iridescenceIOR :: Property MeshPhysicalMaterial Double
iridescenceIOR = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"iridescenceIOR"
iridescenceThicknessRange :: Property MeshPhysicalMaterial [Double]
iridescenceThicknessRange :: Property MeshPhysicalMaterial [Double]
iridescenceThicknessRange = MisoString -> Property MeshPhysicalMaterial [Double]
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"iridescenceThicknessRange"
iridescenceThicknessMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
iridescenceThicknessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
iridescenceThicknessMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"iridescenceThicknessMap"
sheen :: Property MeshPhysicalMaterial Double
sheen :: Property MeshPhysicalMaterial Double
sheen = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"sheen"
sheenRoughness :: Property MeshPhysicalMaterial Double
sheenRoughness :: Property MeshPhysicalMaterial Double
sheenRoughness = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"sheenRoughness"
sheenRoughnessMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
sheenRoughnessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
sheenRoughnessMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"sheenRoughnessMap"
sheenColor :: Property MeshPhysicalMaterial Color
sheenColor :: Property MeshPhysicalMaterial Color
sheenColor = MisoString -> Property MeshPhysicalMaterial Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"sheenColor"
sheenColorMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
sheenColorMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
sheenColorMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"sheenColorMap"
specularIntensity :: Property MeshPhysicalMaterial Double
specularIntensity :: Property MeshPhysicalMaterial Double
specularIntensity = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"specularIntensity"
specularIntensityMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
specularIntensityMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
specularIntensityMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"specularIntensityMap"
specularColor :: Property MeshPhysicalMaterial Color
specularColor :: Property MeshPhysicalMaterial Color
specularColor = MisoString -> Property MeshPhysicalMaterial Color
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"specularColor"
specularColorMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
specularColorMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
specularColorMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"specularColorMap"
thickness :: Property MeshPhysicalMaterial Double
thickness :: Property MeshPhysicalMaterial Double
thickness = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"thickness"
thicknessMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
thicknessMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
thicknessMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"thicknessMap"
transmission :: Property MeshPhysicalMaterial Double
transmission :: Property MeshPhysicalMaterial Double
transmission = MisoString -> Property MeshPhysicalMaterial Double
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object field
property MisoString
"transmission"
transmissionMap :: (TextureClass texture, FromJSVal texture) => Property MeshPhysicalMaterial (Maybe texture)
transmissionMap :: forall texture.
(TextureClass texture, FromJSVal texture) =>
Property MeshPhysicalMaterial (Maybe texture)
transmissionMap = MisoString -> Property MeshPhysicalMaterial (Maybe texture)
forall object field.
(ToObject object, ToJSVal field, FromJSVal field) =>
MisoString -> Property object (Maybe field)
optional MisoString
"transmissionMap"