private SceneNode InsertNode(SceneNode node) { SmartInsertionPoint smartInsertionPoint = SmartInsertionPoint.From(this.InsertionPoint); if (smartInsertionPoint == null) { return((SceneNode)null); } smartInsertionPoint.Insert(node); return(node); }
private SceneNode InsertBehavior(BehaviorNode behaviorNode) { SmartInsertionPoint smartInsertionPoint = SmartInsertionPoint.From(this.InsertionPoint); if (smartInsertionPoint == null) { return((SceneNode)null); } smartInsertionPoint.Insert((SceneNode)behaviorNode); return((SceneNode)behaviorNode); }