Switch-Toolbox/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/Base/BaseObjPt.cs

24 lines
586 B
C#
Raw Normal View History

2019-04-08 01:14:39 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
using System.ComponentModel;
using ByamlExt.Byaml;
namespace FirstPlugin.Turbo.CourseMuuntStructs
{
public class BaseObjPoint
{
[Browsable(false)]
public ByamlPathPoint Point { get; set; } = new ByamlPathPoint();
public BaseObjPoint(dynamic bymlNode)
{
if (bymlNode is ByamlPathPoint) Point = (ByamlPathPoint)bymlNode;
else throw new Exception("Not a ByamlPathPoint");
}
}
}