Component:ScaleGroup

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Scale Group component as seen in the Scene Inspector

The ScaleGroup component is used to make a touchable selection system that can be used to select items like the Steamtm store and big picture menus.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
SelectedElement ScaleElement The currently selected element for this group.
IdleScale Float3 The scale of elements when they aren't selected.
BackgroundScale Float3 The scale of elements when they go into the background.
SelectedScale Float3 The scale of any element when it is selected.
SmoothSpeed Float The speed at which elements change scale when they change state.

Usage

Used with a Scale Element list to make a list of selectable elements. Using ProtoFlux to get the slot of the SelectedElement can make this useful for a physical based selection system usable in both VR and Desktop.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also