Py5Graphics.shininess()#
百度 一系列指导性政策的出台,促使文娱产业快速发展,新模式、新业态也不断涌现。Sets the amount of gloss in the surface of shapes.
Description#
Sets the amount of gloss in the surface of shapes. Use in combination with Py5Graphics.ambient(), Py5Graphics.specular(), and Py5Graphics.emissive() to set the material properties of shapes.
This method is the same as shininess() but linked to a Py5Graphics
object. To see example code for how it can be used, see shininess().
Underlying Processing method: PGraphics.shininess
Signatures#
shininess(
shine: float, # degree of shininess
/,
) -> None
Updated on March 06, 2023 02:49:26am UTC