Skip to content
pixi-silk
GitHub repository
Entry point

pixi-silk/ui/group

SelectionGroup: transform several objects as one.

import { SelectionGroup } from 'pixi-silk/ui/group';

Classes#

ClassDescription
SelectionGroupSeveral selected objects as one: a stand-in box around all of them that a TransformGizmo can move, resize and rotate. Every change of the box is applied to each object about the common pivot, whatever their parents.

Interfaces#

InterfaceDescription
SelectionGroupHooksThe three callbacks a TransformGizmo takes, wired to a SelectionGroup.
SelectionGroupOptionsOptions of SelectionGroup.
SelectionGroupStateThe reactive state of a SelectionGroup.