ProxyIconView
Proxy icon: A grabbable 3d object that creates a copy that can be placed in the world.
Useful as a way to instantiate objects in the world from a palette. Subclass it and override onIconDropped().
Constructor
icon = ProxyIconView(bounds)
Arguments
Name | Type | Description |
---|---|---|
bounds | Bounds | The icon’s bounds. |
name | String | The asset’s name |
author | String | The asset’s author |
icon | FileAsset | asset to be used as the icon for this proxy view |
Returns
Nothing
Methods
proxyiconview:onIconDropped (at_transform)
Override this to handle the icon being dropped. You can also set it as a property on the instantiated icon view.
Arguments
Name | Type | Description |
---|---|---|
at_transform | ??? |
Returns
Nothing