CollisionWidget is a fun widget that interacts with user input.
Each touch point creates circles that are connected by springs to other circles spawned with the same hand. The circles collide with each other and they can be combined into clusters by touching two or more circles at the same time.
This is an extension Cornerstone.Collisions, use MultiWidgets::createPlugin to make a new instance of it:
Valuable Attributes | |
| float | ball-damping = 0.300000012F |
| More... | |
| float | bang-age = 0.25F |
| More... | |
| float | bang-limit = 200.F |
| More... | |
Valuable Attributes inherited from MultiWidgets::ImageWidget | |
| Radiant::Color | color = Radiant::Color(1.F, 1.F, 1.F, 1.F) |
| The color is used to multiply the colors of the image. More... | |
| bool | compressed-mipmaps = false |
| If enabled, CPUMipmaps uses DXT compressed mipmap images, that are significantly faster to load and take much less memory on both CPU and GPU. More... | |
| ImageWidget::FilterMode | filter-mode = ImageWidget::TRILINEAR |
| Specifies the filter mode when filtering image mipmaps. More... | |
| int | minimum-solid-alpha = 30 |
| Specifies an alpha threshold value that is used for determining input on transparent pixels. More... | |
| QString | source = "" |
| The source filename for the image. Changing this will reload the image. More... | |
Additional Inherited Members | |
Node Events inherited from MultiWidgets::ImageWidget | |
| [IN] | image (QString filename) |
| Loads an image named filename. | |
| [IN] | resize-to-fit (Nimble::Vector2f v) |
Resizes the widget to fit the given size.
| |