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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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