Link Search Menu Expand Document

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 for label under icon
asset FileAsset to be used as the icon for thix 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