<!--
{
  "documentType" : "article",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Ray3D/Primitive3DProtocol-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Primitive3DProtocol Implementations"
}
-->

# Primitive3DProtocol Implementations

## Topics

### Instance Properties

[`var isFinite: Bool`](/documentation/Spatial/Ray3D/isFinite)

A Boolean value that indicates whether all of the values of the ray are finite.

[`var isNaN: Bool`](/documentation/Spatial/Ray3D/isNaN)

A Boolean value that indicates whether the ray contains any NaN values.

[`var isZero: Bool`](/documentation/Spatial/Ray3D/isZero)

A Boolean value that indicates whether all of the values of the ray are zero.

### Instance Methods

[`func apply(Pose3D)`](/documentation/Spatial/Ray3D/apply(_:))

Applies the specified pose to the ray.

[`func applying(AffineTransform3D) -> Ray3D`](/documentation/Spatial/Ray3D/applying(_:)-337n0)

Returns a ray that results from applying the specified affine transform.

[`func applying(Pose3D) -> Ray3D`](/documentation/Spatial/Ray3D/applying(_:)-34rqi)

Returns a ray that results from applying the specified pose.

[`func unapplying(ProjectiveTransform3D) -> Ray3D`](/documentation/Spatial/Ray3D/unapplying(_:)-6tj2w)

Returns a ray that results from unapplying the specified projective transform.

[`func unapplying(AffineTransform3D) -> Ray3D`](/documentation/Spatial/Ray3D/unapplying(_:)-7bc37)

Returns a ray that results from unapplying the specified affine transform.

[`func unapplying(Pose3D) -> Ray3D`](/documentation/Spatial/Ray3D/unapplying(_:)-928o9)

Unapplies the specified pose to the ray.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)