hubSelectorSingleCarouselController
classscriptedClass
extends SelectorController › inkLogicController › inkILogicController › IScriptable › ISerializable
Extended by 1 type
Properties 21
| Name | Type | Flags |
|---|---|---|
activeAnimations | array<ref<inkAnimProxy>> | scriptedprotected |
activeColorDummy | inkWidgetRef | scriptedprotected |
ANIMATION_TIME | Float | scriptedprotected |
centerElementIndex | Int32 | scriptedprotected |
container | inkWidgetRef | scriptedprotected |
currentIndex | Int32 | scriptedprotected |
DEFAULT_WIDGET_COLOR | HDRColor | scriptedprotected |
defaultColorDummy | inkWidgetRef | scriptedprotected |
elements | array<MenuData> | scriptedprotected |
leftArrowController | wref<inkInputDisplayController> | scriptedpublic |
leftArrowWidget | inkWidgetRef | scriptedprotected |
NUMBER_OF_WIDGETS | Int32 | scriptedprotected |
rightArrowController | wref<inkInputDisplayController> | scriptedpublic |
rightArrowWidget | inkWidgetRef | scriptedprotected |
SELECTED_WIDGET_COLOR | HDRColor | scriptedprotected |
SMALL_WIDGET_OPACITY | Float | scriptedprotected |
SMALL_WIDGET_SCALE | Float | scriptedprotected |
translationOnce | Bool | scriptedprotected |
waitForSizes | Bool | scriptedprotected |
WIDGETS_PADDING | Float | scriptedprotected |
widgetsControllers | array<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