Files
UnrealEngineUWP/Engine/Documentation/Source/Resources/ContentExamples/MouseInterface/MouseInterface.INT.udn
Ben Marsh 49831a5631 Include documentation source in repository.
[CL 2489162 by Ben Marsh in Main branch]
2015-03-24 08:35:52 -04:00

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]
![%Resources/ContentExamples/MouseInterface:title%](MouseInterfaceTopic.png)
[/PARAM]
[PARAM:icon]
![](%ROOT%/gameplay_icon.png)(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]
![%Resources/ContentExamples/MouseInterface:title%](MouseInterfaceTopic.png)
[/PARAM]
[PARAM:icon]
![](%ROOT%/gameplay_icon.png)(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]
![](MouseInterfaceTitle.png)
[/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.
![](MouseInterfaceGame.png)(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]
![](SetupImage.png)
[/PARAM]
[PARAM:title]
Setting Up Mouse Interaction
[/PARAM]
[PARAM:path]
[RELATIVE:Resources\ContentExamples\MouseInterface\MouseControlSetup]
[/PARAM]
[/OBJECT]
[OBJECT:TopicCompact]
[PARAM:image]
![](LevelBlueprintImage.png)
[/PARAM]
[PARAM:title]
Level Blueprint
[/PARAM]
[PARAM:path]
[RELATIVE:Resources\ContentExamples\MouseInterface\LevelBlueprint]
[/PARAM]
[/OBJECT]
[OBJECT:TopicCompact]
[PARAM:image]
![](BlueprintSetupImage.png)
[/PARAM]
[PARAM:title]
Blueprint Actors
[/PARAM]
[PARAM:path]
[RELATIVE:Resources\ContentExamples\MouseInterface\BlueprintActors]
[/PARAM]
[/OBJECT]
[OBJECT:TopicCompact]
[PARAM:image]
![](Cursors.png)
[/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)