Shader The ::angle-changed signal is emitted when the spherical angle
changes.
('gwyshader', ' The #GwyShader which received the signal. ')
Method Summary |
|
__init__ (gradient)
Creates a new spherical shader. |
|
get_gradient ()
Returns: The gradient name. |
|
get_phi ()
Returns: The phi coordinate, in radians. |
|
get_theta ()
Returns: The theta coordinate, in radians. |
|
get_update_policy ()
Returns: The update policy. |
|
set_angle (theta,
phi)
Sets the spherical angle of a shader. |
|
set_gradient (gradient)
Sets the gradient a shader uses. |
|
set_phi (phi)
Sets the phi coordinate of a shader. |
|
set_theta (theta)
Sets the theta coordinate of a shader. |
|
set_update_policy (update_policy)
Sets the update policy of a shader. |