TeleportAimHandlerLaser Class Reference
Inheritance diagram for TeleportAimHandlerLaser:

Public Member Functions | |
override void | GetPoints (List< Vector3 > points) |
Return the set of points that represent the aiming line. More... | |
Public Attributes | |
float | Range = 100 |
Maximum range for aiming. More... | |
Additional Inherited Members | |
![]() | |
override void | OnEnable () |
The LocomotionTeleport supports one aim handler at a time. Call the base OnEnable to make sure LocomotionTeleport is valid, then assign the current aim handler to this object. More... | |
override void | OnDisable () |
When this component is disabled, make sure to clear the LocomotionTeleport's aim handler but only if this is still the active handler. It's an unlikely edge case but it's more robust to make sure a different aim handler wasn't enabled before this was disabled. More... | |
![]() | |
virtual void | AddEventHandlers () |
Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are added as intended. More... | |
virtual void | RemoveEventHandlers () |
Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are removed as intended. More... | |
![]() | |
LocomotionTeleport | LocomotionTeleport [get] |
Member Function Documentation
◆ GetPoints()
|
virtual |
Return the set of points that represent the aiming line.
- Parameters
-
points
Implements TeleportAimHandler.
Member Data Documentation
◆ Range
float TeleportAimHandlerLaser.Range = 100 |
Maximum range for aiming.
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/Locomotion/Scripts/TeleportAimHandlerLaser.cs