Skip to main content

ULCKBaseButton

Base class for all UI button components providing touch interaction, visual state management, and event delegation.

Properties

Events

OnTapStarted
FOnTapStarted
Broadcast when button is tapped.

Methods

Example


ULCKToggle

Toggle button with on/off states and state-dependent icons.

Properties

Methods

Derived Classes

Microphone toggle button with mute/unmute icons.
Camera follow mode toggle for selfie camera.
Landscape/portrait orientation toggle.
Rectangle-shaped toggle button.

Example


ULCKRectButton

Rectangle-shaped button for text labels and actions.

Derived Classes

Camera flip/mirror toggle button.

ULCKRecordButton

Record button with time display and recording state visualization. Implements ILCKRecordable.

Events

OnRecordButtonPressed
FOnRecordButtonPressed
Broadcast when record button is pressed.

Methods

Example


ULCKVideoQualityButton

Video quality selection button cycling through SD, HD, 2K, 4K presets.

ULCKOnScreenButton

Button rendered on the display surface for in-viewport interaction.

Derived Classes

Flip button on display surface.
Photo capture button on display surface.

Touch Interaction

Enabling Interactions

Interaction with the UI is collision-based. The simplest way to enable interactions is to add a SphereCollider with 5-10mm radius to the index fingertip. Finger collider setup Make sure that the collider has the UICollision tag. It’s used to filter collision for UI. UICollision tag

FLCKTapData

Touch event data structure.

Interaction Direction

Configure which direction validates touch input:

Cooldown

Buttons have a built-in 0.25s cooldown to prevent accidental double-taps. This is handled automatically by FLCKConstants::CoolDownTime.
Don’t add additional cooldown logic in your code — the SDK handles this automatically.