Documentation Home
Breadcrumbs

SkyrealVR lifecycle & events

When you extend Skyreal VR with Blueprints, you need to trigger actions based on events such as controller inputs, user actions, or user position. These events let you display messages, start animations, change materials, and more.

Standard Events

Event

Description

BeginPlay

Triggered once at the very beginning of the experience

Tick

Triggered every frame. The interval between two ticks is the Delta Seconds variable



[IMAGE: BeginPlay event node — original at /pictures/all_v1.11_skyreal_experience-customization_event-beginplay.png]

[IMAGE: Tick event node — original at /pictures/all_v1.11_skyreal_experience-customization_event-tick.png]

Controller Input Events

These events exist for both hands (left and right):

Event

Description

Pie Menu Button

Pie menu button pressed

Grip Button

Grip button pressed (under the middle finger)

Selection Button

Selection button pressed

Joystick X Axis

Joystick moved on X axis (transversal), value between 0 and 1

Joystick Y Axis

Joystick moved on Y axis (forward), value between 0 and 1

You can also use keyboard inputs. Type the input letter to find the event.

[IMAGE: Controller input events — original at /pictures/all_v1.11_skyreal_experience-customization_event-pie-menu.png]

Part Interaction Events

You can add specific events for every part accessible from your blueprint (using variables of type Skr Part). These events are accessible in the Details tab of the variable.

[IMAGE: Actor events panel — original at /pictures/all_v1.11_skyreal_experience-customization_actor-events.png]

Event

Description

Begin Overlap

Triggered when another actor begins to overlap. Useful for detecting user position

On Clicked

Triggered when the actor is clicked with a mouse. Warning: Does not work with VR lasers

Custom Events

You can bind actions to specific events using a custom event.

[IMAGE: Custom event binding — original at /pictures/all_v1.12_skyreal_experience_customization_custom_event_binding.png]

Unreal Events

Event

Description

Bind to On Clicked

Custom event executes when the connected part is clicked

Bind to On Overlap

Custom event executes when the connected part overlaps another part

Skyreal VR Events

Event

Description

On VR Status Changed

Executes when you enter or exit VR in Skyreal VR

On Feature Snapped

Executes when a part is snapped to its snap point

On Controller Ready

Executes when the Skr controller is ready to use (necessary for using the Skr framework controller)

On World Changed

Executes when a user swaps between Visible/Hidden/Trash worlds