|
cesium-native 0.67.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 309 of file GltfUtilities.h.
| int32_t CesiumGltfContent::GltfUtilities::RayGltfHit::meshId = -1 |
ID of the glTF mesh that was hit.
Definition at line 333 of file GltfUtilities.h.
| int32_t CesiumGltfContent::GltfUtilities::RayGltfHit::primitiveId = -1 |
ID of the glTF primitive that was hit.
Definition at line 338 of file GltfUtilities.h.
| glm::dvec3 CesiumGltfContent::GltfUtilities::RayGltfHit::primitivePoint = {} |
Hit point in primitive space.
Definition at line 313 of file GltfUtilities.h.
| glm::dmat4x4 CesiumGltfContent::GltfUtilities::RayGltfHit::primitiveToWorld = {} |
Transformation from primitive to world space.
Definition at line 318 of file GltfUtilities.h.
| double CesiumGltfContent::GltfUtilities::RayGltfHit::rayToWorldPointDistanceSq = -1.0 |
Square dist from intersection ray origin to world point.
Definition at line 328 of file GltfUtilities.h.
| glm::dvec3 CesiumGltfContent::GltfUtilities::RayGltfHit::worldPoint = {} |
Hit point in world space.
Definition at line 323 of file GltfUtilities.h.