| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRPointerInputComponent.h |
Include |
#include "GoogleVRPointerInputComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=(GoogleVRController), Meta=(BlueprintSpawnableComponent))
class UGoogleVRPointerInputComponent : public UActorComponent
GoogleVRPointerInputComponent is used to interact with Actors and Widgets by using a 3D pointer. The pointer can be a cardboard reticle, or a daydream controller.
Name | Description | ||
---|---|---|---|
|
float |
FarClippingDistance |
The maximum distance an object can be from the start of the pointer for the pointer to hit it. |
|
LatestHitResult |
||
|
float |
NearClippingDistance |
The minimum distance an object needs to be from the camera for the pointer to hit it. |
|
OnPointerClickActorEvent |
Event that occurs once when the pointer is clicked. |
|
|
OnPointerClickComponentEvent |
Event that occurs once when the pointer is clicked. |
|
|
OnPointerEnterActorEvent |
Event that occurs when the pointer enters an actor. |
|
|
OnPointerEnterComponentEvent |
Event that occurs when the pointer enters a component. |
|
|
OnPointerExitActorEvent |
Event that occurs when the pointer exits an actor. |
|
|
OnPointerExitComponentEvent |
Event that occurs when the pointer exits a component. |
|
|
OnPointerHoverActorEvent |
Event that occurs once when the pointer is hovering over an actor. |
|
|
OnPointerHoverComponentEvent |
Event that occurs once when the pointer is hovering over a component. |
|
|
OnPointerPressedEvent |
Event that occurs once when the pointer initiates a click. |
|
|
OnPointerReleasedEvent |
Event that occurs once when the pointer ends a click. |
|
|
Pointer |
||
|
UseControllerClick |
Determines if pointer clicks will occur from controller clicks. |
|
|
UseTouchClick |
Determines if pointer clicks will occur from touching the screen. |
|
|
WidgetInteraction |
WidgetInteractionComponent used to integrate pointer input with UMG widgets. |
Name | Description | |
---|---|---|
|
UGoogleVRPointerInputComponent ( |
Name | Description | ||
---|---|---|---|
|
AActor * |
GetHitActor() |
The actor that is being pointed at. |
|
UPrimitiveCo... |
GetHitComponent() |
The component that the actor being pointed at. |
|
GetIntersectionLocation() |
The world location where the pointer intersected with the hit actor. |
|
|
GetLatestHitResult() |
Get the result of the latest hit detection. |
|
|
TScriptInter... |
GetPointer() |
Get the Pointer being used for this input component. |
|
IsBlockingHit() |
Returns true if there was a blocking hit. |
|
|
PerformHitDetection() |
Override if you desire to change the hit detection behavior. |
|
|
PostHitDetection() |
Override if you desire to do any additional processing of the hits. |
|
|
SetPointer ( |
Set the Pointer to use for this input component. |
Name | Description | ||
---|---|---|---|
|
BeginPlay() |
Begins Play for the component. |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |