private SceneNode InsertNode(SceneNode node)
        {
            SmartInsertionPoint smartInsertionPoint = SmartInsertionPoint.From(this.InsertionPoint);

            if (smartInsertionPoint == null)
            {
                return((SceneNode)null);
            }
            smartInsertionPoint.Insert(node);
            return(node);
        }
示例#2
0
        private SceneNode InsertBehavior(BehaviorNode behaviorNode)
        {
            SmartInsertionPoint smartInsertionPoint = SmartInsertionPoint.From(this.InsertionPoint);

            if (smartInsertionPoint == null)
            {
                return((SceneNode)null);
            }
            smartInsertionPoint.Insert((SceneNode)behaviorNode);
            return((SceneNode)behaviorNode);
        }