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
¶ Color("#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)
-
sizeAttenuation
¶ Bool(True, allow_none=False).tag(sync=True)
-
type
¶ Unicode("SpriteMaterial", allow_none=False).tag(sync=True)
-
color = Color('#ffffff')
a valid HTML color
-
fog = Bool(False)
a boolean
-
lights = Bool(False)
a boolean
-
map = Instance()
a Texture or None
-
rotation = CFloat(0)
a float
-
sizeAttenuation = Bool(True)
a boolean
-
type = Unicode('SpriteMaterial')
a unicode string
-