BaseObjectCollection.ContainsNode Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ContainsNode(Transform) |
Check if a node exists in the NodeList. |
ContainsNode(Transform, Int32) |
Check if a node exists in the NodeList. |
Check if a node exists in the NodeList.
protected:
bool ContainsNode(UnityEngine::Transform ^ node);
protected bool ContainsNode (UnityEngine.Transform node);
member this.ContainsNode : UnityEngine.Transform -> bool
Protected Function ContainsNode (node As Transform) As Boolean
Parameters
- node
- UnityEngine.Transform
The Transform belonging to the ObjectCollectionNode
Returns
true when node
belongs to an element of the list.
Applies to
MRTK2 Unity 2018 2.7.0 et autres versions
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
Check if a node exists in the NodeList.
protected:
bool ContainsNode(UnityEngine::Transform ^ node, [Runtime::InteropServices::Out] int % nodeIndex);
public:
bool ContainsNode(UnityEngine::Transform ^ node, [Runtime::InteropServices::Out] int % nodeIndex);
protected bool ContainsNode (UnityEngine.Transform node, out int nodeIndex);
public bool ContainsNode (UnityEngine.Transform node, out int nodeIndex);
member this.ContainsNode : UnityEngine.Transform * int -> bool
Protected Function ContainsNode (node As Transform, ByRef nodeIndex As Integer) As Boolean
Public Function ContainsNode (node As Transform, ByRef nodeIndex As Integer) As Boolean
Parameters
- node
- UnityEngine.Transform
The Transform belonging to ObjectCollectionNode
Returns
true when node
belongs to an element of the list.
Applies to
MRTK2 Unity 2018 2.7.0 et autres versions
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |