You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
135 lines
3.0 KiB
Plaintext
135 lines
3.0 KiB
Plaintext
Availability: Public
|
|
Title:Mouse Interface
|
|
Crumbs:%ROOT%, Resources
|
|
Description:An overview and breakdown of the Mouse Interaction.
|
|
|
|
|
|
[VAR:Topic]
|
|
[OBJECT:Topic]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:icon]
|
|
(convert:false)
|
|
[/PARAM]
|
|
[PARAM:title]
|
|
%Resources/ContentExamples/MouseInterface:title%
|
|
[/PARAM]
|
|
[PARAM:description]
|
|
%Resources/ContentExamples/MouseInterface:description%
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources/ContentExamples/MouseInterface]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
[/VAR]
|
|
|
|
|
|
[VAR:TopicCompact]
|
|
[OBJECT:TopicCompact]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:icon]
|
|
(convert:false)
|
|
[/PARAM]
|
|
[PARAM:title]
|
|
%Resources/ContentExamples/MouseInterface:title%
|
|
[/PARAM]
|
|
[PARAM:description]
|
|
%Resources/ContentExamples/MouseInterface:description%
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources/ContentExamples/MouseInterface]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
[/VAR]
|
|
|
|
|
|
[REGION:fullwidth]
|
|

|
|
[/REGION]
|
|
|
|
[TOC(start:2 end:2)]
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
The Mouse Interface example demonstrates how to utilize mouse or touch inputs in your games. The level, which is pretty simple in terms of play and execution, consists of an array of spheres with a cube that tracks back and forth behind them.
|
|
|
|
|
|
(w:400)
|
|
|
|
|
|
|
|
Interaction can be broken down as follows:
|
|
|
|
* Hovering the mouse over any of the spheres will change its Material - this demonstrates hover (mouse-over) functionality.
|
|
* Clicking and dragging on a sphere will cause it to follow the cursor, allowing spheres to be moved around the level. This is also true of touch events from a mobile device.
|
|
* Clicking on the box in the background plays and stops a Matinee sequence, which causes the box to move back and forth behind the spheres.
|
|
|
|
|
|
|
|
[REGION:topics fourth]
|
|
|
|
[OBJECT:TopicCompact]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:title]
|
|
Setting Up Mouse Interaction
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources\ContentExamples\MouseInterface\MouseControlSetup]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
|
|
[OBJECT:TopicCompact]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:title]
|
|
Level Blueprint
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources\ContentExamples\MouseInterface\LevelBlueprint]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
|
|
[OBJECT:TopicCompact]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:title]
|
|
Blueprint Actors
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources\ContentExamples\MouseInterface\BlueprintActors]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
|
|
[OBJECT:TopicCompact]
|
|
[PARAM:image]
|
|

|
|
[/PARAM]
|
|
[PARAM:title]
|
|
Settings and Cursors
|
|
[/PARAM]
|
|
[PARAM:path]
|
|
[RELATIVE:Resources\ContentExamples\MouseInterface\SettingsAndCursors]
|
|
[/PARAM]
|
|
[/OBJECT]
|
|
[/REGION]
|
|
|
|
|
|
|
|
## Related Topics
|
|
|
|
* [](Engine/Blueprints)
|
|
* [](Engine/Blueprints\Editor)
|
|
* [](Engine/Blueprints\Editor\Modes\Components)
|
|
* [](Engine/Blueprints\Editor\Modes\Defaults)
|
|
* [](Engine/Blueprints\Editor\Modes\GraphPanel)
|
|
|