Added ModelElement type

This commit is contained in:
FlorianSpeicher
2025-06-06 19:07:51 +02:00
parent c8520286fa
commit c516ace722
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System.Collections.Generic;
using UnityEngine;
public class ModelElement
{
public string Port {set; get;}
public string NameHuman {set; get;}
public string NameId {set; get;}
public Material Mats {set; get;}
public Vector3 Offset {set; get;}
public Quaternion Rotation {set; get;}
public Vector3 Scale {set; get;}
public List<Port> Ports {set; get;}
public List<Color> Colors {set; get;}
public ModelElement(string port, string nameHuman, string nameId, Material mats, Vector3 offset,
Quaternion rotation, Vector3 scale, List<Port> ports, List<Color> colors)
{
Port = port;
NameHuman = nameHuman;
NameId = nameId;
Mats = mats;
Offset = offset;
Rotation = rotation;
Scale = scale;
Ports = ports;
Colors = colors;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 549e976b6bfe4d498d70a6e8bb549319
timeCreated: 1749227160