SwiftfuncGeometryGeometry.BVH3

raycast

method descriptor for Geometry.BVH3.raycast(ray: A.Ray3Type, intersectFunction: (UInt32, A.Ray3Type) -> A.Scalar?) -> (t: A.Scalar, primitive: UInt32)?

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

A

param{}

  1. 0ray:
    associatedTypeRay3Type
    • basegenericParameterA
  2. 1intersectFunction:
    function(UInt32, A.Ray3Type) -> A.Scalar?
    • paramstructSwift.UInt32
    • paramassociatedTypeRay3Type
      • basegenericParameterA
    • returnsenumSwift.Optional
      • argassociatedTypeScalar
        • basegenericParameterA

result{}

  • argtuple(t: A.Scalar, primitive: UInt32)
    • element t:associatedTypeScalar
      • basegenericParameterA
    • element primitive:structSwift.UInt32