UGoogleVRLaserVisual

Copyright 2017 Google Inc.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GoogleVRController

Header

/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRLaserVisual.h

Include

#include "GoogleVRLaserVisual.h"

Syntax

UCLASS(Abstract)
class UGoogleVRLaserVisual : public USceneComponent

Remarks

Copyright 2017 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. IGoogleVRLaserVisual is an interface for visual representation used with UGoogleVRLaserVisualComponent.

Constructors

Name Description

Public function

UGoogleVRLaserVisual

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

float

 

GetDefaultReticleDistance

(
    float WorldToMetersScale
)

Public function Virtual Const

UMaterialIns...

 

GetLaserMaterial()

Public function Virtual Const

float

 

GetMaxPointerDistance

(
    float WorldToMetersScale
)

Public function Virtual

FVector

 

GetReticleLocation()

Public function Virtual

float

 

GetReticleSize()

Public function Virtual Const

FMaterialSpr...

 

GetReticleSprite()

Public function Virtual

void

 

SetDefaultLaserDistance

(
    float WorldToMetersScale
)

Public function Virtual

void

 

SetDefaultReticleDistance

(
    float WorldToMetersScale,
    FVector CameraLocation
)

Public function Virtual

void

 

SetPointerDistance

(
    float Distance,
    float WorldToMetersScale,
    FVector CameraLocation
)

Public function Virtual

void

 

SetSubComponentsEnabled

(
    bool bNewEnabled
)

Public function Virtual

void

 

UpdateLaserCorrection

(
    FVector Correction
)

Public function Virtual

void

 

UpdateLaserDistance

(
    float Distance,
    float WorldToMetersScale
)

Public function Virtual

void

 

UpdateReticleDistance

(
    float Distance,
    float WorldToMetersScale,
    FVector CameraLocation
)

Public function Virtual

void

 

UpdateReticleLocation

(
    FVector Location,
    FVector OriginLocation,
    float WorldToMetersScale,
    FVector CameraLocation
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback