Click or drag to resize
Ab4d.SharpEngine logo

SceneHitTestSceneNode Method

Returns RayHitTestResult if the specified ray hits the specified sceneNode. Otherwise, null is returned. Child SceneNodes are not tested.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public RayHitTestResult? HitTestSceneNode(
	Ray ray,
	SceneNode sceneNode,
	HitTestOptions? customHitTestOptions = null
)

Parameters

ray  Ray
Ray object that defines the ray that is used for hit testing
sceneNode  SceneNode
tested SceneNode
customHitTestOptions  HitTestOptions  (Optional)
Optional HitTestOptions that will be used for this hit test. When null (by default), then DefaultHitTestOptions will be used.

Return Value

RayHitTestResult
RayHitTestResult if the specified ray hits the specified sceneNode. Otherwise, null is returned
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Scene.HitTestSceneNode(Ab4d.SharpEngine.Common.Ray,Ab4d.SharpEngine.SceneNodes.SceneNode,Ab4d.SharpEngine.Common.HitTestOptions)"]

See Also