Gets the actor node. The actor. Found actor node or null if missing. Actor may not be linked to the scene tree so node won't be found in that case.
(Actor actor)
| 711 | /// <param name="actor">The actor.</param> |
| 712 | /// <returns>Found actor node or null if missing. Actor may not be linked to the scene tree so node won't be found in that case.</returns> |
| 713 | public ActorNode GetActorNode(Actor actor) |
| 714 | { |
| 715 | if (actor == null) |
| 716 | return null; |
| 717 | |
| 718 | // ActorNode has the same ID as actor does |
| 719 | return SceneGraphFactory.FindNode(actor.ID) as ActorNode; |
| 720 | } |
| 721 | |
| 722 | /// <summary> |
| 723 | /// Gets the actor node. |
no test coverage detected