|
cesium-native 0.55.0
|
Data describing a hit from a ray / gltf intersection test. More...
#include <CesiumGltfContent/GltfUtilities.h>
Public Attributes | |
| glm::dvec3 | primitivePoint = {} |
| Hit point in primitive space. | |
| glm::dmat4x4 | primitiveToWorld = {} |
| Transformation from primitive to world space. | |
| glm::dvec3 | worldPoint = {} |
| Hit point in world space. | |
| double | rayToWorldPointDistanceSq = -1.0 |
| Square dist from intersection ray origin to world point. | |
| int32_t | meshId = -1 |
| ID of the glTF mesh that was hit. | |
| int32_t | primitiveId = -1 |
| ID of the glTF primitive that was hit. | |
Data describing a hit from a ray / gltf intersection test.
Definition at line 286 of file GltfUtilities.h.
| int32_t CesiumGltfContent::GltfUtilities::RayGltfHit::meshId = -1 |
ID of the glTF mesh that was hit.
Definition at line 310 of file GltfUtilities.h.
| int32_t CesiumGltfContent::GltfUtilities::RayGltfHit::primitiveId = -1 |
ID of the glTF primitive that was hit.
Definition at line 315 of file GltfUtilities.h.
| glm::dvec3 CesiumGltfContent::GltfUtilities::RayGltfHit::primitivePoint = {} |
Hit point in primitive space.
Definition at line 290 of file GltfUtilities.h.
| glm::dmat4x4 CesiumGltfContent::GltfUtilities::RayGltfHit::primitiveToWorld = {} |
Transformation from primitive to world space.
Definition at line 295 of file GltfUtilities.h.
| double CesiumGltfContent::GltfUtilities::RayGltfHit::rayToWorldPointDistanceSq = -1.0 |
Square dist from intersection ray origin to world point.
Definition at line 305 of file GltfUtilities.h.
| glm::dvec3 CesiumGltfContent::GltfUtilities::RayGltfHit::worldPoint = {} |
Hit point in world space.
Definition at line 300 of file GltfUtilities.h.