MeshPhongMaterial

class pythreejs.MeshPhongMaterial[source]

MeshPhongMaterial

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/materials/MeshPhongMaterial

Inherits Material.

Three.js docs: https://threejs.org/docs/#api/materials/MeshPhongMaterial

alphaMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
aoMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
aoMapIntensity
IEEEFloat(1, allow_none=False).tag(sync=True)
bumpMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
bumpScale
IEEEFloat(1, allow_none=False).tag(sync=True)
color
Color("#ffffff", allow_none=False).tag(sync=True)
combine
Enum(Operations, "MultiplyOperation", allow_none=False).tag(sync=True)
displacementMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
displacementScale
IEEEFloat(1, allow_none=False).tag(sync=True)
displacementBias
IEEEFloat(0, allow_none=False).tag(sync=True)
emissive
Color("#000000", allow_none=False).tag(sync=True)
emissiveMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
emissiveIntensity
IEEEFloat(1, allow_none=False).tag(sync=True)
envMap
Instance(CubeTexture, allow_none=True).tag(sync=True, **widget_serialization)
lightMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
lightMapIntensity
IEEEFloat(1, allow_none=False).tag(sync=True)
map
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
morphNormals
Bool(False, allow_none=False).tag(sync=True)
morphTargets
Bool(False, allow_none=False).tag(sync=True)
normalMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
normalScale
Vector2(default_value=[1, 1]).tag(sync=True)
reflectivity
IEEEFloat(1, allow_none=False).tag(sync=True)
refractionRatio
IEEEFloat(0.98, allow_none=False).tag(sync=True)
shininess
IEEEFloat(30, allow_none=False).tag(sync=True)
skinning
Bool(False, allow_none=False).tag(sync=True)
specular
Color("#111111", allow_none=False).tag(sync=True)
specularMap
Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
wireframe
Bool(False, allow_none=False).tag(sync=True)
wireframeLinewidth
IEEEFloat(1, allow_none=False).tag(sync=True)
wireframeLinecap
Unicode("round", allow_none=False).tag(sync=True)
wireframeLinejoin
Unicode("round", allow_none=False).tag(sync=True)
type
Unicode("MeshPhongMaterial", allow_none=False).tag(sync=True)
alphaMap = Instance()

a Texture or None

aoMap = Instance()

a Texture or None

aoMapIntensity = IEEEFloat(1)

a float

bumpMap = Instance()

a Texture or None

bumpScale = IEEEFloat(1)

a float

color = Color('#ffffff')

a valid HTML color

combine = Enum('MultiplyOperation')

any of [‘AddOperation’, ‘MixOperation’, ‘MultiplyOperation’]

displacementBias = IEEEFloat(0)

a float

displacementMap = Instance()

a Texture or None

displacementScale = IEEEFloat(1)

a float

emissive = Color('#000000')

a valid HTML color

emissiveIntensity = IEEEFloat(1)

a float

emissiveMap = Instance()

a Texture or None

envMap = Instance()

a CubeTexture or None

lightMap = Instance()

a Texture or None

lightMapIntensity = IEEEFloat(1)

a float

map = Instance()

a Texture or None

morphNormals = Bool(False)

a boolean

morphTargets = Bool(False)

a boolean

normalMap = Instance()

a Texture or None

normalScale = Vector2([1, 1])

a tuple of any type

reflectivity = IEEEFloat(1)

a float

refractionRatio = IEEEFloat(0.98)

a float

shininess = IEEEFloat(30)

a float

skinning = Bool(False)

a boolean

specular = Color('#111111')

a valid HTML color

specularMap = Instance()

a Texture or None

type = Unicode('MeshPhongMaterial')

a unicode string

wireframe = Bool(False)

a boolean

wireframeLinecap = Unicode('round')

a unicode string

wireframeLinejoin = Unicode('round')

a unicode string

wireframeLinewidth = IEEEFloat(1)

a float