Click or drag to resize
Ab4d.SharpEngine logo

SubMeshHitTestResult Class

SubMeshHitTestResult class provides result of a ray hit test that is executed on MultiMaterialModelNode and provides an additional SubMeshIndex property.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CommonHitTestResult
    Ab4d.SharpEngine.CommonRayHitTestResult
      Ab4d.SharpEngine.CommonSubMeshHitTestResult

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class SubMeshHitTestResult : RayHitTestResult

The SubMeshHitTestResult type exposes the following members.

Constructors
Methods
 NameDescription
Public methodIsSameObject Returns true when the other HitTestResult represents the same object. When false is returned then new MouseLeave and MouseEnter events will be triggered.
(Overrides HitTestResultIsSameObject(HitTestResult))
Public methodToString
(Overrides RayHitTestResultToString)
Top
Fields
 NameDescription
Public fieldSubMeshIndex Index of SubMesh in the hit MultiMaterialModelNode object.
Top
See Also