# GARStreetscapeGeometryRaycastResult

The result returned from \|raycastStreetscapeGeometry:direction:error:\| containing the transform of the hit location, the distance from the camera, and the geometry which was hit.

## Summary

### Inheritance

Inherits from: `NSObject`

| ### Properties ||
|---|---|
| `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#distance` | `float` The distance between camera and intersection in meters. |
| `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#streetscapegeometry` | `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometry#interface_g_a_r_streetscape_geometry *` The instance of `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometry#interface_g_a_r_streetscape_geometry` that has an intersection with the ray. |
| `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#worldtransform` | `simd_float4x4` The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world. |

## Properties

### distance

```
@property(nonatomic, readonly) float https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#distance;
```
The distance between camera and intersection in meters.

### streetscapeGeometry

```
@property(nonatomic, readonly) https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometry#interface_g_a_r_streetscape_geometry *https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#streetscapegeometry;
```
The instance of `https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometry#interface_g_a_r_streetscape_geometry` that has an intersection with the ray.

### worldTransform

```
@property(nonatomic, readonly) simd_float4x4 https://developers.google.com/ar/reference/ios/interface/GARStreetscapeGeometryRaycastResult#worldtransform;
```
The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.