SpriteMaterial¶
-
class
pythreejs.
SpriteMaterial
[source]¶ SpriteMaterial
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/materials/SpriteMaterial
Inherits
Material
.Three.js docs: https://threejs.org/docs/#api/materials/SpriteMaterial
-
color
¶ Unicode("#ffffff", 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)
-
rotation
¶ CFloat(0, allow_none=False).tag(sync=True)
-
type
¶ Unicode("SpriteMaterial", allow_none=False).tag(sync=True)
-
color = Unicode('#ffffff')
a unicode string
-
fog = Bool(False)
a boolean
-
lights = Bool(False)
a boolean
-
map = Instance()
a Texture or None
-
rotation = CFloat(0)
a float
-
type = Unicode('SpriteMaterial')
a unicode string
-