REDNODE / GAME API

hubSelectorSingleCarouselController

classscriptedClass

extends SelectorController › inkLogicController › inkILogicController › IScriptable › ISerializable

Extended by 1 type

hubSelectorSingleSmallCarouselController

Properties 21

NameTypeFlags
activeAnimationsarray<ref<inkAnimProxy>>scriptedprotected
activeColorDummyinkWidgetRefscriptedprotected
ANIMATION_TIMEFloatscriptedprotected
centerElementIndexInt32scriptedprotected
containerinkWidgetRefscriptedprotected
currentIndexInt32scriptedprotected
DEFAULT_WIDGET_COLORHDRColorscriptedprotected
defaultColorDummyinkWidgetRefscriptedprotected
elementsarray<MenuData>scriptedprotected
leftArrowControllerwref<inkInputDisplayController>scriptedpublic
leftArrowWidgetinkWidgetRefscriptedprotected
NUMBER_OF_WIDGETSInt32scriptedprotected
rightArrowControllerwref<inkInputDisplayController>scriptedpublic
rightArrowWidgetinkWidgetRefscriptedprotected
SELECTED_WIDGET_COLORHDRColorscriptedprotected
SMALL_WIDGET_OPACITYFloatscriptedprotected
SMALL_WIDGET_SCALEFloatscriptedprotected
translationOnceBoolscriptedprotected
waitForSizesBoolscriptedprotected
WIDGETS_PADDINGFloatscriptedprotected
widgetsControllersarray<wref<HubMenuLabelContentContainer>>scriptedprotected

Methods 23

protected final func AddActiveProxy(proxy: ref<inkAnimProxy>)scripted
protected final func AddActiveProxy(proxies: script_ref<array<ref<inkAnimProxy>>>)scripted
protected final func Animate(targetIndex: Int32, direction: inkSelectorChangeDirection)scripted
protected func ColorAnimation(targetWidgets: script_ref<array<wref<inkWidget>>>, startColor: HDRColor, endColor: HDRColor) -> array<ref<inkAnimProxy>>scripted
protected final func GetLoopedValue(value: Int32, limit: Int32) -> Int32scripted
protected final func GetMaskTargetWidth(targetIndex: Int32) -> Floatscripted
protected final func GetTranslations(targetIndex: Int32) -> array<Float>scripted
protected cb func OnArrangeChildrenComplete() -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnMenuLabelClick(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnMenuLabelHover(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnMenuLabelHoverOut(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnTranslationCompleted(anim: ref<inkAnimProxy>) -> Boolscripted
protected cb func OnUpdateValue(value: String, index: Int32, changeDirection: inkSelectorChangeDirection) -> Boolscripted
protected func OpacityAnimation(targetWidget: wref<inkWidget>, startOpacity: Float, endOpacity: Float) -> ref<inkAnimProxy>scripted
protected final func ResetAnimatedStates()scripted
protected func ScaleAnimation(targetWidget: wref<inkWidget>, startScale: Float, endScale: Float) -> ref<inkAnimProxy>scripted
public final func ScrollTo(data: script_ref<MenuData>)scripted
protected final func SetFinishedValues(selectedIndex: Int32)scripted
public final func SetupMenu(data: script_ref<array<MenuData>>, startIdentifier: Int32)scripted
protected func SizeAnimation(targetWidget: wref<inkWidget>, startSize: Vector2, endSize: Vector2) -> ref<inkAnimProxy>scripted
protected func TranslationAnimation(targetWidget: wref<inkWidget>, startTranslation: Float, endTranslation: Float) -> ref<inkAnimProxy>scripted
private final func UpdateArrowsVisibility()scripted