Click or drag to resize
Ab4d.SharpEngine logo

SubMeshHitTestResult(Vector3, SceneNode, Single, Int32) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public SubMeshHitTestResult(
	Vector3 hitPosition,
	SceneNode hitSceneNode,
	float distanceToRayOrigin,
	int subMeshIndex
)

Parameters

hitPosition  Vector3
Vector3 that specifies hit position
hitSceneNode  SceneNode
hit SceneNode
distanceToRayOrigin  Single
Distance to the ray's origin
subMeshIndex  Int32
Index of hit SubMesh
See Also