Added ModelElement type
This commit is contained in:
30
vr-configurator/Assets/Scripts/Models/ModelElement.cs
Normal file
30
vr-configurator/Assets/Scripts/Models/ModelElement.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 549e976b6bfe4d498d70a6e8bb549319
|
||||
timeCreated: 1749227160
|
||||
Reference in New Issue
Block a user