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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss