This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
GvrBasePointer.PointerRay
Represents a ray segment for a series of intersecting rays.
Summary
This is useful for Hybrid raycast mode, which uses two sequential rays.
Public attributes
|
distance
|
float
Distance that this ray extends to.
|
distanceFromStart
|
float
The distance along the pointer from the origin of the first ray to this ray.
|
ray
|
Ray
The ray for this segment of the pointer.
|
Public attributes
distance
float GvrBasePointer::PointerRay::distance
Distance that this ray extends to.
distanceFromStart
float GvrBasePointer::PointerRay::distanceFromStart
The distance along the pointer from the origin of the first ray to this ray.
ray
Ray GvrBasePointer::PointerRay::ray
The ray for this segment of the pointer.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["`GvrBasePointer.PointerRay` represents a segment of a ray, particularly useful for Hybrid raycast mode which utilizes two sequential rays."],["It includes attributes like `distance`, `distanceFromStart`, and `ray` to define the ray segment's properties within the overall pointer's trajectory."],["These attributes provide information about the ray segment's length, its position relative to the starting point of the pointer, and the actual ray itself for intersection calculations."]]],["`PointerRay` represents a ray segment used in hybrid raycast mode, which employs two sequential rays. It holds information about each ray segment, including its `distance` (how far it extends), `distanceFromStart` (position relative to the first ray's origin), and the `ray` itself. These attributes define the characteristics of a specific ray segment within a series of intersecting rays.\n"]]