SCNPhysicsWorld.RayTestWithSegmentFromPoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RayTestWithSegmentFromPoint(SCNVector3, SCNVector3, NSDictionary) | |
| RayTestWithSegmentFromPoint(SCNVector3, SCNVector3, SCNPhysicsTest) |
RayTestWithSegmentFromPoint(SCNVector3, SCNVector3, NSDictionary)
[Foundation.Export("rayTestWithSegmentFromPoint:toPoint:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual SceneKit.SCNHitTestResult[] RayTestWithSegmentFromPoint(SceneKit.SCNVector3 origin, SceneKit.SCNVector3 dest, Foundation.NSDictionary? options);
[<Foundation.Export("rayTestWithSegmentFromPoint:toPoint:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RayTestWithSegmentFromPoint : SceneKit.SCNVector3 * SceneKit.SCNVector3 * Foundation.NSDictionary -> SceneKit.SCNHitTestResult[]
override this.RayTestWithSegmentFromPoint : SceneKit.SCNVector3 * SceneKit.SCNVector3 * Foundation.NSDictionary -> SceneKit.SCNHitTestResult[]
Parameters
- origin
- SCNVector3
- dest
- SCNVector3
- options
- NSDictionary
Returns
- Attributes
Applies to
RayTestWithSegmentFromPoint(SCNVector3, SCNVector3, SCNPhysicsTest)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public SceneKit.SCNHitTestResult[] RayTestWithSegmentFromPoint(SceneKit.SCNVector3 origin, SceneKit.SCNVector3 dest, SceneKit.SCNPhysicsTest? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.RayTestWithSegmentFromPoint : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNPhysicsTest -> SceneKit.SCNHitTestResult[]
Parameters
- origin
- SCNVector3
- dest
- SCNVector3
- options
- SCNPhysicsTest
Returns
- Attributes