| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRGazeReticleComponent.h |
Include |
#include "GoogleVRGazeReticleComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=(GoogleVRController), Meta=(BlueprintSpawnableComponent))
class UGoogleVRGazeReticleComponent :
public USceneComponent,
public IGoogleVRPointer
GoogleVRGazeReticleComponent is a customizable reticle used to interact with actors and widgets by looking at them. Intended for use with Google Cardboard appliations.
This class integrates with GoogleVRPointerInputComponent so that the reticle can easily be used to interact with Actors and widgets.
Name | Description | ||
---|---|---|---|
|
Material |
Material used for the reticle. |
|
|
UStaticMesh ... |
Mesh |
Mesh used for the reticle. |
|
RequireInputComponent |
If true, then a GoogleVRInputComponent will automatically be created if one doesn't already exist. |
|
|
float |
ReticleDistanceMax |
Maximum distance of the reticle (in meters). |
|
float |
ReticleDistanceMin |
Minimum distance of the reticle (in meters). |
|
float |
ReticleGrowAngle |
Angle at which to expand the reticle when intersecting with an object (in degrees). |
|
float |
ReticleGrowSpeed |
Growth speed multiplier for the reticle when it is expanding & contracting. |
|
float |
ReticleInnerAngleMin |
Minimum inner angle of the reticle (in degrees). |
|
float |
ReticleOuterAngleMin |
Minimum outer angle of the reticle (in degrees). |
|
float |
ReticleSize |
A float to adjust the size of this reticle. |
Name | Description | |
---|---|---|
|
UGoogleVRGazeReticleComponent() |
Name | Description | ||
---|---|---|---|
|
Activate ( |
Activates the SceneComponent, should be overridden by native child classes. |
|
|
BeginPlay() |
Begins Play for the component. |
|
|
Deactivate() |
Deactivates the SceneComponent. |
|
|
OnRegister() |
ActorComponent Overrides |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
float |
GetDefaultReticleDistance() |
Returns the default distance to render the reticle when no collision is detected. |
|
GetDirection() |
Returns the normalized direction of the ray in world space. |
|
|
float |
GetMaxPointerDistance() |
Returns the max distance this ray will be rendered at from the camera. |
|
GetOrigin() |
Returns the origin of the ray in world space. |
|
|
EGoogleVRPoi... |
GetPointerInputMode() |
Return the method used to detect what the pointer hits. |
|
GetRadius ( |
Return the radius of the ray. |
|
|
IsPointerActive() |
Returns true if the pointer is active. |
|
|
OnPointerEnter ( |
IGoogleVRPointer Implementation |
|
|
OnPointerExit ( |
Called when the pointer stops hitting an actor. |
|
|
OnPointerHover ( |
Called every frame the pointer is pointing at an actor. |