Mesh¶
-
class
pythreejs.
Mesh
(geometry=None, material=[])[source]¶ Mesh
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/objects/Mesh
Inherits
Object3D
.Three.js docs: https://threejs.org/docs/#api/objects/Mesh
-
material
¶ Union([Instance(Material), Tuple()]).tag(sync=True, **widget_serialization)
-
geometry
¶ Union([ Instance(BaseGeometry, allow_none=False), Instance(BaseBufferGeometry, allow_none=False) ]).tag(sync=True, **widget_serialization)
-
drawMode
¶ Enum(DrawModes, "TrianglesDrawMode", allow_none=False).tag(sync=True)
-
morphTargetInfluences
¶ List().tag(sync=True)
-
type
¶ Unicode("Mesh", allow_none=False).tag(sync=True)
-
drawMode = Enum('TrianglesDrawMode')
any of [‘TriangleFanDrawMode’, ‘TriangleStripDrawMode’, ‘TrianglesDrawMode’]
-
geometry = Union()
a BaseGeometry or a BaseBufferGeometry
-
material = Union()
a Material or a tuple
-
morphTargetInfluences = List()
a list of any type
-
type = Unicode('Mesh')
a unicode string
-