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."],[[["\u003cp\u003e\u003ccode\u003eGvrBasePointer.PointerRay\u003c/code\u003e represents a segment of a ray, particularly useful for Hybrid raycast mode which utilizes two sequential rays.\u003c/p\u003e\n"],["\u003cp\u003eIt includes attributes like \u003ccode\u003edistance\u003c/code\u003e, \u003ccode\u003edistanceFromStart\u003c/code\u003e, and \u003ccode\u003eray\u003c/code\u003e to define the ray segment's properties within the overall pointer's trajectory.\u003c/p\u003e\n"],["\u003cp\u003eThese 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.\u003c/p\u003e\n"]]],["`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"],null,[]]