Button¶
Class | orca.UIKit | extends TextBlock
Interactive button control for user actions
Overview¶
Properties¶
| Property | Type | Description |
|---|---|---|
Type |
ButtonType |
Button behavior type (normal or submit) |
DiffuseColor |
color |
Base fill color for the button face used by the built-in 3D shader |
CornerRadius |
float |
Corner rounding radius in pixels for the built-in rounded-box shader |
SpecularPower |
float |
Specular highlight intensity (shininess) for the built-in 3D shader |
LightDirection |
vec3 |
Direction of virtual light for built-in 3D shading |
Messages¶
Click¶
Fired when the button is clicked by the user.