Beispiel #1
0
        public override SceneObject Create()
        {
            SceneObject o = Animatable.CreatePluginInstance <SceneObject>(scid, cid);
            Node        n = Node.Create(o);

            if (n == null)
            {
                throw new Exception("Failed to create object node");
            }
            o.Node = n;
            Kernel.RedrawViews();
            return(o);
        }
Beispiel #2
0
 public override Modifier Create()
 {
     return(Animatable.CreatePluginInstance <Modifier>(scid, cid));
 }
Beispiel #3
0
 public static Animatable Create(SuperClassID scid, ClassID cid)
 {
     return(Animatable.CreatePluginInstance <Animatable>(scid, cid));
 }