import six
from ipywidgets import Widget, DOMWidget, widget_serialization, Color, register
from traitlets import (
Unicode, Int, CInt, Instance, ForwardDeclaredInstance, This, Enum,
Tuple, List, Dict, Float, CFloat, Bool, Union, Any,
)
from .._base.Three import ThreeWidget
from ..enums import *
from ..traits import *
from .Material import Material
from ..textures.Texture_autogen import Texture
[docs]@register
class MeshDepthMaterial(Material):
"""MeshDepthMaterial
Autogenerated by generate-wrappers.js
See https://threejs.org/docs/#api/materials/MeshDepthMaterial
"""
_model_name = Unicode('MeshDepthMaterialModel').tag(sync=True)
alphaMap = Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
displacementMap = Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
displacementScale = CFloat(1, allow_none=False).tag(sync=True)
displacementBias = CFloat(0, allow_none=False).tag(sync=True)
fog = Bool(False, allow_none=False).tag(sync=True)
lights = Bool(False, allow_none=False).tag(sync=True)
map = Instance(Texture, allow_none=True).tag(sync=True, **widget_serialization)
morphTargets = Bool(False, allow_none=False).tag(sync=True)
skinning = Bool(False, allow_none=False).tag(sync=True)
wireframe = Bool(False, allow_none=False).tag(sync=True)
wireframeLinewidth = CFloat(1, allow_none=False).tag(sync=True)
type = Unicode("MeshDepthMaterial", allow_none=False).tag(sync=True)
if six.PY3:
import inspect
# Include explicit signature since the metaclass screws it up
MeshDepthMaterial.__signature__ = inspect.signature(MeshDepthMaterial.__init__)