Click or drag to resize
Ab4d.SharpEngine logo

NamedModelNodesEventsSource Class

NamedModelNodesEventsSource class is used to register ModelNode objects by their name. It is also possible to use wildcard name that is defined when the name starts with * or end with *. For example, "Box*" matches all ModelNodes whose name start with "Box"; "*_blue" matches all ModelNodes whose name ends with "_blue".
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesInputEventsSource
    Ab4d.SharpEngine.UtilitiesNamedModelNodesEventsSource

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public sealed class NamedModelNodesEventsSource : InputEventsSource

The NamedModelNodesEventsSource type exposes the following members.

Constructors
 NameDescription
Public methodNamedModelNodesEventsSource Constructor
Top
Properties
 NameDescription
Public propertyComparisonType Gets or sets string comparision type. Default value is StringComparison.Ordinal.
Public propertyModelNodeName Gets or sets a string that specifies the ModelNode objects by their name. It is also possible to use wildcard name that is defined when the name starts with * or end with *. For example, "Box*" matches all ModelNodes whose name start with "Box"; "*_blue" matches all ModelNodes whose name ends with "_blue".
Top
Methods
 NameDescription
Public methodIsMySceneNode Method that is called from InputEventsManager to check if this EventSource contains hitSceneNode
(Overrides InputEventsSourceIsMySceneNode(SceneNode))
Top
See Also