예제 #1
0
        public override object GetClassFrom(JMXStructure Structure)
        {
            PrimMeshGroup obj = new PrimMeshGroup()
            {
                Name        = (string)((JMXAttribute)Structure.Childs[0]).Value,
                MeshIndices = ((JMXStructure)Structure.Childs[1]).GetChildList <int>()
            };

            return(obj);
        }
예제 #2
0
 public CPrimMeshGroupVM(string Name, PrimMeshGroup MeshGroup) : base(Name, true)
 {
     Childs.Add(new JMXAttribute("Name", MeshGroup.Name));
     AddChildArray("MeshSet.Indexes", MeshGroup.MeshIndices.ToArray(), true, true);
 }